Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.396/1.396, allocations: 289.8 MB / 297.1 MB, free: 6.66 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 181.2 kB / 366.3 MB, free: 2.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.103/1.103, allocations: 205.1 MB / 0.6256 GB, free: 5.859 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000835/0.0008346, allocations: 91.27 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2018/0.2027, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4552/0.6579, allocations: 116.3 MB / 0.9727 GB, free: 68.39 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.8066, allocations: 142.3 MB / 1.112 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.807, allocations: 96.59 kB / 1.112 GB, free: 6.094 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.01904/0.826, allocations: 7.627 MB / 1.119 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.8261, allocations: 12 kB / 1.119 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001624/0.8263, allocations: 48.09 kB / 1.119 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005187/0.8268, allocations: 330.4 kB / 1.12 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.984e-05/0.8269, allocations: 27.94 kB / 1.12 GB, free: 13.94 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.439e-05/0.8269, allocations: 39.89 kB / 1.12 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007307/0.8277, allocations: 381.9 kB / 1.12 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/0.8284, allocations: 444.2 kB / 1.12 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.8284, allocations: 0 / 1.12 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.633e-05/0.8285, allocations: 0.75 kB / 1.12 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.938e-05/0.8285, allocations: 21 kB / 1.12 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001967/0.8305, allocations: 1.303 MB / 1.122 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000511/0.831, allocations: 328.6 kB / 1.122 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.8313, allocations: 166.2 kB / 1.122 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.8313, allocations: 12.42 kB / 1.122 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003211/0.8317, allocations: 217.1 kB / 1.122 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=52): time 3.456e-06/0.8317, allocations: 0 / 1.122 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of matching and sorting (n=52): time 0.0005656/0.8323, allocations: 314.9 kB / 1.123 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.8323, allocations: 63.83 kB / 1.123 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002153/0.8325, allocations: 218.6 kB / 1.123 GB, free: 10.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.518e-05/0.8326, allocations: 49.69 kB / 1.123 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.8327, allocations: 184.9 kB / 1.123 GB, free: 10.13 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.529e-05/0.8328, allocations: 114.5 kB / 1.123 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.8328, allocations: 0 / 1.123 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.833, allocations: 342.8 kB / 1.124 GB, free: 9.672 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.8332, allocations: 157.3 kB / 1.124 GB, free: 9.516 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.8335, allocations: 229.9 kB / 1.124 GB, free: 9.273 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.8338, allocations: 151.1 kB / 1.124 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8338, allocations: 0 / 1.124 GB, free: 9.125 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0007447/0.8346, allocations: 455.4 kB / 1.125 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.8346, allocations: 4 kB / 1.125 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.8346, allocations: 4 kB / 1.125 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.8346, allocations: 4 kB / 1.125 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002934/0.8349, allocations: 71.83 kB / 1.125 GB, free: 8.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.8349, allocations: 6.656 kB / 1.125 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/0.8354, allocations: 87.84 kB / 1.125 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.8354, allocations: 27.98 kB / 1.125 GB, free: 8.473 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 65 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.localActive,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,$PRE.cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.newActive,$PRE.cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,$PRE.cooModCon.freCoo.localActive,cooModCon.freCoo.localActive,$PRE.cooModCon.freCoo.newActive,cooModCon.freCoo.newActive,$PRE.cooModCon.freCoo.oldActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,$PRE.cooModCon.fulMecCoo.localActive,cooModCon.fulMecCoo.localActive,$PRE.cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.newActive,$PRE.cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.enableFire,cooModCon.con3.fire,$PRE.cooModCon.con3.t_start,cooModCon.con3.t_start,cooModCon.con4.enableFire,cooModCon.con4.fire,$PRE.cooModCon.con4.t_start,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,$PRE.TCHWLeaWSE.T_start,TCHWLeaWSE.T_start,$PRE.TCHWLeaWSE.count,TCHWLeaWSE.count,cooModCon.con3.condition,cooModCon.swi.expr[1],cooModCon.swi.expr[2],cooModCon.swi.expr[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * 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.0001338/0.8356, allocations: 152.8 kB / 1.125 GB, free: 8.316 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.828e-05/0.8356, allocations: 33.97 kB / 1.125 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/0.8363, allocations: 391.9 kB / 1.125 GB, free: 7.902 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.8363, allocations: 4 kB / 1.125 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8363, allocations: 8 kB / 1.125 GB, free: 7.891 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.8363, allocations: 3.984 kB / 1.125 GB, free: 7.887 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001394/0.8377, allocations: 0.9472 MB / 1.126 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.8378, allocations: 0 / 1.126 GB, free: 6.895 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.838, allocations: 47.91 kB / 1.126 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.84e-06/0.838, allocations: 4 kB / 1.126 GB, free: 6.844 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.838, allocations: 3.984 kB / 1.126 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.701e-06/0.838, allocations: 15.94 kB / 1.126 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.838, allocations: 0 / 1.126 GB, free: 6.824 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006073/0.8386, allocations: 456.5 kB / 1.127 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006705/0.8393, allocations: 0.8134 MB / 1.128 GB, free: 5.527 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.8394, allocations: 104.7 kB / 1.128 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.748e-05/0.8395, allocations: 15.98 kB / 1.128 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.8398, allocations: 47.95 kB / 1.128 GB, free: 5.344 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.8399, allocations: 72.39 kB / 1.128 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.528e-05/0.84, allocations: 16 kB / 1.128 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.876e-05/0.8401, allocations: 137.5 kB / 1.128 GB, free: 5.125 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009957/0.8411, allocations: 91.78 kB / 1.128 GB, free: 5.035 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 45 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.parMecCoo.inPort[2].occupied,cooModCon.parMecCoo.outPort[2].available,cooModCon.parMecCoo.newActive,cooModCon.parMecCoo.oldActive,cooModCon.parMecCoo.active,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.con3.fire,cooModCon.con3.t_start,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,TCHWLeaWSE.T_start,TCHWLeaWSE.count) * Number of discrete states: 5 (TCHWLeaWSE.count,cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0002027/0.8413, allocations: 136.4 kB / 1.128 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006742/0.842, allocations: 438.6 kB / 1.129 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.842, allocations: 0 / 1.129 GB, free: 4.461 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002854/0.8423, allocations: 205.9 kB / 1.129 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.8426, allocations: 43.16 kB / 1.129 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.8436, allocations: 0.5075 MB / 1.129 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004603/0.8441, allocations: 0.8705 MB / 1.13 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of SimCode: time 2.91e-07/0.8441, allocations: 0 / 1.13 GB, free: 2.793 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)