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.CoolingModeNonIntegrated.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: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated") [: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.307/1.307, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0008791/0.0008791, allocations: 165.3 kB / 361.1 MB, free: 7.137 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9969/0.9969, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.00076/0.00076, allocations: 89.25 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.284e-06/7.314e-06, allocations: 4 kB / 0.8511 GB, free: 2.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4111, allocations: 115.3 MB / 0.9637 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.5493, allocations: 145.1 MB / 1.105 GB, free: 10.95 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.5496, allocations: 94.53 kB / 1.105 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02558/0.5752, allocations: 9.459 MB / 1.115 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.294e-05/0.5753, allocations: 8 kB / 1.115 GB, free: 1.48 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: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.0009884/0.5763, allocations: 0.705 MB / 1.115 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.214e-05/0.5763, allocations: 8.531 kB / 1.115 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.697e-05/0.5764, allocations: 55.34 kB / 1.115 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005299/0.577, allocations: 375.5 kB / 1.116 GB, free: 256 kB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.062e-05/0.577, allocations: 21.67 kB / 1.116 GB, free: 236 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.961e-05/0.5771, allocations: 24 kB / 1.116 GB, free: 212 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005003/0.5776, allocations: 253.3 kB / 1.116 GB, free: 15.95 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000535/0.5781, allocations: 337.4 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5781, allocations: 3.938 kB / 1.116 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.046e-05/0.5782, allocations: 0 / 1.116 GB, free: 15.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.5782, allocations: 16.64 kB / 1.116 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.5797, allocations: 1.045 MB / 1.117 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004063/0.5801, allocations: 263.3 kB / 1.118 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.5803, allocations: 128.9 kB / 1.118 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.5804, allocations: 7.984 kB / 1.118 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002735/0.5806, allocations: 189.5 kB / 1.118 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 1.553e-06/0.5807, allocations: 0 / 1.118 GB, free: 13.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0004998/0.5812, allocations: 270.7 kB / 1.118 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.5812, allocations: 122.7 kB / 1.118 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003352/0.5816, allocations: 339.3 kB / 1.119 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.326e-05/0.5816, allocations: 37.69 kB / 1.119 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.5817, allocations: 172.6 kB / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.5818, allocations: 86.86 kB / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.5818, allocations: 0 / 1.119 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.582, allocations: 358.7 kB / 1.119 GB, free: 12.49 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.5822, allocations: 117 kB / 1.119 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.5824, allocations: 213 kB / 1.12 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000212/0.5827, allocations: 128.7 kB / 1.12 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.5827, allocations: 1.219 kB / 1.12 GB, free: 12.01 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.000593/0.5833, allocations: 370.8 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5833, allocations: 8.031 kB / 1.12 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5833, allocations: 4.047 kB / 1.12 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.5833, allocations: 7.984 kB / 1.12 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003119/0.5836, allocations: 67.89 kB / 1.12 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.5837, allocations: 4 kB / 1.12 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003215/0.584, allocations: 67.64 kB / 1.12 GB, free: 11.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.584, allocations: 16 kB / 1.12 GB, free: 11.47 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 47 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$whenCondition4,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition3,$whenCondition2,$whenCondition1,$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.con1.enableFire,cooModCon.con1.fire,$PRE.cooModCon.con1.t_start,cooModCon.con1.t_start,cooModCon.con1.condition,$PRE.cooModCon.swi.y,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.enableFire,cooModCon.con2.fire,$PRE.cooModCon.con2.t_start,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,cooModCon.swi.expr[1],cooModCon.swi.expr[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 58 * 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.0001228/0.5842, allocations: 143.3 kB / 1.12 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.5842, allocations: 35.53 kB / 1.12 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005696/0.5848, allocations: 320.2 kB / 1.121 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.5848, allocations: 8 kB / 1.121 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5848, allocations: 6.562 kB / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.5848, allocations: 0 / 1.121 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.586, allocations: 0.8339 MB / 1.122 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.586, allocations: 0 / 1.122 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002221/0.5862, allocations: 51.91 kB / 1.122 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5862, allocations: 4 kB / 1.122 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.5863, allocations: 7.984 kB / 1.122 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.5863, allocations: 0 / 1.122 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.5863, allocations: 0 / 1.122 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005282/0.5868, allocations: 396.8 kB / 1.122 GB, free: 9.621 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.46e-05/0.5869, allocations: 120.6 kB / 1.122 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.552e-05/0.587, allocations: 7.984 kB / 1.122 GB, free: 9.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.5873, allocations: 45.16 kB / 1.122 GB, free: 9.434 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001289/0.5875, allocations: 55.91 kB / 1.122 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.258e-05/0.5875, allocations: 19.98 kB / 1.122 GB, free: 9.359 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002332/0.5877, allocations: 247 kB / 1.123 GB, free: 9.117 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004029/0.5881, allocations: 103.9 kB / 1.123 GB, free: 9.016 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: 30 (cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,$cse2,$cse3,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,cooModCon.freCoo.newActive,cooModCon.freCoo.oldActive,cooModCon.freCoo.active,cooModCon.fulMecCoo.newActive,cooModCon.fulMecCoo.oldActive,cooModCon.fulMecCoo.active,cooModCon.con1.fire,cooModCon.con1.t_start,cooModCon.con1.condition,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,cooModCon.con2.fire,cooModCon.con2.t_start,cooModCon.con2.condition,cooModCon.stateGraphRoot.activeSteps,TCHWSup.T_start,TCHWSup.count,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (chiNumOn.combiTimeTable.nextTimeEvent,TCHWSup.count,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,chiNumOn.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0006346/0.5888, allocations: 355.6 kB / 1.123 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005503/0.5893, allocations: 351.7 kB / 1.123 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5894, allocations: 0 / 1.123 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002438/0.5896, allocations: 165.9 kB / 1.123 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003649/0.59, allocations: 57.03 kB / 1.124 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.591, allocations: 0.5093 MB / 1.124 GB, free: 7.676 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004869/0.5915, allocations: 0.8695 MB / 1.125 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of SimCode: time 3.51e-07/0.5915, allocations: 0 / 1.125 GB, free: 6.785 MB / 0.7292 GB Notification: Performance of Templates: time 0.009522/0.601, allocations: 5.642 MB / 1.13 GB, free: 1.273 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)