Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.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.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_log",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.002893/0.002893, allocations: 175.3 kB / 7.452 MB, free: 2.32 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.445/1.445, allocations: 221.4 MB / 229.3 MB, free: 3.086 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.001092/0.001093, allocations: 105.2 kB / 280.1 MB, free: 1.266 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.0912/0.0912, allocations: 20.17 MB / 351.1 MB, free: 10.34 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.168/1.168, allocations: 127.6 MB / 0.5229 GB, free: 4.746 MB / 346.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2455/1.414, allocations: 89.72 MB / 0.6105 GB, free: 10.84 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6283/2.042, allocations: 82.83 MB / 0.6914 GB, free: 33.95 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/2.228, allocations: 120.7 MB / 0.8093 GB, free: 4.91 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/2.229, allocations: 83.86 kB / 0.8094 GB, free: 4.832 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.02807/2.257, allocations: 8.279 MB / 0.8175 GB, free: 12.67 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/2.257, allocations: 8 kB / 0.8175 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/2.257, allocations: 15.81 kB / 0.8175 GB, free: 12.64 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004534/2.258, allocations: 223.9 kB / 0.8177 GB, free: 12.38 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.676e-05/2.258, allocations: 7.094 kB / 0.8177 GB, free: 12.38 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.982e-05/2.258, allocations: 11.94 kB / 0.8177 GB, free: 12.37 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003568/2.258, allocations: 115.9 kB / 0.8178 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/2.258, allocations: 141.6 kB / 0.818 GB, free: 12.11 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/2.258, allocations: 0 / 0.818 GB, free: 12.11 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.944e-05/2.258, allocations: 2 kB / 0.818 GB, free: 12.11 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.298e-06/2.258, allocations: 11.94 kB / 0.818 GB, free: 12.1 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001013/2.259, allocations: 400.3 kB / 0.8183 GB, free: 11.67 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002572/2.26, allocations: 122.5 kB / 0.8185 GB, free: 11.54 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/2.26, allocations: 96.83 kB / 0.8186 GB, free: 11.44 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/2.26, allocations: 7.984 kB / 0.8186 GB, free: 11.43 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002772/2.26, allocations: 174 kB / 0.8187 GB, free: 11.25 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=18): time 2.494e-06/2.26, allocations: 0 / 0.8187 GB, free: 11.25 MB / 0.5574 GB Notification: Performance of matching and sorting (n=18): time 0.001171/2.261, allocations: 334.6 kB / 0.819 GB, free: 10.91 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/2.262, allocations: 85.09 kB / 0.8191 GB, free: 10.81 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/2.262, allocations: 148.1 kB / 0.8193 GB, free: 10.66 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/2.262, allocations: 29.7 kB / 0.8193 GB, free: 10.62 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 7.344e-05/2.262, allocations: 100.5 kB / 0.8194 GB, free: 10.52 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 5.666e-05/2.262, allocations: 47.36 kB / 0.8194 GB, free: 10.47 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.697e-05/2.262, allocations: 0 / 0.8194 GB, free: 10.47 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001689/2.262, allocations: 330.8 kB / 0.8198 GB, free: 10.14 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/2.262, allocations: 76.11 kB / 0.8198 GB, free: 10.06 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/2.262, allocations: 94.05 kB / 0.8199 GB, free: 9.961 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/2.263, allocations: 198 kB / 0.8201 GB, free: 9.77 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/2.263, allocations: 0 / 0.8201 GB, free: 9.77 MB / 0.5574 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001015/2.264, allocations: 356.5 kB / 0.8204 GB, free: 9.418 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/2.264, allocations: 7.938 kB / 0.8205 GB, free: 9.41 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/2.264, allocations: 0 / 0.8205 GB, free: 9.41 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/2.264, allocations: 4 kB / 0.8205 GB, free: 9.406 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003534/2.265, allocations: 55.91 kB / 0.8205 GB, free: 9.352 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/2.265, allocations: 0 / 0.8205 GB, free: 9.352 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003247/2.265, allocations: 43.81 kB / 0.8206 GB, free: 9.309 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/2.265, allocations: 15.98 kB / 0.8206 GB, free: 9.293 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,$PRE.T_o.T_start,T_o.T_start,$PRE.T_o.count,T_o.count,T_i.a,T_i.b,T_i.last,$PRE.T_i.nextEvent,T_i.nextEvent,T_i.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * 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 0.0001653/2.265, allocations: 142.5 kB / 0.8207 GB, free: 9.141 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.535e-05/2.265, allocations: 19.09 kB / 0.8207 GB, free: 9.125 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/2.267, allocations: 451.8 kB / 0.8212 GB, free: 8.684 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/2.267, allocations: 0 / 0.8212 GB, free: 8.684 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/2.267, allocations: 0 / 0.8212 GB, free: 8.684 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/2.267, allocations: 2.438 kB / 0.8212 GB, free: 8.684 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002705/2.267, allocations: 230 kB / 0.8214 GB, free: 8.422 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/2.267, allocations: 0 / 0.8214 GB, free: 8.422 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003321/2.267, allocations: 55.94 kB / 0.8214 GB, free: 8.367 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/2.267, allocations: 0 / 0.8214 GB, free: 8.367 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/2.267, allocations: 12 kB / 0.8214 GB, free: 8.355 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/2.267, allocations: 0 / 0.8214 GB, free: 8.355 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/2.267, allocations: 3.984 kB / 0.8214 GB, free: 8.352 MB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00118/2.268, allocations: 432.3 kB / 0.8219 GB, free: 7.91 MB / 0.5574 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001292/2.27, allocations: 0.7982 MB / 0.8226 GB, free: 7.09 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 8.047e-05/2.27, allocations: 92.86 kB / 0.8227 GB, free: 6.98 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/2.27, allocations: 4 kB / 0.8227 GB, free: 6.977 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003083/2.27, allocations: 35.97 kB / 0.8228 GB, free: 6.941 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.853e-05/2.27, allocations: 23.95 kB / 0.8228 GB, free: 6.918 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.001e-05/2.27, allocations: 15.98 kB / 0.8228 GB, free: 6.902 MB / 0.5574 GB Notification: Performance of sort global known variables: time 0.0001125/2.271, allocations: 128.8 kB / 0.8229 GB, free: 6.777 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.001027/2.272, allocations: 87.83 kB / 0.823 GB, free: 6.691 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,T_o.T_start,T_o.count,T_i.a,T_i.b,T_i.last,T_i.nextEvent,T_i.nextEventScaled) * Number of discrete states: 7 (T_o.count,T_i.nextEvent,T_i.last,T_i.nextEventScaled,T_i.b,T_i.a,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.0003659/2.272, allocations: 157 kB / 0.8232 GB, free: 6.527 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0004648/2.272, allocations: 247.2 kB / 0.8234 GB, free: 6.273 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/2.272, allocations: 0 / 0.8234 GB, free: 6.273 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0002244/2.273, allocations: 157.6 kB / 0.8235 GB, free: 6.113 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002467/2.273, allocations: 14.81 kB / 0.8236 GB, free: 6.102 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006928/2.274, allocations: 243.5 kB / 0.8238 GB, free: 5.848 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005304/2.274, allocations: 0.7504 MB / 0.8245 GB, free: 5.07 MB / 0.5574 GB Notification: Performance of SimCode: time 5.62e-07/2.274, allocations: 0 / 0.8245 GB, free: 5.07 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_log_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_log.fmu > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe 2>&1)