python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.Systems.HVAC.Production.WoodHeating.Examples.MozartWoodStove_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1200 BuildSysPro_BuildSysPro_Systems_HVAC_Production_WoodHeating_Examples_MozartWoodStove.fmu LOG_STDOUT | info | ... loading "data" from "/tmp/tmpgyyydbx1/resources/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Resources/Donnees/Meteos/RT2012/H1a.txt" LOG_STDOUT | info | ... loading "data" from "/tmp/tmpgyyydbx1/resources/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Resources/Donnees/Meteos/RT2012/H1a.txt" LOG_STDOUT | info | ... loading "data2" from "/tmp/tmpgyyydbx1/resources/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Resources/Donnees/Scenarios/ConsigneChauffageRT2012.txt" LOG_ASSERT | debug | division by zero at time 0, (a=-0) / (b=0), where divisor b expression is: if poelAvecRegulation.pB50_stove.mB < 0.1 and cas1aAvecFlux1.noeudAir.VolAir.T <= const.k - poelAvecRegulation.pB50_controller.dT_seuil_N then 1.0 else 0.0 Traceback (most recent call last): File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main return _run_code(code, main_globals, None, File "/usr/lib/python3.10/runpy.py", line 86, in _run_code exec(code, run_globals) File "/usr/local/lib/python3.10/dist-packages/fmpy/__main__.py", line 4, in main() File "/usr/local/lib/python3.10/dist-packages/fmpy/command_line.py", line 167, in main result = simulate_fmu(args.fmu_filename, File "/usr/local/lib/python3.10/dist-packages/fmpy/simulation.py", line 759, in simulate_fmu result = simulateME(model_description, fmu, start_time, stop_time, solver, step_size, relative_tolerance, start_values, apply_default_start_values, input, output, output_interval, record_events, timeout, step_finished, validate, set_stop_time) File "/usr/local/lib/python3.10/dist-packages/fmpy/simulation.py", line 944, in simulateME nextEventTime) = fmu.newDiscreteStates() File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 476, in newDiscreteStates self.fmi2NewDiscreteStates(self.component, byref(eventInfo)) File "/usr/local/lib/python3.10/dist-packages/fmpy/fmi2.py", line 215, in w raise FMICallException(function=fname, status=res) fmpy.fmi1.FMICallException: fmi2NewDiscreteStates failed with status 3 (error).