Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.DXCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_7_0_0_Buildings_Applications_DataCenters_DXCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.467/2.467, allocations: 248.6 MB / 255.9 MB, free: 7.094 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001737/0.001737, allocations: 186.5 kB / 315.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.002/2.002, allocations: 205.1 MB / 0.5658 GB, free: 436 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001309/0.001309, allocations: 87.14 kB / 0.67 GB, free: 5.633 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4964/0.4977, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.7759, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.98/6.756, allocations: 2.193 GB / 3.076 GB, free: 175 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/6.756, allocations: 101.3 kB / 3.076 GB, free: 174.9 MB / 0.8698 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.2546/7.011, allocations: 65.79 MB / 3.141 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/7.011, allocations: 8 kB / 3.141 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/7.013, allocations: 230.1 kB / 3.141 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002267/7.015, allocations: 0.7563 MB / 3.141 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.428e-05/7.015, allocations: 47.94 kB / 3.142 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002297/7.016, allocations: 71.98 kB / 3.142 GB, free: 115.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003628/7.019, allocations: 1.308 MB / 3.143 GB, free: 114.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003141/7.023, allocations: 1.061 MB / 3.144 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/7.023, allocations: 0 / 3.144 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001694/7.023, allocations: 4 kB / 3.144 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.935e-05/7.023, allocations: 38.25 kB / 3.144 GB, free: 113.1 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009265/7.032, allocations: 3.271 MB / 3.147 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002341/7.035, allocations: 0.9271 MB / 3.148 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000974/7.036, allocations: 384.3 kB / 3.148 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/7.036, allocations: 44.88 kB / 3.148 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001208/7.037, allocations: 0.5378 MB / 3.149 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=118): time 4.549e-06/7.037, allocations: 0 / 3.149 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=118): time 0.003467/7.041, allocations: 0.874 MB / 3.15 GB, free: 107 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.909e-05/7.041, allocations: 256.3 kB / 3.15 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001295/7.042, allocations: 0.593 MB / 3.151 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003351/7.042, allocations: 41.7 kB / 3.151 GB, free: 106 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003592/7.043, allocations: 368.7 kB / 3.151 GB, free: 105.6 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004387/7.043, allocations: 327.2 kB / 3.151 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.156e-05/7.043, allocations: 0 / 3.151 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001632/7.043, allocations: 402.7 kB / 3.152 GB, free: 104.9 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009186/7.044, allocations: 318.6 kB / 3.152 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001075/7.045, allocations: 494.3 kB / 3.153 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/7.047, allocations: 370.3 kB / 3.153 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/7.047, allocations: 0 / 3.153 GB, free: 103.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003681/7.05, allocations: 0.9979 MB / 3.154 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.467e-05/7.05, allocations: 4 kB / 3.154 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/7.05, allocations: 4 kB / 3.154 GB, free: 102.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/7.052, allocations: 88.86 kB / 3.154 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001689/7.053, allocations: 187.6 kB / 3.154 GB, free: 102.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002892/7.056, allocations: 1.465 MB / 3.156 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001691/7.058, allocations: 119.3 kB / 3.156 GB, free: 100.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000173/7.058, allocations: 47.89 kB / 3.156 GB, free: 100.7 MB / 0.8698 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.000411/7.058, allocations: 168.9 kB / 3.156 GB, free: 100.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/7.059, allocations: 90.88 kB / 3.156 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004688/7.064, allocations: 1.205 MB / 3.157 GB, free: 99.19 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/7.064, allocations: 12 kB / 3.157 GB, free: 99.18 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/7.064, allocations: 0 / 3.157 GB, free: 99.18 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/7.064, allocations: 7.969 kB / 3.157 GB, free: 99.17 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007381/7.071, allocations: 2.327 MB / 3.159 GB, free: 96.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.195e-05/7.071, allocations: 0 / 3.159 GB, free: 96.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001451/7.073, allocations: 171.7 kB / 3.16 GB, free: 96.62 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009744/7.074, allocations: 92.72 kB / 3.16 GB, free: 96.53 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001691/7.074, allocations: 23.97 kB / 3.16 GB, free: 96.51 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002666/7.076, allocations: 1.472 MB / 3.161 GB, free: 94.92 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/7.076, allocations: 4.062 kB / 3.161 GB, free: 94.91 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003745/7.08, allocations: 1.092 MB / 3.162 GB, free: 93.8 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005485/7.086, allocations: 1.502 MB / 3.164 GB, free: 92.28 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/7.087, allocations: 323.6 kB / 3.164 GB, free: 91.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004295/7.088, allocations: 15.92 kB / 3.164 GB, free: 91.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0022/7.09, allocations: 95.91 kB / 3.164 GB, free: 91.83 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000505/7.09, allocations: 113.1 kB / 3.164 GB, free: 91.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002165/7.091, allocations: 47.92 kB / 3.164 GB, free: 91.68 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001246/7.092, allocations: 447.1 kB / 3.165 GB, free: 91.24 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004627/7.097, allocations: 443.1 kB / 3.165 GB, free: 90.8 MB / 0.8698 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.003433/7.1, allocations: 1.032 MB / 3.166 GB, free: 89.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005262/7.105, allocations: 0.9996 MB / 3.167 GB, free: 88.86 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.747e-06/7.106, allocations: 0 / 3.167 GB, free: 88.86 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00186/7.107, allocations: 0.6164 MB / 3.168 GB, free: 88.24 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002307/7.11, allocations: 237.8 kB / 3.168 GB, free: 88.01 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008334/7.118, allocations: 1.729 MB / 3.17 GB, free: 86.24 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001537/7.12, allocations: 1.27 MB / 3.171 GB, free: 84.95 MB / 0.8698 GB Notification: Performance of SimCode: time 1.162e-06/7.12, allocations: 0 / 3.171 GB, free: 84.95 MB / 0.8698 GB