Simulation setup
To simulate FMU `Pendulum.fmu` with OMSimulator run ```bash $ wine64 /var/lib/jenkins/ws/Sandbox/Andreas/OMSimulator-FMI-Cross-Check/OMSimulatorBinaries/OMSimulator-mingw64/bin/OMSimulator.exe --workingDir=/var/lib/jenkins/ws/Sandbox/Andreas/OMSimulator-FMI-Cross-Check/OMSimulator/testsuite/fmi-cross-check/fmi-cross-check/results/2.0/cs/win64/OMSimulator/v2.1.1/solidThinking_Activate/2020/Pendulum --stripRoot=true --skipCSVHeader=true --addParametersToCSV=true --suppressPath=true --timeout=60 /var/lib/jenkins/ws/Sandbox/Andreas/OMSimulator-FMI-Cross-Check/OMSimulator/testsuite/fmi-cross-check/fmi-cross-check/results/2.0/cs/win64/OMSimulator/v2.1.1/solidThinking_Activate/2020/Pendulum/Pendulum.lua ``` Lua file: ```lua -- lua file for Pendulum.fmu oms_setTempDirectory('/tmp/cross-check') oms_newModel('model') oms_addSystem('model.root', oms_system_wc) -- instantiate FMU oms_addSubModel('model.root.fmu', 'Pendulum.fmu') -- simulation settings oms_setResultFile('model', 'Pendulum_out.csv') oms_setLoggingInterval('model', 0.05) oms_setStartTime('model', 0.0) oms_setStopTime('model', 5.0) oms_setTolerance('model', 0.0001, 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: Result file: Pendulum_out.csv (bufferSize=1) info: Variable model.root.fmu.Solver.Time_Tolerance will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.Solver.Absolute_Tolerance will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.Solver.Relative_Tolerance will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.Solver.Internal.Max_Stepsize will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.Solver.Internal.Min_Stepsize will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.Solver.Internal.Init_Stepsize will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.Solver.Internal.ZeroCrossing_Threshold will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.Solver.Internal.ZeroCrossing_Time_Tolerance will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.Solver.Internal.Dynamical_Solver_Name will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.Solver.Internal.Algebraic_Solver_Name will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.Solver.Internal.Jacobian_Method will not be stored in the result file, because the signal type is not supported info: Parameter model.root.fmu.FMU_sup_1.fmuresources will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.FMU_sup_1.fmulogfilename will not be stored in the result file, because the signal type is not supported info: Parameter model.root.fmu.FMU_sup_1.fmutempdir will not be stored in the result file, because the signal type is not supported info: Parameter model.root.fmu.FMU_sup_1.separator will not be stored in the result file, because the signal type is not supported info: Parameter model.root.fmu.FMU_sup_1.fmuresfilename will not be stored in the result file, because the signal type is not supported info: Variable model.root.fmu.FMU_sup_1.fmufilename will not be stored in the result file, because the signal type is not supported
Stderr:
0195:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 25 not handled 0195:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 25 not handled 0195:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 0195:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 0195:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 0195:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 0195:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 25 not handled 0195:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 25 not handled 0195:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 0195:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 25 not handled Success. Success.