Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.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.CoolingModeNonIntegrated,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.367/1.367, allocations: 289.8 MB / 297.1 MB, free: 6.691 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.00105/0.00105, allocations: 177.3 kB / 366.3 MB, free: 2 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.091/1.091, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.0007883/0.0007884, allocations: 91.5 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.626e-06/8.656e-06, allocations: 4 kB / 0.859 GB, free: 13.37 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4265/0.4265, allocations: 116.3 MB / 0.9726 GB, free: 68.28 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1471/0.5737, allocations: 146.1 MB / 1.115 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001986/0.5739, allocations: 99.92 kB / 1.115 GB, free: 2.363 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.0238/0.5977, allocations: 9.448 MB / 1.125 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.248e-05/0.5977, allocations: 12 kB / 1.125 GB, free: 8.902 MB / 0.7292 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.0009657/0.5987, allocations: 0.7077 MB / 1.125 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.5988, allocations: 8.031 kB / 1.125 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.811e-05/0.5989, allocations: 51.34 kB / 1.125 GB, free: 8.082 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005256/0.5994, allocations: 371.6 kB / 1.126 GB, free: 7.68 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.714e-05/0.5994, allocations: 19.94 kB / 1.126 GB, free: 7.66 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.008e-05/0.5995, allocations: 31.94 kB / 1.126 GB, free: 7.629 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004453/0.5999, allocations: 249.2 kB / 1.126 GB, free: 7.387 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005278/0.6005, allocations: 341.4 kB / 1.126 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.6005, allocations: 7.984 kB / 1.126 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.6005, allocations: 0 / 1.126 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.435e-05/0.6006, allocations: 12.66 kB / 1.126 GB, free: 7.012 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001463/0.602, allocations: 1.049 MB / 1.127 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004033/0.6025, allocations: 265.3 kB / 1.128 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001781/0.6026, allocations: 124.8 kB / 1.128 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.6027, allocations: 12.58 kB / 1.128 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.603, allocations: 185.5 kB / 1.128 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=39): time 1.563e-06/0.603, allocations: 0 / 1.128 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39): time 0.0004861/0.6035, allocations: 282.6 kB / 1.128 GB, free: 5.047 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.724e-05/0.6035, allocations: 110.8 kB / 1.128 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.6039, allocations: 343.3 kB / 1.129 GB, free: 4.574 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.243e-05/0.6039, allocations: 33.7 kB / 1.129 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/0.604, allocations: 172.6 kB / 1.129 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/0.6041, allocations: 91.69 kB / 1.129 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.974e-05/0.6042, allocations: 7.938 kB / 1.129 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6043, allocations: 358.7 kB / 1.129 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.6045, allocations: 117 kB / 1.129 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002589/0.6047, allocations: 213 kB / 1.13 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.605, allocations: 116.8 kB / 1.13 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.605, allocations: 3.938 kB / 1.13 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0005675/0.6055, allocations: 370.9 kB / 1.13 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.6056, allocations: 12.94 kB / 1.13 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6056, allocations: 0 / 1.13 GB, free: 3.051 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.6056, allocations: 4 kB / 1.13 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003137/0.6059, allocations: 71.83 kB / 1.13 GB, free: 2.977 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.6059, allocations: 4 kB / 1.13 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.6062, allocations: 63.66 kB / 1.13 GB, free: 2.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.937e-05/0.6063, allocations: 23.98 kB / 1.13 GB, free: 2.887 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.0001175/0.6064, allocations: 134.1 kB / 1.13 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.317e-05/0.6065, allocations: 35.53 kB / 1.13 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005622/0.607, allocations: 317 kB / 1.131 GB, free: 2.391 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.6071, allocations: 9.5 kB / 1.131 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6071, allocations: 0 / 1.131 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.6071, allocations: 7.984 kB / 1.131 GB, free: 2.375 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.6082, allocations: 0.8378 MB / 1.131 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6082, allocations: 0 / 1.131 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002167/0.6084, allocations: 55.89 kB / 1.132 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.6084, allocations: 0 / 1.132 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.6085, allocations: 4 kB / 1.132 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.6085, allocations: 0 / 1.132 GB, free: 1.434 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.6085, allocations: 4 kB / 1.132 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004873/0.609, allocations: 390.7 kB / 1.132 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.6091, allocations: 120.6 kB / 1.132 GB, free: 0.8945 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.6091, allocations: 8 kB / 1.132 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003035/0.6094, allocations: 43.95 kB / 1.132 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.6096, allocations: 55.91 kB / 1.132 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.6096, allocations: 15.94 kB / 1.132 GB, free: 0.7734 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002244/0.6098, allocations: 257 kB / 1.132 GB, free: 0.5273 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003863/0.6102, allocations: 99.92 kB / 1.132 GB, free: 440 kB / 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.0006408/0.6109, allocations: 359.2 kB / 1.133 GB, free: 156 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000531/0.6114, allocations: 347.8 kB / 1.133 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6114, allocations: 0 / 1.133 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002326/0.6117, allocations: 167.8 kB / 1.133 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003454/0.612, allocations: 54.08 kB / 1.133 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009522/0.613, allocations: 0.5087 MB / 1.134 GB, free: 15.06 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000486/0.6135, allocations: 0.8701 MB / 1.135 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/0.6135, allocations: 0 / 1.135 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.009136/0.6226, allocations: 5.634 MB / 1.14 GB, free: 8.59 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingModeNonIntegrated.pipe 2>&1)