Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_5_0_1_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",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.368/4.368, allocations: 403.9 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2998/4.668, allocations: 95.02 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5743/5.242, allocations: 92.68 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2649/5.507, allocations: 124.8 MB / 0.7065 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004181/5.508, allocations: 91.94 kB / 0.7066 GB, free: 8.773 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.05187/5.559, allocations: 9.204 MB / 0.7156 GB, free: 15.45 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/5.56, allocations: 12 kB / 0.7156 GB, free: 15.44 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/5.56, allocations: 55.34 kB / 0.7157 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/5.561, allocations: 365.8 kB / 0.716 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.9e-05/5.561, allocations: 23.98 kB / 0.716 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/5.561, allocations: 36 kB / 0.7161 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001622/5.563, allocations: 381.9 kB / 0.7164 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001674/5.564, allocations: 428.1 kB / 0.7168 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.636e-05/5.564, allocations: 4 kB / 0.7168 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.444e-05/5.565, allocations: 3.984 kB / 0.7168 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.576e-05/5.565, allocations: 15.91 kB / 0.7169 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00459/5.569, allocations: 1.312 MB / 0.7181 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001647/5.571, allocations: 400.4 kB / 0.7185 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006667/5.572, allocations: 182.2 kB / 0.7187 GB, free: 12.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.721e-05/5.572, allocations: 8.422 kB / 0.7187 GB, free: 12.16 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008292/5.573, allocations: 249 kB / 0.7189 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=58): time 4.409e-06/5.573, allocations: 0 / 0.7189 GB, free: 11.9 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58): time 0.001434/5.574, allocations: 344.1 kB / 0.7193 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.254e-05/5.574, allocations: 71.89 kB / 0.7193 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006979/5.575, allocations: 284.7 kB / 0.7196 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001478/5.575, allocations: 45.69 kB / 0.7197 GB, free: 11.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/5.575, allocations: 177.2 kB / 0.7198 GB, free: 10.97 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/5.575, allocations: 130.2 kB / 0.7199 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/5.576, allocations: 4 kB / 0.72 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002099/5.576, allocations: 354.8 kB / 0.7203 GB, free: 10.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007461/5.577, allocations: 153.3 kB / 0.7204 GB, free: 10.32 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007649/5.577, allocations: 232.7 kB / 0.7207 GB, free: 10.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006101/5.578, allocations: 147.1 kB / 0.7208 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.78e-06/5.578, allocations: 0 / 0.7208 GB, free: 9.918 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001737/5.58, allocations: 451.3 kB / 0.7212 GB, free: 9.473 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/5.58, allocations: 12.92 kB / 0.7212 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/5.58, allocations: 224 / 0.7212 GB, free: 9.461 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.147e-05/5.58, allocations: 8 kB / 0.7213 GB, free: 9.453 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008967/5.581, allocations: 83.83 kB / 0.7213 GB, free: 9.371 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/5.581, allocations: 7.938 kB / 0.7213 GB, free: 9.363 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/5.582, allocations: 83.62 kB / 0.7214 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/5.582, allocations: 20 kB / 0.7214 GB, free: 9.262 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: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * 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.000304/5.582, allocations: 144.9 kB / 0.7216 GB, free: 9.113 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/5.582, allocations: 43.52 kB / 0.7216 GB, free: 9.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/5.584, allocations: 432 kB / 0.722 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/5.584, allocations: 11.94 kB / 0.722 GB, free: 8.637 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.293e-05/5.584, allocations: 3.984 kB / 0.722 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/5.584, allocations: 0 / 0.722 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003653/5.588, allocations: 1.045 MB / 0.7231 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/5.588, allocations: 0 / 0.7231 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006579/5.589, allocations: 63.91 kB / 0.7231 GB, free: 7.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.655e-05/5.589, allocations: 3.906 kB / 0.7231 GB, free: 7.477 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-05/5.589, allocations: 11.98 kB / 0.7231 GB, free: 7.465 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/5.589, allocations: 0 / 0.7231 GB, free: 7.465 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/5.589, allocations: 0 / 0.7231 GB, free: 7.465 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001578/5.591, allocations: 496.7 kB / 0.7236 GB, free: 6.961 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001769/5.592, allocations: 0.8642 MB / 0.7245 GB, free: 6.074 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001628/5.593, allocations: 112.6 kB / 0.7246 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/5.593, allocations: 12 kB / 0.7246 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000946/5.594, allocations: 63.94 kB / 0.7246 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003606/5.594, allocations: 76.53 kB / 0.7247 GB, free: 5.797 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.06e-05/5.594, allocations: 16 kB / 0.7247 GB, free: 5.781 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0004315/5.595, allocations: 201.2 kB / 0.7249 GB, free: 5.586 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002024/5.597, allocations: 91.84 kB / 0.725 GB, free: 5.496 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: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * 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.0009491/5.598, allocations: 262.5 kB / 0.7253 GB, free: 5.281 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.00167/5.599, allocations: 486.3 kB / 0.7257 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.716e-06/5.599, allocations: 0 / 0.7257 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000828/5.6, allocations: 226.9 kB / 0.7259 GB, free: 4.578 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007772/5.601, allocations: 44.95 kB / 0.726 GB, free: 4.527 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/5.604, allocations: 0.6007 MB / 0.7266 GB, free: 3.906 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001131/5.605, allocations: 0.8979 MB / 0.7274 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of SimCode: time 2.004e-06/5.605, allocations: 0 / 0.7274 GB, free: 2.973 MB / 0.6042 GB