- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » FMU UnicodeDecodeError
FMU UnicodeDecodeError
FMU UnicodeDecodeError
After I reinstalled OpenModelica to a newer nigtly build - I get the following error, decoding it's fmu's: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xcd in position 24: invalid continuation byte
Previous versions worked properly.
Problem is not in a model, as even the simlest testing models give the same results.
How can I fix it?
Re: FMU UnicodeDecodeError
Is this on Windows or Linux? What do you mean by decoding the FMU?
- adrpo
- 885 Posts
Re: FMU UnicodeDecodeError
Ok. The problem might be in PyFMI while loading the FMU.
More questions:
What system do you have? 32bit? 64bit?
How did you installed PyFMI and FMIL?
- adrpo
- 885 Posts
Re: FMU UnicodeDecodeError
System is 64bit, PyFMI and FMlob were installed through conda and worked on the older version of openmodelica. Both the new and the old versions of openmodelcia are 64 bit. The old one was downloaded 28th of may 2018, the newer is 15th of october
Re: FMU UnicodeDecodeError
Thanks for the info. I'll give it a try on my system, see how it goes.
- adrpo
- 885 Posts
Re: FMU UnicodeDecodeError
Yes. I installed PyFMI via conda and tested with an OM FMU.
I get crashes in the sundials solver on both Windows and Linux and could not find out why yet.
The FMUs work fine in fmiChecker but they crash in python.
I suspect it might have something to do with stack alignment.
I even ran this in valgrind in Linux but got no clear idea what the problem is.
I will continue debugging this.
- adrpo
- 885 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » FMU UnicodeDecodeError