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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode") [: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.386/1.386, allocations: 289.8 MB / 297.1 MB, free: 8.941 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.0009355/0.0009354, allocations: 181.3 kB / 366.3 MB, free: 11.22 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.056/1.056, allocations: 205.1 MB / 0.6256 GB, free: 6.625 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008269/0.0008269, allocations: 99.23 kB / 0.7396 GB, free: 1.754 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 7.103e-06/7.143e-06, allocations: 11.94 kB / 0.859 GB, free: 111.1 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1512, allocations: 116.3 MB / 0.9726 GB, free: 10.7 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.5922, allocations: 142.3 MB / 1.112 GB, free: 13.38 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.5924, allocations: 89.12 kB / 1.112 GB, free: 13.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01722/0.6097, allocations: 6.957 MB / 1.118 GB, free: 7.574 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.257e-05/0.6097, allocations: 12 kB / 1.118 GB, free: 7.562 MB / 0.698 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.001003/0.6107, allocations: 0.6469 MB / 1.119 GB, free: 6.895 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.282e-05/0.6108, allocations: 8.031 kB / 1.119 GB, free: 6.887 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001205/0.6109, allocations: 51.44 kB / 1.119 GB, free: 6.836 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004267/0.6113, allocations: 335.8 kB / 1.119 GB, free: 6.523 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.6114, allocations: 19.94 kB / 1.119 GB, free: 6.508 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.635e-05/0.6115, allocations: 43.88 kB / 1.12 GB, free: 6.465 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006215/0.6121, allocations: 377.4 kB / 1.12 GB, free: 6.238 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006629/0.6128, allocations: 446.6 kB / 1.12 GB, free: 5.914 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.6128, allocations: 3.938 kB / 1.12 GB, free: 5.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.455e-05/0.6128, allocations: 0 / 1.12 GB, free: 5.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.585e-05/0.6129, allocations: 17 kB / 1.12 GB, free: 5.895 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001842/0.6147, allocations: 1.297 MB / 1.122 GB, free: 4.895 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.6152, allocations: 332.2 kB / 1.122 GB, free: 4.664 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002185/0.6154, allocations: 167.7 kB / 1.122 GB, free: 4.562 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.891e-05/0.6155, allocations: 12.42 kB / 1.122 GB, free: 4.551 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003013/0.6158, allocations: 214.7 kB / 1.122 GB, free: 4.383 MB / 0.698 GB Notification: Performance of pre-optimization done (n=52): time 1.683e-06/0.6158, allocations: 0 / 1.122 GB, free: 4.383 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.0005277/0.6163, allocations: 314.5 kB / 1.123 GB, free: 4.148 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/0.6164, allocations: 67.45 kB / 1.123 GB, free: 4.07 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.6166, allocations: 214.1 kB / 1.123 GB, free: 3.891 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.795e-05/0.6166, allocations: 51.75 kB / 1.123 GB, free: 3.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001476/0.6168, allocations: 182.2 kB / 1.123 GB, free: 3.676 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.6169, allocations: 119.2 kB / 1.123 GB, free: 3.578 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.6169, allocations: 0 / 1.123 GB, free: 3.578 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6171, allocations: 344 kB / 1.124 GB, free: 3.246 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002382/0.6173, allocations: 154.5 kB / 1.124 GB, free: 3.156 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.6176, allocations: 230.2 kB / 1.124 GB, free: 2.984 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002453/0.6178, allocations: 147.2 kB / 1.124 GB, free: 2.887 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.6179, allocations: 0 / 1.124 GB, free: 2.887 MB / 0.698 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006777/0.6185, allocations: 451.9 kB / 1.124 GB, free: 2.543 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.6186, allocations: 11.94 kB / 1.124 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6186, allocations: 0 / 1.124 GB, free: 2.531 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.6186, allocations: 11.94 kB / 1.124 GB, free: 2.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.6189, allocations: 75.14 kB / 1.125 GB, free: 2.453 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.6189, allocations: 4 kB / 1.125 GB, free: 2.449 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.6193, allocations: 87.62 kB / 1.125 GB, free: 2.363 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.542e-05/0.6193, allocations: 22.98 kB / 1.125 GB, free: 2.344 MB / 0.698 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.0001316/0.6195, allocations: 155.8 kB / 1.125 GB, free: 2.191 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/0.6195, allocations: 31.62 kB / 1.125 GB, free: 2.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006457/0.6202, allocations: 387.7 kB / 1.125 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.6202, allocations: 4 kB / 1.125 GB, free: 1.875 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6202, allocations: 0 / 1.125 GB, free: 1.875 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-06/0.6202, allocations: 7.984 kB / 1.125 GB, free: 1.867 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/0.6216, allocations: 0.9602 MB / 1.126 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6216, allocations: 0 / 1.126 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001912/0.6218, allocations: 47.03 kB / 1.126 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.6218, allocations: 0 / 1.126 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.6218, allocations: 7.984 kB / 1.126 GB, free: 1.035 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.097e-05/0.6219, allocations: 4 kB / 1.126 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6219, allocations: 4 kB / 1.126 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000572/0.6224, allocations: 461.8 kB / 1.127 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.6225, allocations: 108 kB / 1.127 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.6226, allocations: 4 kB / 1.127 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/0.6229, allocations: 55.31 kB / 1.127 GB, free: 480 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/0.623, allocations: 69.2 kB / 1.127 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.339e-05/0.6231, allocations: 15.19 kB / 1.127 GB, free: 408 kB / 0.698 GB Notification: Performance of sort global known variables: time 0.0001037/0.6232, allocations: 148.2 kB / 1.127 GB, free: 284 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003678/0.6236, allocations: 75.91 kB / 1.127 GB, free: 208 kB / 0.698 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.0001798/0.6237, allocations: 141.6 kB / 1.127 GB, free: 64 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006132/0.6244, allocations: 439.8 kB / 1.128 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6244, allocations: 0 / 1.128 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0002699/0.6247, allocations: 214.6 kB / 1.128 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.6249, allocations: 33.53 kB / 1.128 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009614/0.6259, allocations: 0.5098 MB / 1.128 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/0.6264, allocations: 0.8727 MB / 1.129 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of SimCode: time 3.1e-07/0.6264, allocations: 4 kB / 1.129 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of Templates: time 0.008722/0.6351, allocations: 4.989 MB / 1.134 GB, free: 9.301 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (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 & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)