Model doesnt work in ModelicaSystem API but in OMCSession
Dear OMPython Team,
I made minor adjustments in my Modelica.mo and my Python Code that uses the API stopped working with this Error message:
...
Error: Error building simulator. Build log: mingw32-make: Entering directory 'C:///AppData/Local/Temp/TMP8RY~1'
....
mingw32-make: *** [
and the error in Python: Exception: Error: Application file path not found: C://*/AppData/Local/Temp/tmp8ryyccwo/Modelica.Model.exe
If i use OMC to simulate the Model it does work but is really slow (5.5 seconds) versus in OpenModelica (60ms).
I uses Python 3.12, the latest OMPython version and OpenModelica v.1.23.1
Thanks a lot!
with best regards