Open AnHeuermann opened 10 months ago
In 99% of the cases, this is because the FMU errored before FMI.jl errors. The FMU itself can control the state machine (e.g. when to enter the event mode). If there is a error thrown and the FMU is inresponsive (returns old return codes), this machinery breaks...
Please try enable message printing during the export procedure of the FMU and enable debug message priniting via these instructions.
EDIT: However, I will improve the error message (in any case).
I have a FMU that is crashing when simulating with FMI.jl The FMU can be simulated with OMSimulator.
How to reproduce
Build 2.0 FMU
Buildings.Applications.DataCenters.ChillerCooled.Examples.IntegratedPrimaryLoadSideEconomizer
with OpenModelica or download pre-build FMUs and change .zip to .fmu:Buildings.Applications.DataCenters.ChillerCooled.Examples.IntegratedPrimaryLoadSideEconomizer.zip (Linux)
(Currently only a Linux FMU is available, the Windows one is broken because of too long file path names ...)
error.log