Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,fileNamePrefix="Buildings_5_0_1_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage",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.486/4.486, allocations: 404 MB / 410.9 MB, free: 4.91 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2913/4.777, allocations: 95.03 MB / 0.4941 GB, free: 7.305 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/5.325, allocations: 92.67 MB / 0.5846 GB, free: 3.406 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3236/5.649, allocations: 125 MB / 0.7066 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005674/5.649, allocations: 87.94 kB / 0.7067 GB, free: 8.621 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.08292/5.732, allocations: 11.19 MB / 0.7176 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.365e-05/5.733, allocations: 8 kB / 0.7177 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003626/5.733, allocations: 59.34 kB / 0.7177 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001575/5.734, allocations: 390.8 kB / 0.7181 GB, free: 12.81 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001067/5.735, allocations: 27.94 kB / 0.7181 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/5.735, allocations: 35.89 kB / 0.7181 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002449/5.737, allocations: 413.9 kB / 0.7185 GB, free: 12.35 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/5.74, allocations: 472.1 kB / 0.719 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.601e-05/5.74, allocations: 3.938 kB / 0.719 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/5.74, allocations: 4 kB / 0.719 GB, free: 11.87 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-05/5.74, allocations: 12 kB / 0.719 GB, free: 11.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006091/5.746, allocations: 1.285 MB / 0.7203 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002133/5.748, allocations: 440.6 kB / 0.7207 GB, free: 10.09 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/5.75, allocations: 214.3 kB / 0.7209 GB, free: 9.879 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.531e-05/5.75, allocations: 4.5 kB / 0.7209 GB, free: 9.875 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/5.751, allocations: 285.2 kB / 0.7212 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=61): time 6.753e-06/5.751, allocations: 0 / 0.7212 GB, free: 9.582 MB / 0.6042 GB Notification: Performance of matching and sorting (n=61): time 0.002326/5.753, allocations: 432 kB / 0.7216 GB, free: 9.156 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/5.754, allocations: 67.91 kB / 0.7216 GB, free: 9.078 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/5.755, allocations: 327.1 kB / 0.722 GB, free: 8.754 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0002603/5.755, allocations: 45.69 kB / 0.722 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/5.755, allocations: 177.3 kB / 0.7222 GB, free: 8.527 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/5.756, allocations: 138.1 kB / 0.7223 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/5.756, allocations: 0 / 0.7223 GB, free: 8.391 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0003298/5.756, allocations: 362.8 kB / 0.7226 GB, free: 8.027 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/5.757, allocations: 189.5 kB / 0.7228 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001364/5.759, allocations: 281.7 kB / 0.7231 GB, free: 7.543 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001276/5.76, allocations: 191.1 kB / 0.7233 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/5.76, allocations: 0 / 0.7233 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003379/5.764, allocations: 0.5422 MB / 0.7238 GB, free: 6.809 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.691e-05/5.764, allocations: 6.656 kB / 0.7238 GB, free: 6.805 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.055e-05/5.764, allocations: 4.156 kB / 0.7238 GB, free: 6.801 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-05/5.764, allocations: 15.98 kB / 0.7238 GB, free: 6.785 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000829/5.765, allocations: 59.84 kB / 0.7239 GB, free: 6.727 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.283e-05/5.765, allocations: 4 kB / 0.7239 GB, free: 6.723 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008/5.766, allocations: 35.67 kB / 0.7239 GB, free: 6.688 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001851/5.766, allocations: 31.94 kB / 0.724 GB, free: 6.656 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: 71 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,$PRE.chiNumOn.y,chiNumOn.y,$PRE.chiNumOn.nextTime,chiNumOn.nextTime,$PRE.chiNumOn.index,chiNumOn.index,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 3 * 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.0004245/5.766, allocations: 160.8 kB / 0.7241 GB, free: 6.492 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002121/5.766, allocations: 35.53 kB / 0.7241 GB, free: 6.457 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002847/5.769, allocations: 0.4963 MB / 0.7246 GB, free: 5.949 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.698e-05/5.769, allocations: 12 kB / 0.7246 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/5.769, allocations: 0 / 0.7246 GB, free: 5.938 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.188e-05/5.769, allocations: 3.984 kB / 0.7246 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005551/5.775, allocations: 1.147 MB / 0.7258 GB, free: 4.742 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.277e-05/5.775, allocations: 3.906 kB / 0.7258 GB, free: 4.738 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005673/5.776, allocations: 47.91 kB / 0.7258 GB, free: 4.691 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.747e-05/5.776, allocations: 3.938 kB / 0.7258 GB, free: 4.688 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-05/5.776, allocations: 7.984 kB / 0.7258 GB, free: 4.68 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.661e-05/5.776, allocations: 4 kB / 0.7258 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/5.776, allocations: 0 / 0.7258 GB, free: 4.676 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002416/5.778, allocations: 0.5669 MB / 0.7264 GB, free: 4.09 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002834/5.781, allocations: 0.9501 MB / 0.7273 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002929/5.782, allocations: 116.6 kB / 0.7274 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/5.782, allocations: 11.98 kB / 0.7274 GB, free: 2.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000756/5.783, allocations: 23.89 kB / 0.7275 GB, free: 2.953 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004375/5.783, allocations: 68.55 kB / 0.7275 GB, free: 2.887 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002176/5.783, allocations: 39.95 kB / 0.7276 GB, free: 2.848 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0006223/5.784, allocations: 223.1 kB / 0.7278 GB, free: 2.629 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003428/5.787, allocations: 127.9 kB / 0.7279 GB, free: 2.504 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: 52 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.localActive,conSpePumSta.off.localActive,conSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.y,cooMod.nextTime,cooMod.index,chiNumOn.y,chiNumOn.nextTime,chiNumOn.index) * Number of discrete states: 7 (chiNumOn.nextTime,cooMod.nextTime,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.index,cooMod.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.001624/5.789, allocations: 298.5 kB / 0.7282 GB, free: 2.262 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002469/5.792, allocations: 0.5629 MB / 0.7287 GB, free: 1.684 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/5.792, allocations: 4.062 kB / 0.7287 GB, free: 1.68 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/5.793, allocations: 270.4 kB / 0.729 GB, free: 1.418 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008505/5.794, allocations: 32.55 kB / 0.729 GB, free: 1.383 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003905/5.798, allocations: 0.6981 MB / 0.7297 GB, free: 0.6562 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001754/5.8, allocations: 0.9097 MB / 0.7306 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of SimCode: time 1.332e-06/5.8, allocations: 4 kB / 0.7306 GB, free: 15.71 MB / 0.6198 GB