Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.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.Functions.TestCases.TestLogMean,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestLogMean",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.Functions.TestCases.TestLogMean,fileNamePrefix="ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestLogMean",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.004169/0.004169, allocations: 181.1 kB / 7.459 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.442/1.442, allocations: 221.4 MB / 229.3 MB, free: 3.02 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.001247/0.001247, allocations: 89.12 kB / 280.1 MB, free: 1.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.0935/0.0935, allocations: 20.17 MB / 351.1 MB, free: 10.3 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.109/1.109, allocations: 127.6 MB / 0.5229 GB, free: 4.734 MB / 346.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 0.2506/1.359, allocations: 89.72 MB / 0.6105 GB, free: 10.81 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.59/1.949, allocations: 82.83 MB / 0.6914 GB, free: 33.54 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1933/2.143, allocations: 120.1 MB / 0.8087 GB, free: 5.527 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003153/2.143, allocations: 81.05 kB / 0.8087 GB, free: 5.453 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.04778/2.191, allocations: 14.97 MB / 0.8234 GB, free: 6.605 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/2.191, allocations: 8 kB / 0.8234 GB, free: 6.598 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/2.191, allocations: 27 kB / 0.8234 GB, free: 6.574 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00052/2.192, allocations: 259 kB / 0.8236 GB, free: 6.277 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.309e-05/2.192, allocations: 8 kB / 0.8236 GB, free: 6.27 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.831e-05/2.192, allocations: 11.91 kB / 0.8237 GB, free: 6.258 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004947/2.192, allocations: 271.8 kB / 0.8239 GB, free: 5.992 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004069/2.193, allocations: 248.4 kB / 0.8242 GB, free: 5.73 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/2.193, allocations: 0 / 0.8242 GB, free: 5.73 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.137e-05/2.193, allocations: 3.984 kB / 0.8242 GB, free: 5.727 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/2.193, allocations: 4 kB / 0.8242 GB, free: 5.723 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/2.194, allocations: 0.6825 MB / 0.8248 GB, free: 5 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005115/2.195, allocations: 259.1 kB / 0.8251 GB, free: 4.719 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/2.195, allocations: 190.7 kB / 0.8253 GB, free: 4.523 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/2.195, allocations: 101.1 kB / 0.8254 GB, free: 4.406 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004074/2.196, allocations: 310.5 kB / 0.8256 GB, free: 4.07 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=32): time 2.565e-06/2.196, allocations: 0 / 0.8256 GB, free: 4.07 MB / 0.5574 GB Notification: Performance of matching and sorting (n=32): time 0.001387/2.197, allocations: 491 kB / 0.8261 GB, free: 3.586 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/2.197, allocations: 170.3 kB / 0.8263 GB, free: 3.383 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002027/2.197, allocations: 182 kB / 0.8265 GB, free: 3.195 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/2.197, allocations: 33.69 kB / 0.8265 GB, free: 3.156 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/2.197, allocations: 96.78 kB / 0.8266 GB, free: 3.059 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 9.455e-05/2.198, allocations: 86.67 kB / 0.8267 GB, free: 2.973 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/2.198, allocations: 0 / 0.8267 GB, free: 2.973 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001528/2.198, allocations: 334.8 kB / 0.827 GB, free: 2.637 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/2.198, allocations: 124 kB / 0.8271 GB, free: 2.516 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002364/2.198, allocations: 179.9 kB / 0.8273 GB, free: 2.328 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008012/2.199, allocations: 251.7 kB / 0.8275 GB, free: 2.082 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/2.199, allocations: 4 kB / 0.8275 GB, free: 2.078 MB / 0.5574 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00119/2.2, allocations: 497.4 kB / 0.828 GB, free: 1.586 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/2.2, allocations: 4 kB / 0.828 GB, free: 1.582 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.457e-06/2.2, allocations: 11.92 kB / 0.828 GB, free: 1.57 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/2.2, allocations: 0 / 0.828 GB, free: 1.57 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004676/2.201, allocations: 87.86 kB / 0.8281 GB, free: 1.484 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/2.201, allocations: 5.719 kB / 0.8281 GB, free: 1.48 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/2.201, allocations: 47.8 kB / 0.8281 GB, free: 1.434 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.987e-05/2.201, allocations: 19.27 kB / 0.8282 GB, free: 1.418 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,$PRE.rampT_in.nextEvent,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,$PRE.rampT_out2.nextEvent,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0001815/2.201, allocations: 180.3 kB / 0.8283 GB, free: 1.223 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.663e-05/2.202, allocations: 31.62 kB / 0.8284 GB, free: 1.191 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001678/2.203, allocations: 0.6138 MB / 0.829 GB, free: 0.5781 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/2.203, allocations: 11.98 kB / 0.829 GB, free: 0.5664 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/2.203, allocations: 0 / 0.829 GB, free: 0.5664 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/2.203, allocations: 0 / 0.829 GB, free: 0.5664 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003811/2.204, allocations: 305.5 kB / 0.8293 GB, free: 236 kB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/2.204, allocations: 0 / 0.8293 GB, free: 236 kB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004612/2.204, allocations: 83.86 kB / 0.8293 GB, free: 152 kB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/2.204, allocations: 4 kB / 0.8293 GB, free: 148 kB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.833e-05/2.204, allocations: 17.36 kB / 0.8294 GB, free: 132 kB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.095e-06/2.204, allocations: 0 / 0.8294 GB, free: 132 kB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/2.204, allocations: 4 kB / 0.8294 GB, free: 128 kB / 0.5574 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001585/2.206, allocations: 0.6554 MB / 0.83 GB, free: 15.43 MB / 0.573 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001701/2.208, allocations: 1.018 MB / 0.831 GB, free: 14.38 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002531/2.208, allocations: 161.5 kB / 0.8312 GB, free: 14.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/2.208, allocations: 8 kB / 0.8312 GB, free: 14.19 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003806/2.208, allocations: 39.95 kB / 0.8312 GB, free: 14.15 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.927e-05/2.208, allocations: 31.89 kB / 0.8312 GB, free: 14.12 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/2.208, allocations: 24.8 kB / 0.8313 GB, free: 14.1 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.0001988/2.209, allocations: 148.6 kB / 0.8314 GB, free: 13.95 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.00106/2.21, allocations: 107.9 kB / 0.8315 GB, free: 13.85 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,rampT_in.a,rampT_in.b,rampT_in.last,rampT_in.nextEvent,rampT_in.nextEventScaled,rampT_out2.a,rampT_out2.b,rampT_out2.last,rampT_out2.nextEvent,rampT_out2.nextEventScaled) * Number of discrete states: 12 (rampT_out2.nextEvent,rampT_out2.last,rampT_out2.nextEventScaled,rampT_out2.b,rampT_out2.a,$whenCondition1,rampT_in.nextEvent,rampT_in.last,rampT_in.nextEventScaled,rampT_in.b,rampT_in.a,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 26 * 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 Backend phase and start with SimCode phase: time 0.0004127/2.21, allocations: 184.6 kB / 0.8317 GB, free: 13.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0005758/2.211, allocations: 384.1 kB / 0.832 GB, free: 13.27 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/2.211, allocations: 192 / 0.832 GB, free: 13.27 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/2.211, allocations: 299.2 kB / 0.8323 GB, free: 12.96 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002573/2.211, allocations: 31.03 kB / 0.8324 GB, free: 12.94 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008102/2.212, allocations: 385.8 kB / 0.8327 GB, free: 12.53 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005003/2.213, allocations: 0.8029 MB / 0.8335 GB, free: 11.7 MB / 0.573 GB Notification: Performance of SimCode: time 3e-07/2.213, allocations: 0 / 0.8335 GB, free: 11.7 MB / 0.573 GB (rm -f ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe >> ../files/ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestLogMean_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_Functions_TestCases_TestLogMean.fmu > ClaRa_dev_ClaRa.Basics.Functions.TestCases.TestLogMean.pipe 2>&1)