(cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --resultFile=../Buildings_latest_Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject_OMSimulator-cs-euler_res.mat --stripRoot --tempDir=temp_Buildings_latest_Buildings_Utilities_IO_Python_3_12_Functions_Examples_ExchangeWithPassPythonObject_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --mode=cs --timeout=240 --tolerance=1e-06 ../Buildings_latest_Buildings_Utilities_IO_Python_3_12_Functions_Examples_ExchangeWithPassPythonObject_OMSimulator-cs-euler.fmu) info: *** FMU Simulation Info *** - model : Buildings.Utilities.IO.Python_3_12.Functions.Examples.ExchangeWithPassPythonObject (co-simulation) - fmiVersion: 2.0 - startTime : 0.000000 - stopTime : 1.000000 - tolerance : 1e-06 - stepSize : 0.0004 LOG_ASSERT | debug | Failed to load "testFunctions". | | | | This may occur if you did not set the PYTHONPATH environment variable | | | | or if the Python module contains a syntax error. | | | | The error message is "(null)" error: [fmi2logger] [fmi2Error] ExchangeWithPassPythonObject/logFmi2Call: fmi2ExitInitializationMode: failed error: [initialize] fmi2_exitInitializationMode failed for FMU "ExchangeWithPassPythonObject.root.ExchangeWithPassPythonObject" error: [fmi2logger] [fmi2Error] ExchangeWithPassPythonObject/logStatusError: fmi2Terminate: Illegal co-simulation call sequence. fmi2Terminate is not allowed in model_state_error state. error: [terminate] Termination of system "ExchangeWithPassPythonObject" failed error: [terminate] Termination of system "ExchangeWithPassPythonObject.root" failed error: [initialize] Initialization of system "ExchangeWithPassPythonObject.root" failed Fatal Python error: _PyThreadState_Attach: non-NULL old thread state Python runtime state: initialized TypeError: expected bytes, str found Current thread 0x000077ecc8a387c0 [python3] (most recent call first): File "/home/hudson/saved_omc/OMSimulator/install/lib/x86_64-linux-gnu/OMSimulator/capi.py", line 269 in initialize File "/home/hudson/saved_omc/OMSimulator/install/lib/x86_64-linux-gnu/OMSimulator/fmu.py", line 885 in initialize File "/home/hudson/saved_omc/OMSimulator/install/lib/x86_64-linux-gnu/OMSimulator/cli.py", line 175 in _runFMU File "/home/hudson/saved_omc/OMSimulator/install/lib/x86_64-linux-gnu/OMSimulator/cli.py", line 309 in main File "/home/hudson/saved_omc/OMSimulator/install/lib/x86_64-linux-gnu/OMSimulator/__main__.py", line 38 in File "", line 88 in _run_code File "", line 198 in _run_module_as_main Extension modules: lxml._elementpath, lxml.etree (total: 2) Aborted (core dumped)