Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.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_arith,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith",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.004316/0.004317, allocations: 182.8 kB / 7.461 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.453/1.453, allocations: 221.4 MB / 229.3 MB, free: 3.004 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.0009456/0.0009461, allocations: 102 kB / 280.1 MB, free: 1.285 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.09466/0.09466, allocations: 20.17 MB / 351.1 MB, free: 10.36 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.16/1.16, allocations: 127.6 MB / 0.5229 GB, free: 4.707 MB / 346.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.2434/1.403, allocations: 89.72 MB / 0.6105 GB, free: 10.8 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5675/1.971, allocations: 82.82 MB / 0.6914 GB, free: 33.69 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1866/2.157, allocations: 119.3 MB / 0.8079 GB, free: 6.277 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/2.158, allocations: 83.86 kB / 0.808 GB, free: 6.199 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.01654/2.174, allocations: 4.11 MB / 0.812 GB, free: 2.191 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/2.174, allocations: 8 kB / 0.812 GB, free: 2.184 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/2.174, allocations: 14.28 kB / 0.812 GB, free: 2.172 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/2.175, allocations: 195.7 kB / 0.8122 GB, free: 1.945 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/2.175, allocations: 4 kB / 0.8122 GB, free: 1.941 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.868e-05/2.175, allocations: 4 kB / 0.8122 GB, free: 1.938 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000191/2.175, allocations: 67.94 kB / 0.8123 GB, free: 1.871 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001996/2.175, allocations: 83.44 kB / 0.8124 GB, free: 1.785 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/2.175, allocations: 0 / 0.8124 GB, free: 1.785 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.095e-05/2.175, allocations: 3.938 kB / 0.8124 GB, free: 1.781 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/2.175, allocations: 4 kB / 0.8124 GB, free: 1.777 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005894/2.176, allocations: 329.2 kB / 0.8127 GB, free: 1.418 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/2.176, allocations: 90.56 kB / 0.8128 GB, free: 1.32 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/2.176, allocations: 68.75 kB / 0.8129 GB, free: 1.25 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 2.894e-05/2.176, allocations: 4 kB / 0.8129 GB, free: 1.246 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/2.176, allocations: 99.3 kB / 0.813 GB, free: 1.137 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=13): time 2.264e-06/2.176, allocations: 0.9375 kB / 0.813 GB, free: 1.137 MB / 0.5418 GB Notification: Performance of matching and sorting (n=13): time 0.0004974/2.177, allocations: 149 kB / 0.8131 GB, free: 0.9883 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/2.177, allocations: 63.41 kB / 0.8132 GB, free: 0.9141 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/2.177, allocations: 144.1 kB / 0.8133 GB, free: 0.7578 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 2.768e-05/2.177, allocations: 25.7 kB / 0.8133 GB, free: 0.7266 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 5.401e-05/2.177, allocations: 92.12 kB / 0.8134 GB, free: 0.6328 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/2.177, allocations: 35.45 kB / 0.8134 GB, free: 0.5977 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.261e-05/2.177, allocations: 0 / 0.8134 GB, free: 0.5977 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001782/2.178, allocations: 326.8 kB / 0.8137 GB, free: 276 kB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/2.178, allocations: 40 kB / 0.8138 GB, free: 236 kB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001066/2.178, allocations: 67.28 kB / 0.8139 GB, free: 164 kB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002141/2.178, allocations: 67.86 kB / 0.8139 GB, free: 96 kB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/2.178, allocations: 0 / 0.8139 GB, free: 96 kB / 0.5418 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004177/2.178, allocations: 174.5 kB / 0.8141 GB, free: 15.91 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/2.178, allocations: 8 kB / 0.8141 GB, free: 15.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/2.178, allocations: 0 / 0.8141 GB, free: 15.91 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/2.178, allocations: 5.656 kB / 0.8141 GB, free: 15.9 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/2.179, allocations: 75.83 kB / 0.8142 GB, free: 15.83 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/2.179, allocations: 0 / 0.8142 GB, free: 15.83 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000335/2.179, allocations: 75.78 kB / 0.8142 GB, free: 15.76 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/2.179, allocations: 10.81 kB / 0.8143 GB, free: 15.75 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: 10 ($whenCondition2,$whenCondition1,$PRE.T_o.T_start,T_o.T_start,$PRE.T_o.count,T_o.count,$PRE.T_i.T_start,T_i.T_start,$PRE.T_i.count,T_i.count) * 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.0001181/2.179, allocations: 118.3 kB / 0.8144 GB, free: 15.63 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.656e-05/2.179, allocations: 11.81 kB / 0.8144 GB, free: 15.62 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004319/2.18, allocations: 175 kB / 0.8145 GB, free: 15.45 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/2.18, allocations: 4.797 kB / 0.8145 GB, free: 15.44 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/2.18, allocations: 0 / 0.8145 GB, free: 15.44 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/2.18, allocations: 0 / 0.8145 GB, free: 15.44 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/2.18, allocations: 204 kB / 0.8147 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/2.18, allocations: 0 / 0.8147 GB, free: 15.21 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/2.18, allocations: 71.94 kB / 0.8148 GB, free: 15.14 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/2.18, allocations: 0 / 0.8148 GB, free: 15.14 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/2.18, allocations: 4 kB / 0.8148 GB, free: 15.13 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/2.18, allocations: 0 / 0.8148 GB, free: 15.13 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/2.18, allocations: 3.906 kB / 0.8148 GB, free: 15.13 MB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003773/2.181, allocations: 184.8 kB / 0.815 GB, free: 14.93 MB / 0.5574 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004975/2.181, allocations: 0.552 MB / 0.8155 GB, free: 14.36 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 5.394e-05/2.181, allocations: 94.08 kB / 0.8156 GB, free: 14.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/2.181, allocations: 11.98 kB / 0.8156 GB, free: 14.23 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/2.182, allocations: 63.94 kB / 0.8157 GB, free: 14.17 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/2.182, allocations: 27.95 kB / 0.8157 GB, free: 14.14 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.067e-05/2.182, allocations: 6.25 kB / 0.8157 GB, free: 14.14 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.066e-05/2.182, allocations: 120.8 kB / 0.8158 GB, free: 14.02 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0008523/2.183, allocations: 48 kB / 0.8159 GB, free: 13.98 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: 6 ($whenCondition2,$whenCondition1,T_o.T_start,T_o.count,T_i.T_start,T_i.count) * Number of discrete states: 2 (T_o.count,T_i.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001955/2.183, allocations: 111.2 kB / 0.816 GB, free: 13.86 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0002945/2.183, allocations: 158.4 kB / 0.8161 GB, free: 13.7 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/2.183, allocations: 8 kB / 0.8162 GB, free: 13.69 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0001318/2.184, allocations: 57.19 kB / 0.8162 GB, free: 13.63 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002371/2.184, allocations: 26.86 kB / 0.8162 GB, free: 13.61 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005983/2.184, allocations: 163.3 kB / 0.8164 GB, free: 13.43 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003856/2.185, allocations: 0.7352 MB / 0.8171 GB, free: 12.66 MB / 0.5574 GB Notification: Performance of SimCode: time 2.5e-07/2.185, allocations: 0 / 0.8171 GB, free: 12.66 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith.fmu > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith_res.mat does not exist to compare? outputFormat=mat