Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain,fileNamePrefix="ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00312/0.00312, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.241/1.241, allocations: 221.4 MB / 229.3 MB, free: 3.07 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009975/0.0009973, allocations: 102.3 kB / 280.1 MB, free: 1.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09025/0.09025, allocations: 20.17 MB / 351.1 MB, free: 10.32 MB / 298.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 1.017/1.017, allocations: 127.6 MB / 0.5229 GB, free: 4.75 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2105/1.227, allocations: 89.72 MB / 0.6105 GB, free: 10.84 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4253/1.652, allocations: 82.83 MB / 0.6914 GB, free: 33.71 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/1.816, allocations: 119 MB / 0.8076 GB, free: 6.641 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/1.817, allocations: 91.86 kB / 0.8077 GB, free: 6.555 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.01104/1.828, allocations: 3.244 MB / 0.8109 GB, free: 3.418 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.828, allocations: 8 kB / 0.8109 GB, free: 3.41 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/1.828, allocations: 8.406 kB / 0.8109 GB, free: 3.402 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/1.828, allocations: 182.2 kB / 0.8111 GB, free: 3.188 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/1.828, allocations: 5.219 kB / 0.8111 GB, free: 3.184 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/1.828, allocations: 4 kB / 0.8111 GB, free: 3.18 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001263/1.828, allocations: 36.5 kB / 0.8111 GB, free: 3.145 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001171/1.828, allocations: 57.67 kB / 0.8112 GB, free: 3.082 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/1.828, allocations: 0 / 0.8112 GB, free: 3.082 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/1.828, allocations: 0 / 0.8112 GB, free: 3.082 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-06/1.828, allocations: 0.6562 kB / 0.8112 GB, free: 3.082 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/1.829, allocations: 285.3 kB / 0.8114 GB, free: 2.766 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 6.933e-05/1.829, allocations: 34.61 kB / 0.8115 GB, free: 2.723 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/1.829, allocations: 25.55 kB / 0.8115 GB, free: 2.695 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/1.829, allocations: 0 / 0.8115 GB, free: 2.695 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/1.829, allocations: 34.47 kB / 0.8115 GB, free: 2.652 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/1.829, allocations: 0 / 0.8115 GB, free: 2.652 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5): time 0.0003986/1.83, allocations: 112 kB / 0.8116 GB, free: 2.539 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/1.83, allocations: 51.41 kB / 0.8117 GB, free: 2.477 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.513e-05/1.83, allocations: 115.7 kB / 0.8118 GB, free: 2.355 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/1.83, allocations: 25.7 kB / 0.8118 GB, free: 2.324 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/1.83, allocations: 92.08 kB / 0.8119 GB, free: 2.23 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/1.83, allocations: 19.73 kB / 0.8119 GB, free: 2.211 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-06/1.83, allocations: 3.938 kB / 0.8119 GB, free: 2.207 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.83, allocations: 318.8 kB / 0.8122 GB, free: 1.887 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.125e-05/1.83, allocations: 20 kB / 0.8122 GB, free: 1.867 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.083e-05/1.83, allocations: 16 kB / 0.8123 GB, free: 1.852 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001868/1.83, allocations: 47.92 kB / 0.8123 GB, free: 1.805 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.83, allocations: 0 / 0.8123 GB, free: 1.805 MB / 0.5418 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002797/1.831, allocations: 105.5 kB / 0.8124 GB, free: 1.695 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.831, allocations: 8 kB / 0.8124 GB, free: 1.688 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/1.831, allocations: 0 / 0.8124 GB, free: 1.688 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/1.831, allocations: 0.5156 kB / 0.8124 GB, free: 1.688 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002176/1.831, allocations: 39.97 kB / 0.8124 GB, free: 1.648 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/1.831, allocations: 3.188 kB / 0.8124 GB, free: 1.648 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001538/1.831, allocations: 35.97 kB / 0.8125 GB, free: 1.613 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/1.831, allocations: 3.984 kB / 0.8125 GB, free: 1.609 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.093e-05/1.831, allocations: 116.6 kB / 0.8126 GB, free: 1.488 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.424e-05/1.831, allocations: 7.906 kB / 0.8126 GB, free: 1.48 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003302/1.831, allocations: 121 kB / 0.8127 GB, free: 1.355 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/1.831, allocations: 0 / 0.8127 GB, free: 1.355 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.832, allocations: 0 / 0.8127 GB, free: 1.355 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/1.832, allocations: 0 / 0.8127 GB, free: 1.355 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/1.832, allocations: 174.1 kB / 0.8129 GB, free: 1.148 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/1.832, allocations: 0 / 0.8129 GB, free: 1.148 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/1.832, allocations: 39.97 kB / 0.8129 GB, free: 1.109 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.832, allocations: 0 / 0.8129 GB, free: 1.109 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.383e-05/1.832, allocations: 4 kB / 0.8129 GB, free: 1.105 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/1.832, allocations: 3.984 kB / 0.8129 GB, free: 1.102 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.832, allocations: 4.797 kB / 0.8129 GB, free: 1.098 MB / 0.5418 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003294/1.832, allocations: 203.3 kB / 0.8131 GB, free: 0.8828 MB / 0.5418 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004607/1.833, allocations: 0.576 MB / 0.8137 GB, free: 296 kB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 4.75e-05/1.833, allocations: 88.94 kB / 0.8138 GB, free: 188 kB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/1.833, allocations: 4 kB / 0.8138 GB, free: 184 kB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/1.833, allocations: 35.97 kB / 0.8138 GB, free: 148 kB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/1.833, allocations: 11.98 kB / 0.8138 GB, free: 136 kB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/1.833, allocations: 0 / 0.8138 GB, free: 136 kB / 0.5418 GB Notification: Performance of sort global known variables: time 6.678e-05/1.833, allocations: 100.8 kB / 0.8139 GB, free: 36 kB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0008049/1.834, allocations: 27.89 kB / 0.814 GB, free: 8 kB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002469/1.834, allocations: 111.1 kB / 0.8141 GB, free: 15.89 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0001408/1.834, allocations: 43.98 kB / 0.8141 GB, free: 15.85 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.834, allocations: 0 / 0.8141 GB, free: 15.85 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 5.585e-05/1.834, allocations: 24 kB / 0.8141 GB, free: 15.82 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/1.835, allocations: 11.38 kB / 0.8141 GB, free: 15.82 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/1.835, allocations: 107.6 kB / 0.8142 GB, free: 15.69 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000366/1.835, allocations: 0.7114 MB / 0.8149 GB, free: 14.95 MB / 0.5574 GB Notification: Performance of SimCode: time 2.5e-07/1.835, allocations: 0 / 0.8149 GB, free: 14.95 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; mkfifo ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe >> ../files/ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Components_Utilities_Blocks_Check_TestStepsmootherGain.fmu > ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.TestStepsmootherGain_res.mat does not exist to compare? outputFormat=mat