Simulation setup
To simulate FMU `CauerLowPassAnalog.fmu` with OMSimulator run ```bash $ /var/lib/jenkins2/ws/Sandbox/Andreas/OMSimulator-FMI-Cross-Check/OMSimulatorBinaries/OMSimulator-linux-amd64/bin/OMSimulator --workingDir=/var/lib/jenkins2/ws/Sandbox/Andreas/OMSimulator-FMI-Cross-Check/OMSimulator/testsuite/fmi-cross-check/fmi-cross-check/results/2.0/cs/linux64/OMSimulator/v2.1.1/JModelica.org/1.15/CauerLowPassAnalog --stripRoot=true --skipCSVHeader=true --addParametersToCSV=true --suppressPath=true --timeout=60 /var/lib/jenkins2/ws/Sandbox/Andreas/OMSimulator-FMI-Cross-Check/OMSimulator/testsuite/fmi-cross-check/fmi-cross-check/results/2.0/cs/linux64/OMSimulator/v2.1.1/JModelica.org/1.15/CauerLowPassAnalog/CauerLowPassAnalog.lua ``` Lua file: ```lua -- lua file for CauerLowPassAnalog.fmu oms_setTempDirectory('/tmp/cross-check') oms_newModel('model') oms_addSystem('model.root', oms_system_wc) -- instantiate FMU oms_addSubModel('model.root.fmu', 'CauerLowPassAnalog.fmu') -- simulation settings oms_setResultFile('model', 'CauerLowPassAnalog_out.csv') oms_setLoggingInterval('model', 0.12) oms_setStartTime('model', 0.0) oms_setStopTime('model', 60.0) oms_setTolerance('model', 1e-06, 0.0001) oms_setFixedStepSize('model', 0.01) -- instantiate, initialize and simulate oms_instantiate('model') oms_initialize('model') oms_simulate('model') oms_terminate('model') oms_delete('model') ``` See the [OMSimulator documentation](https://openmodelica.org/doc/OMSimulator/master/html/index.html) for more information.
Stdout:
info: 0 warnings info: 6 errors
Stderr:
error: [fmiLogger] module FMICAPI: Could not load the FMU binary: libgfortran.so.3: cannot open shared object file: No such file or directory error: [instantiate] Could not load "resources/0001_fmu.fmu" which is associated with "model.root.fmu"; it may be corrupted or may not support your platform error: [initialize] Model "model" is in wrong model state error: [simulate] Model "model" is in wrong model state error: [terminate] Model "model" is in wrong model state error: [terminate] Model "model" is in wrong model state