Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,fileNamePrefix="Buildings_5_0_1_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_Reheat",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.273/4.273, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2739/4.547, allocations: 95 MB / 0.4941 GB, free: 7.348 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5143/5.062, allocations: 92.7 MB / 0.5846 GB, free: 3.422 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2467/5.308, allocations: 122.2 MB / 0.7039 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003908/5.309, allocations: 87.94 kB / 0.704 GB, free: 11.42 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.02472/5.334, allocations: 4.741 MB / 0.7087 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.608e-05/5.334, allocations: 8 kB / 0.7087 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/5.334, allocations: 31.62 kB / 0.7087 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005333/5.334, allocations: 266.7 kB / 0.7089 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.088e-05/5.334, allocations: 12 kB / 0.709 GB, free: 6.258 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/5.335, allocations: 23.84 kB / 0.709 GB, free: 6.234 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008203/5.335, allocations: 201.2 kB / 0.7092 GB, free: 6.035 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008624/5.336, allocations: 259.8 kB / 0.7094 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/5.336, allocations: 0 / 0.7094 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.447e-05/5.336, allocations: 0 / 0.7094 GB, free: 5.77 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.836e-05/5.336, allocations: 8 kB / 0.7094 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00277/5.339, allocations: 0.8774 MB / 0.7103 GB, free: 4.84 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009264/5.34, allocations: 227.2 kB / 0.7105 GB, free: 4.609 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003488/5.341, allocations: 101.3 kB / 0.7106 GB, free: 4.508 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.367e-05/5.341, allocations: 8.219 kB / 0.7106 GB, free: 4.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003988/5.341, allocations: 131.6 kB / 0.7107 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=30): time 3.636e-06/5.341, allocations: 0 / 0.7107 GB, free: 4.359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=30): time 0.0007485/5.342, allocations: 193.3 kB / 0.7109 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/5.342, allocations: 59.41 kB / 0.711 GB, free: 4.094 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/5.342, allocations: 161.8 kB / 0.7111 GB, free: 3.926 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/5.342, allocations: 33.7 kB / 0.7112 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001406/5.342, allocations: 140.5 kB / 0.7113 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001172/5.342, allocations: 71.06 kB / 0.7114 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/5.343, allocations: 0 / 0.7114 GB, free: 3.676 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000221/5.343, allocations: 330.8 kB / 0.7117 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003089/5.343, allocations: 76 kB / 0.7117 GB, free: 3.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/5.343, allocations: 125.1 kB / 0.7119 GB, free: 3.129 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003044/5.344, allocations: 79.41 kB / 0.7119 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/5.344, allocations: 0 / 0.7119 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008532/5.345, allocations: 249.2 kB / 0.7122 GB, free: 2.801 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/5.345, allocations: 8 kB / 0.7122 GB, free: 2.793 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.274e-05/5.345, allocations: 4 kB / 0.7122 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.75e-05/5.345, allocations: 7.906 kB / 0.7122 GB, free: 2.781 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004503/5.345, allocations: 39.91 kB / 0.7122 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/5.345, allocations: 3.938 kB / 0.7122 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/5.346, allocations: 47.91 kB / 0.7123 GB, free: 2.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.483e-05/5.346, allocations: 8 kB / 0.7123 GB, free: 2.684 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001849/5.346, allocations: 135.9 kB / 0.7124 GB, free: 2.543 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/5.346, allocations: 15.81 kB / 0.7124 GB, free: 2.527 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008632/5.347, allocations: 229.2 kB / 0.7127 GB, free: 2.293 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/5.347, allocations: 4 kB / 0.7127 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/5.347, allocations: 0 / 0.7127 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/5.347, allocations: 0 / 0.7127 GB, free: 2.289 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/5.349, allocations: 0.6243 MB / 0.7133 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/5.349, allocations: 7.938 kB / 0.7133 GB, free: 1.613 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003579/5.349, allocations: 27.92 kB / 0.7133 GB, free: 1.586 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.295e-05/5.349, allocations: 4 kB / 0.7133 GB, free: 1.582 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/5.349, allocations: 4 kB / 0.7133 GB, free: 1.578 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/5.349, allocations: 3.984 kB / 0.7133 GB, free: 1.574 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/5.349, allocations: 3.938 kB / 0.7133 GB, free: 1.57 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007512/5.35, allocations: 303.2 kB / 0.7136 GB, free: 1.258 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0008966/5.351, allocations: 0.6719 MB / 0.7143 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.547e-05/5.351, allocations: 104.8 kB / 0.7144 GB, free: 456 kB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.151e-05/5.351, allocations: 3.984 kB / 0.7144 GB, free: 452 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005163/5.352, allocations: 35.97 kB / 0.7144 GB, free: 416 kB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/5.352, allocations: 35.94 kB / 0.7144 GB, free: 380 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.159e-05/5.352, allocations: 8 kB / 0.7144 GB, free: 372 kB / 0.5886 GB Notification: Performance of sort global known variables: time 0.0001572/5.352, allocations: 111.3 kB / 0.7146 GB, free: 260 kB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001645/5.354, allocations: 55.91 kB / 0.7146 GB, free: 204 kB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 21 (heaCon.offToOn.enableFire,heaCon.onToOff.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0002887/5.354, allocations: 132.8 kB / 0.7147 GB, free: 64 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0008568/5.355, allocations: 211.8 kB / 0.7149 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/5.355, allocations: 0 / 0.7149 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004388/5.356, allocations: 111.9 kB / 0.715 GB, free: 15.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005435/5.356, allocations: 26.73 kB / 0.7151 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001495/5.358, allocations: 311.4 kB / 0.7154 GB, free: 15.4 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008583/5.359, allocations: 0.7943 MB / 0.7161 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of SimCode: time 1.383e-06/5.359, allocations: 0 / 0.7161 GB, free: 14.58 MB / 0.6042 GB