Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingMode,fileNamePrefix="Buildings_5_0_1_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingMode",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.497/4.497, allocations: 403.9 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2811/4.779, allocations: 95.02 MB / 0.4941 GB, free: 7.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5096/5.288, allocations: 92.67 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2981/5.586, allocations: 123.4 MB / 0.7051 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005158/5.587, allocations: 87.94 kB / 0.7051 GB, free: 10.24 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.0487/5.636, allocations: 7.513 MB / 0.7125 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 7.7e-05/5.636, allocations: 12 kB / 0.7125 GB, free: 2.617 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004729/5.636, allocations: 55.42 kB / 0.7125 GB, free: 2.562 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/5.638, allocations: 322.4 kB / 0.7129 GB, free: 2.207 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/5.638, allocations: 27.98 kB / 0.7129 GB, free: 2.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002724/5.638, allocations: 28 kB / 0.7129 GB, free: 2.152 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002743/5.641, allocations: 385.9 kB / 0.7133 GB, free: 1.773 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003681/5.645, allocations: 444.1 kB / 0.7137 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.762e-05/5.645, allocations: 0 / 0.7137 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.766e-05/5.645, allocations: 0 / 0.7137 GB, free: 1.328 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-05/5.645, allocations: 24.98 kB / 0.7137 GB, free: 1.305 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004889/5.65, allocations: 1.265 MB / 0.715 GB, free: 15.99 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001279/5.651, allocations: 333.3 kB / 0.7153 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006264/5.652, allocations: 166.2 kB / 0.7154 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.403e-05/5.652, allocations: 12.44 kB / 0.7154 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007367/5.653, allocations: 220.5 kB / 0.7157 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=52): time 4.799e-06/5.653, allocations: 0 / 0.7157 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=52): time 0.001385/5.654, allocations: 311 kB / 0.716 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/5.654, allocations: 63.84 kB / 0.716 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007085/5.655, allocations: 222.5 kB / 0.7162 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002871/5.656, allocations: 41.7 kB / 0.7163 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003816/5.656, allocations: 177.1 kB / 0.7164 GB, free: 14.41 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/5.656, allocations: 126.3 kB / 0.7166 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/5.657, allocations: 0 / 0.7166 GB, free: 14.29 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000325/5.657, allocations: 342.8 kB / 0.7169 GB, free: 13.95 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/5.658, allocations: 153.3 kB / 0.717 GB, free: 13.8 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001334/5.659, allocations: 232.7 kB / 0.7172 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/5.661, allocations: 151.1 kB / 0.7174 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/5.661, allocations: 0 / 0.7174 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002905/5.664, allocations: 451.4 kB / 0.7178 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.736e-05/5.664, allocations: 8 kB / 0.7178 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/5.664, allocations: 0 / 0.7178 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.249e-05/5.664, allocations: 12.16 kB / 0.7178 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/5.665, allocations: 79.83 kB / 0.7179 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-05/5.666, allocations: 4 kB / 0.7179 GB, free: 12.85 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001784/5.667, allocations: 83.69 kB / 0.718 GB, free: 12.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/5.668, allocations: 24 kB / 0.718 GB, free: 12.74 MB / 0.6042 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.0004517/5.668, allocations: 156.3 kB / 0.7182 GB, free: 12.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/5.668, allocations: 39.55 kB / 0.7182 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001635/5.67, allocations: 380.1 kB / 0.7186 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.672e-05/5.67, allocations: 4 kB / 0.7186 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/5.67, allocations: 3.938 kB / 0.7186 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.374e-05/5.67, allocations: 3.984 kB / 0.7186 GB, free: 12.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003314/5.673, allocations: 0.951 MB / 0.7195 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/5.673, allocations: 0 / 0.7195 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005076/5.674, allocations: 51.91 kB / 0.7196 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/5.674, allocations: 4 kB / 0.7196 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.445e-05/5.674, allocations: 11.89 kB / 0.7196 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.242e-06/5.674, allocations: 0 / 0.7196 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/5.674, allocations: 0 / 0.7196 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001397/5.675, allocations: 460.5 kB / 0.72 GB, free: 10.62 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001567/5.677, allocations: 0.8251 MB / 0.7208 GB, free: 9.781 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/5.677, allocations: 104.7 kB / 0.7209 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001083/5.677, allocations: 0 / 0.7209 GB, free: 9.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007637/5.678, allocations: 59.95 kB / 0.721 GB, free: 9.602 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/5.679, allocations: 64.39 kB / 0.721 GB, free: 9.539 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/5.679, allocations: 19.98 kB / 0.7211 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0002265/5.679, allocations: 133.6 kB / 0.7212 GB, free: 9.391 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002791/5.682, allocations: 87.89 kB / 0.7213 GB, free: 9.305 MB / 0.6042 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.0004235/5.682, allocations: 159.2 kB / 0.7214 GB, free: 9.145 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001485/5.684, allocations: 426.7 kB / 0.7218 GB, free: 8.723 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/5.684, allocations: 3.938 kB / 0.7218 GB, free: 8.719 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006882/5.684, allocations: 217.8 kB / 0.722 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006088/5.685, allocations: 34.17 kB / 0.7221 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/5.687, allocations: 0.5042 MB / 0.7226 GB, free: 7.945 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009642/5.688, allocations: 0.8704 MB / 0.7234 GB, free: 7.047 MB / 0.6042 GB Notification: Performance of SimCode: time 1.512e-06/5.688, allocations: 0 / 0.7234 GB, free: 7.047 MB / 0.6042 GB