On the latest OMPython, when using ModelicaSystem class with custom packages installed in custom directory and loading a model inside these packages, I have an error due to the fact that ModelicaSystem init loads the file and then the library.
To solve this, I exchanged the loadFile and loadLibrary in the __init__.py file line 862
Now it looks like this
if fileName is not None:
self.loadLibrary(verbose)
self.loadFile(verbose)
On the latest OMPython, when using ModelicaSystem class with custom packages installed in custom directory and loading a model inside these packages, I have an error due to the fact that ModelicaSystem init loads the file and then the library.
To solve this, I exchanged the loadFile and loadLibrary in the
__init__.py
file line 862Now it looks like this