Simulation setup
To simulate FMU `ActivateRC.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/me/win64/OMSimulator/v2.1.1/solidThinking_Activate/2020/ActivateRC --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/me/win64/OMSimulator/v2.1.1/solidThinking_Activate/2020/ActivateRC/ActivateRC.lua ``` Lua file: ```lua -- lua file for ActivateRC.fmu oms_setTempDirectory('/tmp/cross-check') oms_newModel('model') oms_addSystem('model.root', oms_system_sc) -- instantiate FMU oms_addSubModel('model.root.fmu', 'ActivateRC.fmu') oms_addSubModel('model.root.input', '/var/lib/jenkins/ws/Sandbox/Andreas/OMSimulator-FMI-Cross-Check/OMSimulator/testsuite/fmi-cross-check/fmi-cross-check/fmus/2.0/me/win64/solidThinking_Activate/2020/ActivateRC/ActivateRC_in.csv') -- connect inputs to FMU oms_addConnection('model.root.input.Signal_in', 'model.root.fmu.Signal_in') -- simulation settings oms_setResultFile('model', 'ActivateRC_out.csv') oms_setLoggingInterval('model', 0.1) oms_setStartTime('model', 0.0) oms_setStopTime('model', 10.0) oms_setTolerance('model', 1e-06, 0.0001) oms_setVariableStepSize('model', 1e-12, 1e-12, 0.1) -- 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: maximum step size for 'model.root': 0.100000 info: Result file: ActivateRC_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: 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 info: Final Statistics for 'model.root': NumSteps = 355 NumRhsEvals = 537 NumLinSolvSetups = 169 NumNonlinSolvIters = 535 NumNonlinSolvConvFails = 0 NumErrTestFails = 52
Stderr:
00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 25 not handled 00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 25 not handled 00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 25 not handled 00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 25 not handled 00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 26 not handled 00c5:fixme:msvcrt:MSVCRT__stdio_common_vsprintf options 25 not handled Success. Success.