Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Chillers_Examples_ElectricReformulatedEIR",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 5.051/5.051, allocations: 404 MB / 410.9 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2678/5.319, allocations: 95 MB / 0.4941 GB, free: 7.34 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6018/5.921, allocations: 92.68 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/7.073, allocations: 391.2 MB / 0.9667 GB, free: 40.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003625/7.073, allocations: 90.25 kB / 0.9667 GB, free: 40.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 266 * Number of variables: 266 Notification: Performance of Generate backend data structure: time 3.288/10.36, allocations: 0.5968 GB / 1.564 GB, free: 102.8 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/10.36, allocations: 15.94 kB / 1.564 GB, free: 102.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/10.37, allocations: 0.709 MB / 1.564 GB, free: 102.1 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07128/10.44, allocations: 12.71 MB / 1.577 GB, free: 89.57 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002333/10.45, allocations: 116.9 kB / 1.577 GB, free: 89.44 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005581/10.45, allocations: 68 kB / 1.577 GB, free: 89.38 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006129/10.45, allocations: 0.996 MB / 1.578 GB, free: 88.38 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006198/10.46, allocations: 1.191 MB / 1.579 GB, free: 87.07 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.433e-05/10.46, allocations: 7.938 kB / 1.579 GB, free: 87.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000498/10.46, allocations: 7.594 kB / 1.579 GB, free: 87.06 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-05/10.46, allocations: 32 kB / 1.579 GB, free: 87.03 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02038/10.48, allocations: 7.163 MB / 1.586 GB, free: 79.49 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004275/10.48, allocations: 0.7615 MB / 1.587 GB, free: 78.71 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/10.49, allocations: 463.8 kB / 1.587 GB, free: 78.25 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009061/10.49, allocations: 0.5936 MB / 1.588 GB, free: 77.54 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002396/10.49, allocations: 0.561 MB / 1.588 GB, free: 76.95 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=71): time 7.374e-06/10.49, allocations: 3.281 kB / 1.588 GB, free: 76.95 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73): time 0.01972/10.51, allocations: 3.139 MB / 1.591 GB, free: 73.73 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001291/10.51, allocations: 222.2 kB / 1.592 GB, free: 73.46 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003679/10.51, allocations: 1.029 MB / 1.593 GB, free: 72.43 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004587/10.51, allocations: 33.7 kB / 1.593 GB, free: 72.39 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009549/10.51, allocations: 0.512 MB / 1.593 GB, free: 71.88 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008061/10.52, allocations: 251.2 kB / 1.593 GB, free: 71.63 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000191/10.52, allocations: 0 / 1.593 GB, free: 71.63 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001747/10.52, allocations: 341.9 kB / 1.594 GB, free: 71.29 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001628/10.52, allocations: 376.2 kB / 1.594 GB, free: 70.93 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005165/10.52, allocations: 0.7672 MB / 1.595 GB, free: 69.99 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/10.53, allocations: 478 kB / 1.595 GB, free: 69.53 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/10.53, allocations: 7.062 kB / 1.595 GB, free: 69.53 MB / 0.7605 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.006232/10.53, allocations: 1.164 MB / 1.596 GB, free: 68.36 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008814/10.53, allocations: 3.302 MB / 1.6 GB, free: 64.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.032e-05/10.53, allocations: 15.91 kB / 1.6 GB, free: 64.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.792e-05/10.53, allocations: 12 kB / 1.6 GB, free: 64.87 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005043/10.54, allocations: 355.5 kB / 1.6 GB, free: 64.52 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.018e-05/10.54, allocations: 12 kB / 1.6 GB, free: 64.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00532/10.54, allocations: 195.6 kB / 1.6 GB, free: 64.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000325/10.54, allocations: 63.88 kB / 1.6 GB, free: 64.26 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/10.54, allocations: 6.812 kB / 1.6 GB, free: 64.25 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005488/10.55, allocations: 0.9709 MB / 1.601 GB, free: 63.28 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/10.55, allocations: 12 kB / 1.601 GB, free: 63.27 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.656e-05/10.55, allocations: 12 kB / 1.601 GB, free: 63.26 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005009/10.55, allocations: 351.6 kB / 1.602 GB, free: 62.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.373e-05/10.55, allocations: 19.92 kB / 1.602 GB, free: 62.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005284/10.56, allocations: 191.6 kB / 1.602 GB, free: 62.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/10.56, allocations: 59.97 kB / 1.602 GB, free: 62.65 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (115): * Single equations (assignments): 114 * 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.0006295/10.56, allocations: 138.8 kB / 1.602 GB, free: 62.52 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006156/10.56, allocations: 146.8 kB / 1.602 GB, free: 62.37 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007506/10.57, allocations: 1.173 MB / 1.603 GB, free: 61.18 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.213e-05/10.57, allocations: 11.91 kB / 1.603 GB, free: 61.17 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.429e-05/10.57, allocations: 0 / 1.603 GB, free: 61.17 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005268/10.57, allocations: 0.9845 MB / 1.604 GB, free: 60.15 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01418/10.59, allocations: 3.178 MB / 1.607 GB, free: 56.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.599e-05/10.59, allocations: 8 kB / 1.607 GB, free: 56.83 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004615/10.59, allocations: 275.7 kB / 1.608 GB, free: 56.56 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006086/10.59, allocations: 93.42 kB / 1.608 GB, free: 56.47 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002573/10.59, allocations: 23.98 kB / 1.608 GB, free: 56.45 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00175/10.6, allocations: 1.187 MB / 1.609 GB, free: 55.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.672e-05/10.6, allocations: 8 kB / 1.609 GB, free: 55.2 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01688/10.61, allocations: 2.465 MB / 1.611 GB, free: 52.38 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008717/10.62, allocations: 3.502 MB / 1.615 GB, free: 48.52 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/10.62, allocations: 452 kB / 1.615 GB, free: 48.04 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005177/10.62, allocations: 24.05 kB / 1.615 GB, free: 48.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003708/10.63, allocations: 171.7 kB / 1.615 GB, free: 47.84 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002462/10.63, allocations: 80.25 kB / 1.615 GB, free: 47.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002031/10.63, allocations: 55.97 kB / 1.615 GB, free: 47.71 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001922/10.63, allocations: 0.775 MB / 1.616 GB, free: 46.94 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007259/10.64, allocations: 0.9333 MB / 1.617 GB, free: 46 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002069/10.64, allocations: 0.769 MB / 1.618 GB, free: 45.32 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.00445/10.64, allocations: 1.52 MB / 1.619 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/10.64, allocations: 4.062 kB / 1.619 GB, free: 43.79 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.002366/10.65, allocations: 0.5814 MB / 1.62 GB, free: 43.21 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007129/10.65, allocations: 0.645 MB / 1.621 GB, free: 42.6 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01474/10.67, allocations: 2.713 MB / 1.623 GB, free: 39.76 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002193/10.67, allocations: 1.467 MB / 1.625 GB, free: 38.26 MB / 0.7605 GB Notification: Performance of SimCode: time 1.292e-06/10.67, allocations: 0 / 1.625 GB, free: 38.26 MB / 0.7605 GB