Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.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: translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode") translateModel(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.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.0.1-maint.8.0.x/package.mo): time 1.332/1.332, allocations: 285.5 MB / 292.8 MB, free: 10.52 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.0009127/0.0009127, allocations: 183.4 kB / 361.1 MB, free: 7.094 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.049/1.049, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007489/0.000749, allocations: 95.64 kB / 0.7326 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.071e-06/6.091e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4577, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.96/3.418, allocations: 2.074 GB / 3.037 GB, free: 53.24 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/3.418, allocations: 106.6 kB / 3.038 GB, free: 53.14 MB / 0.948 GB Notification: Performance of FrontEnd: time 0.4424/3.861, allocations: 64.76 MB / 3.101 GB, free: 308.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 6.792e-05/3.861, allocations: 34.34 kB / 3.101 GB, free: 308.5 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 297 * Number of variables: 297 Notification: Performance of Generate backend data structure: time 0.001886/3.863, allocations: 1.355 MB / 3.102 GB, free: 307.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/3.863, allocations: 11.78 kB / 3.102 GB, free: 307.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008636/3.864, allocations: 229 kB / 3.102 GB, free: 307.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001006/3.865, allocations: 0.7543 MB / 3.103 GB, free: 307.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.86e-05/3.865, allocations: 49.67 kB / 3.103 GB, free: 307.5 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001134/3.865, allocations: 71.78 kB / 3.103 GB, free: 307.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001668/3.867, allocations: 1.304 MB / 3.104 GB, free: 307.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/3.868, allocations: 1.055 MB / 3.106 GB, free: 307.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/3.868, allocations: 2.781 kB / 3.106 GB, free: 307.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.608e-05/3.868, allocations: 0.6562 kB / 3.106 GB, free: 307.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.83e-05/3.868, allocations: 45.34 kB / 3.106 GB, free: 307.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004246/3.873, allocations: 3.289 MB / 3.109 GB, free: 306.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001103/3.874, allocations: 0.9134 MB / 3.11 GB, free: 306.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004539/3.874, allocations: 391 kB / 3.11 GB, free: 306.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 9.474e-05/3.874, allocations: 35.5 kB / 3.11 GB, free: 306.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006356/3.875, allocations: 0.5329 MB / 3.111 GB, free: 306.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 4.047e-06/3.875, allocations: 2.656 kB / 3.111 GB, free: 306.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=118): time 0.001756/3.877, allocations: 0.8725 MB / 3.111 GB, free: 306.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/3.877, allocations: 257.1 kB / 3.112 GB, free: 305.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/3.877, allocations: 0.5942 MB / 3.112 GB, free: 305.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.204e-05/3.877, allocations: 41.36 kB / 3.112 GB, free: 305.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001669/3.878, allocations: 374.6 kB / 3.113 GB, free: 305.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001734/3.878, allocations: 320.5 kB / 3.113 GB, free: 305.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.393e-05/3.878, allocations: 1.031 kB / 3.113 GB, free: 305.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.091e-05/3.878, allocations: 397.5 kB / 3.113 GB, free: 305 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004346/3.878, allocations: 316.9 kB / 3.114 GB, free: 305 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/3.879, allocations: 499.3 kB / 3.114 GB, free: 304.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005118/3.879, allocations: 374.2 kB / 3.115 GB, free: 304.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/3.879, allocations: 2.562 kB / 3.115 GB, free: 304.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.001766/3.881, allocations: 0.9971 MB / 3.115 GB, free: 304.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.179e-05/3.881, allocations: 5.438 kB / 3.115 GB, free: 304.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/3.881, allocations: 0 / 3.115 GB, free: 304.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/3.882, allocations: 81.69 kB / 3.116 GB, free: 304.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007149/3.882, allocations: 195.2 kB / 3.116 GB, free: 304.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001554/3.884, allocations: 1.467 MB / 3.117 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007168/3.885, allocations: 115.3 kB / 3.117 GB, free: 303.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.707e-05/3.885, allocations: 43.42 kB / 3.117 GB, free: 303.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 66 ($PRE.cooModCon.con1.enableFire,$PRE.cooModCon.con2.enableFire,$PRE.cooModCon.con3.enableFire,$PRE.cooModCon.con4.enableFire,cooModCon.stateGraphRoot.resume,cooModCon.stateGraphRoot.suspend,$whenCondition6,$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.con3.condition,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.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,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 (144): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001925/3.885, allocations: 166.5 kB / 3.117 GB, free: 303.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/3.885, allocations: 88.41 kB / 3.118 GB, free: 303.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002288/3.888, allocations: 1.212 MB / 3.119 GB, free: 303.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/3.888, allocations: 17.5 kB / 3.119 GB, free: 303.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.327e-06/3.888, allocations: 3.906 kB / 3.119 GB, free: 303.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/3.888, allocations: 7.781 kB / 3.119 GB, free: 303.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/3.891, allocations: 2.323 MB / 3.121 GB, free: 302.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/3.891, allocations: 0 / 3.121 GB, free: 302.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006416/3.892, allocations: 175.6 kB / 3.121 GB, free: 302.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004997/3.892, allocations: 91.92 kB / 3.121 GB, free: 302.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.126e-05/3.892, allocations: 19.72 kB / 3.121 GB, free: 302.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001417/3.894, allocations: 1.481 MB / 3.123 GB, free: 301.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/3.894, allocations: 0 / 3.123 GB, free: 301.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001701/3.895, allocations: 1.097 MB / 3.124 GB, free: 301.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000353/3.896, allocations: 325.5 kB / 3.124 GB, free: 301.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/3.896, allocations: 10.12 kB / 3.124 GB, free: 301.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007367/3.897, allocations: 95.03 kB / 3.124 GB, free: 301.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/3.897, allocations: 113.4 kB / 3.124 GB, free: 301.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/3.897, allocations: 45.69 kB / 3.124 GB, free: 301.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004202/3.897, allocations: 446.9 kB / 3.125 GB, free: 301.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009934/3.898, allocations: 368 kB / 3.125 GB, free: 301.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 47 (cooModCon.con3.enableFire,cooModCon.con4.enableFire,cooModCon.con1.enableFire,cooModCon.con2.enableFire,cooModCon.fulMecCoo.localActive,cooModCon.freCoo.localActive,cooModCon.parMecCoo.localActive,$cse18,$cse19,$cse20,$cse21,$cse22,$cse23,$whenCondition6,$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.con3.condition,cooModCon.con4.fire,cooModCon.con4.t_start,cooModCon.con4.condition,cooModCon.stateGraphRoot.activeSteps,cooModCon.swi.y,cooModCon.swi.firstActiveIndex,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 6 (cooModCon.parMecCoo.newActive,cooModCon.freCoo.newActive,cooModCon.fulMecCoo.newActive,cooModCon.swi.y,weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (135): * Single equations (assignments): 125 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001299/3.9, allocations: 1.048 MB / 3.126 GB, free: 300.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001404/3.901, allocations: 0.9894 MB / 3.127 GB, free: 300.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/3.901, allocations: 0 / 3.127 GB, free: 300.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000759/3.902, allocations: 0.6157 MB / 3.128 GB, free: 300.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009696/3.903, allocations: 244.4 kB / 3.128 GB, free: 300.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003952/3.907, allocations: 1.719 MB / 3.13 GB, free: 300.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001142/3.908, allocations: 1.275 MB / 3.131 GB, free: 299.6 MB / 0.948 GB Notification: Performance of SimCode: time 4.91e-07/3.908, allocations: 0 / 3.131 GB, free: 299.6 MB / 0.948 GB Notification: Performance of Templates: time 0.02934/3.937, allocations: 20.32 MB / 3.151 GB, free: 297.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.pipe 2>&1)