Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.336/1.336, allocations: 285.5 MB / 292.8 MB, free: 9.93 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.0009294/0.0009293, allocations: 191.5 kB / 361.1 MB, free: 396 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 205.1 MB / 0.6195 GB, free: 2.953 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007324/0.0007324, allocations: 90.48 kB / 0.7326 GB, free: 1.086 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3457/0.3465, allocations: 121.5 MB / 0.8512 GB, free: 151.6 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.487, allocations: 115.3 MB / 0.9638 GB, free: 56.11 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4215/0.9086, allocations: 141.3 MB / 1.102 GB, free: 23.68 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000207/0.9088, allocations: 90.78 kB / 1.102 GB, free: 23.68 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.01544/0.9243, allocations: 7.619 MB / 1.109 GB, free: 22.75 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.9243, allocations: 10.12 kB / 1.109 GB, free: 22.75 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.557e-05/0.9244, allocations: 46.5 kB / 1.109 GB, free: 22.73 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.9248, allocations: 330.3 kB / 1.11 GB, free: 22.5 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.9248, allocations: 21.66 kB / 1.11 GB, free: 22.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.543e-05/0.9249, allocations: 37.69 kB / 1.11 GB, free: 22.5 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005468/0.9254, allocations: 385.9 kB / 1.11 GB, free: 22.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.926, allocations: 441 kB / 1.111 GB, free: 22.43 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/0.926, allocations: 0 / 1.111 GB, free: 22.43 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.9261, allocations: 7.219 kB / 1.111 GB, free: 22.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.9261, allocations: 20.28 kB / 1.111 GB, free: 22.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.9277, allocations: 1.289 MB / 1.112 GB, free: 22.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004084/0.9281, allocations: 333.2 kB / 1.112 GB, free: 21.99 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001973/0.9283, allocations: 167.9 kB / 1.112 GB, free: 21.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.236e-05/0.9283, allocations: 17.58 kB / 1.112 GB, free: 21.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002633/0.9286, allocations: 217.5 kB / 1.113 GB, free: 21.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 1.854e-06/0.9286, allocations: 0 / 1.113 GB, free: 21.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.0004647/0.9291, allocations: 311.8 kB / 1.113 GB, free: 21.86 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.266e-05/0.9291, allocations: 66.66 kB / 1.113 GB, free: 21.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.9293, allocations: 216.1 kB / 1.113 GB, free: 21.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.9293, allocations: 42.61 kB / 1.113 GB, free: 21.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.655e-05/0.9294, allocations: 184.5 kB / 1.113 GB, free: 21.53 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.355e-05/0.9295, allocations: 122.8 kB / 1.113 GB, free: 21.46 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.067e-05/0.9295, allocations: 3.938 kB / 1.113 GB, free: 21.46 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.966e-05/0.9296, allocations: 340.3 kB / 1.114 GB, free: 37.14 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002259/0.9298, allocations: 154 kB / 1.114 GB, free: 37.14 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002786/0.9301, allocations: 229.2 kB / 1.114 GB, free: 37.07 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.9304, allocations: 153.3 kB / 1.114 GB, free: 37.06 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.9304, allocations: 0 / 1.114 GB, free: 37.06 MB / 0.7292 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0005826/0.931, allocations: 448.3 kB / 1.115 GB, free: 36.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.931, allocations: 7.875 kB / 1.115 GB, free: 36.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.931, allocations: 7.844 kB / 1.115 GB, free: 36.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.931, allocations: 3.969 kB / 1.115 GB, free: 36.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.9313, allocations: 80.38 kB / 1.115 GB, free: 36.97 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.9313, allocations: 3.812 kB / 1.115 GB, free: 36.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.9316, allocations: 87.19 kB / 1.115 GB, free: 36.95 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/0.9317, allocations: 25.52 kB / 1.115 GB, free: 36.95 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.0001178/0.9318, allocations: 158 kB / 1.115 GB, free: 36.81 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.901e-05/0.9319, allocations: 31.09 kB / 1.115 GB, free: 36.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005884/0.9325, allocations: 384.5 kB / 1.115 GB, free: 36.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.9325, allocations: 7.75 kB / 1.115 GB, free: 36.74 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9325, allocations: 0 / 1.115 GB, free: 36.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.9325, allocations: 3.234 kB / 1.115 GB, free: 36.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001176/0.9337, allocations: 0.9603 MB / 1.116 GB, free: 36.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.9337, allocations: 0 / 1.116 GB, free: 36.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/0.9339, allocations: 46.16 kB / 1.116 GB, free: 36.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.9339, allocations: 3.875 kB / 1.116 GB, free: 36.43 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.9339, allocations: 2.672 kB / 1.116 GB, free: 36.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.125e-06/0.9339, allocations: 3.969 kB / 1.116 GB, free: 36.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.9339, allocations: 0 / 1.116 GB, free: 36.43 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005275/0.9345, allocations: 458.4 kB / 1.117 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006152/0.9351, allocations: 0.8212 MB / 1.118 GB, free: 35.73 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.552e-05/0.9351, allocations: 107.2 kB / 1.118 GB, free: 35.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.285e-05/0.9352, allocations: 3.875 kB / 1.118 GB, free: 35.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002788/0.9355, allocations: 56.22 kB / 1.118 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.9356, allocations: 68.34 kB / 1.118 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.9357, allocations: 21.75 kB / 1.118 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of sort global known variables: time 8.506e-05/0.9358, allocations: 145.7 kB / 1.118 GB, free: 35.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000865/0.9366, allocations: 85.19 kB / 1.118 GB, free: 35.52 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.000161/0.9368, allocations: 148.8 kB / 1.118 GB, free: 35.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004962/0.9373, allocations: 435.8 kB / 1.119 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.9373, allocations: 0 / 1.119 GB, free: 35.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.9375, allocations: 210 kB / 1.119 GB, free: 35.35 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.9378, allocations: 28.11 kB / 1.119 GB, free: 35.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/0.9387, allocations: 0.5071 MB / 1.119 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/0.9391, allocations: 0.8737 MB / 1.12 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.9391, allocations: 0 / 1.12 GB, free: 34.48 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)