Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.132/2.132, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 177.3 kB / 360.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.602/1.602, allocations: 205.1 MB / 0.6188 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001258/0.001258, allocations: 101.7 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.022e-05/1.026e-05, allocations: 4 kB / 0.8503 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5552/0.5552, allocations: 115.2 MB / 0.9628 GB, free: 78.55 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.7639, allocations: 141.1 MB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.7643, allocations: 89.39 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02932/0.7937, allocations: 6.969 MB / 1.108 GB, free: 8.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.607e-05/0.7938, allocations: 12 kB / 1.108 GB, free: 8.648 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.001478/0.7952, allocations: 0.6534 MB / 1.108 GB, free: 7.941 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.7953, allocations: 12.53 kB / 1.108 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.7955, allocations: 47.44 kB / 1.108 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006531/0.7961, allocations: 334.4 kB / 1.109 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.7962, allocations: 16 kB / 1.109 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.7963, allocations: 43.84 kB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00122/0.7975, allocations: 377.9 kB / 1.109 GB, free: 7.086 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.7988, allocations: 444.2 kB / 1.109 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.7988, allocations: 0 / 1.109 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.626e-05/0.7989, allocations: 11.97 kB / 1.109 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.305e-05/0.7989, allocations: 17 kB / 1.109 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003259/0.8022, allocations: 1.289 MB / 1.111 GB, free: 5.285 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008735/0.8031, allocations: 332.4 kB / 1.111 GB, free: 4.945 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004411/0.8036, allocations: 171.6 kB / 1.111 GB, free: 4.777 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 7.464e-05/0.8036, allocations: 4.438 kB / 1.111 GB, free: 4.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005526/0.8042, allocations: 228.4 kB / 1.111 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=52): time 3.657e-06/0.8042, allocations: 0 / 1.111 GB, free: 4.539 MB / 0.7136 GB Notification: Performance of matching and sorting (n=52): time 0.0009774/0.8052, allocations: 307 kB / 1.112 GB, free: 4.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.8053, allocations: 67.83 kB / 1.112 GB, free: 4.152 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003469/0.8056, allocations: 218.6 kB / 1.112 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001056/0.8058, allocations: 42.55 kB / 1.112 GB, free: 3.883 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.8059, allocations: 185 kB / 1.112 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/0.8061, allocations: 114.5 kB / 1.112 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.8062, allocations: 8 kB / 1.112 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002395/0.8064, allocations: 346.8 kB / 1.113 GB, free: 3.23 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/0.8069, allocations: 149.3 kB / 1.113 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005658/0.8075, allocations: 232.7 kB / 1.113 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005034/0.808, allocations: 151.1 kB / 1.113 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.808, allocations: 0 / 1.113 GB, free: 2.688 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001251/0.8093, allocations: 449.1 kB / 1.114 GB, free: 2.242 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.8093, allocations: 4.219 kB / 1.114 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.8094, allocations: 8 kB / 1.114 GB, free: 2.23 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.8094, allocations: 4 kB / 1.114 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005702/0.81, allocations: 75.83 kB / 1.114 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.81, allocations: 4 kB / 1.114 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007208/0.8107, allocations: 87.62 kB / 1.114 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.531e-05/0.8108, allocations: 20 kB / 1.114 GB, free: 2.043 MB / 0.7136 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.0002342/0.8111, allocations: 168.5 kB / 1.114 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.586e-05/0.8112, allocations: 27.62 kB / 1.114 GB, free: 1.844 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.8124, allocations: 388.3 kB / 1.114 GB, free: 1.465 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/0.8124, allocations: 8 kB / 1.114 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.8125, allocations: 0 / 1.114 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.8125, allocations: 0 / 1.114 GB, free: 1.457 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.8149, allocations: 0.9589 MB / 1.115 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.88e-06/0.8149, allocations: 0 / 1.115 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003858/0.8153, allocations: 51.83 kB / 1.115 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.235e-05/0.8153, allocations: 4 kB / 1.115 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.975e-05/0.8154, allocations: 5.125 kB / 1.115 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.8154, allocations: 5.562 kB / 1.115 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.8154, allocations: 0 / 1.115 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001123/0.8165, allocations: 460.5 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.601e-05/0.8167, allocations: 108.7 kB / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.39e-05/0.8168, allocations: 4 kB / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005535/0.8173, allocations: 47.95 kB / 1.116 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002432/0.8176, allocations: 72.39 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.944e-05/0.8177, allocations: 27.92 kB / 1.116 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001751/0.8178, allocations: 137.5 kB / 1.116 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006125/0.8185, allocations: 79.89 kB / 1.116 GB, free: 15.44 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.0002667/0.8187, allocations: 136.4 kB / 1.116 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.8199, allocations: 440.4 kB / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8199, allocations: 4.438 kB / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.8204, allocations: 209.8 kB / 1.117 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004532/0.8209, allocations: 30.41 kB / 1.117 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001798/0.8227, allocations: 0.506 MB / 1.117 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007698/0.8235, allocations: 0.8717 MB / 1.118 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of SimCode: time 9.72e-07/0.8235, allocations: 4 kB / 1.118 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of Templates: time 0.01565/0.8392, allocations: 5.005 MB / 1.123 GB, free: 8.316 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode.pipe 2>&1)