Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Examples.ElectricEIR,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Chillers_Examples_ElectricEIR",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.221/5.221, allocations: 404 MB / 410.9 MB, free: 4.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2972/5.518, allocations: 95 MB / 0.4941 GB, free: 7.336 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5398/6.058, allocations: 92.68 MB / 0.5846 GB, free: 3.41 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/7.11, allocations: 391.3 MB / 0.9667 GB, free: 40.69 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/7.111, allocations: 87.45 kB / 0.9668 GB, free: 40.65 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.184/10.29, allocations: 0.5962 GB / 1.563 GB, free: 102.7 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 7.092e-05/10.3, allocations: 12 kB / 1.563 GB, free: 102.7 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008801/10.3, allocations: 0.6999 MB / 1.564 GB, free: 102 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05286/10.36, allocations: 12.68 MB / 1.576 GB, free: 89.54 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000248/10.36, allocations: 109.5 kB / 1.576 GB, free: 89.42 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004849/10.36, allocations: 68 kB / 1.576 GB, free: 89.35 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004272/10.36, allocations: 0.9841 MB / 1.577 GB, free: 88.36 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004065/10.37, allocations: 1.174 MB / 1.578 GB, free: 87.08 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.871e-05/10.37, allocations: 7.938 kB / 1.578 GB, free: 87.07 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002193/10.37, allocations: 7.891 kB / 1.578 GB, free: 87.07 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.433e-05/10.37, allocations: 32 kB / 1.578 GB, free: 87.04 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/10.38, allocations: 7.125 MB / 1.585 GB, free: 79.55 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002698/10.38, allocations: 0.743 MB / 1.586 GB, free: 78.79 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001484/10.38, allocations: 451.9 kB / 1.587 GB, free: 78.34 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006267/10.38, allocations: 0.5898 MB / 1.587 GB, free: 77.62 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001747/10.39, allocations: 0.5443 MB / 1.588 GB, free: 77.05 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=71): time 8.516e-06/10.39, allocations: 3.938 kB / 1.588 GB, free: 77.05 MB / 0.7605 GB Notification: Performance of matching and sorting (n=73): time 0.01284/10.4, allocations: 2.995 MB / 1.591 GB, free: 73.98 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.16e-05/10.4, allocations: 229.5 kB / 1.591 GB, free: 73.71 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002334/10.4, allocations: 0.9843 MB / 1.592 GB, free: 72.71 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.000322/10.4, allocations: 29.7 kB / 1.592 GB, free: 72.68 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005919/10.4, allocations: 0.5119 MB / 1.592 GB, free: 72.16 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005052/10.4, allocations: 248.4 kB / 1.592 GB, free: 71.92 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001225/10.4, allocations: 0 / 1.592 GB, free: 71.92 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001048/10.4, allocations: 344.8 kB / 1.593 GB, free: 71.58 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/10.41, allocations: 361.9 kB / 1.593 GB, free: 71.23 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001492/10.41, allocations: 0.7498 MB / 1.594 GB, free: 70.31 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/10.41, allocations: 454.2 kB / 1.594 GB, free: 69.88 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/10.41, allocations: 0 / 1.594 GB, free: 69.88 MB / 0.7605 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.004463/10.41, allocations: 1.121 MB / 1.595 GB, free: 68.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006987/10.41, allocations: 3.29 MB / 1.599 GB, free: 65.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/10.41, allocations: 8 kB / 1.599 GB, free: 65.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.448e-05/10.41, allocations: 16 kB / 1.599 GB, free: 65.27 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004088/10.42, allocations: 359.5 kB / 1.599 GB, free: 64.92 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.774e-05/10.42, allocations: 15.98 kB / 1.599 GB, free: 64.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005485/10.42, allocations: 199.5 kB / 1.599 GB, free: 64.71 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004635/10.42, allocations: 55.98 kB / 1.599 GB, free: 64.66 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/10.42, allocations: 8 kB / 1.599 GB, free: 64.65 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005297/10.43, allocations: 0.9196 MB / 1.6 GB, free: 63.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/10.43, allocations: 8 kB / 1.6 GB, free: 63.72 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.6e-05/10.43, allocations: 15.94 kB / 1.6 GB, free: 63.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004836/10.43, allocations: 356.3 kB / 1.601 GB, free: 63.36 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.321e-05/10.43, allocations: 23.92 kB / 1.601 GB, free: 63.33 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03137/10.47, allocations: 183.6 kB / 1.601 GB, free: 63.15 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005156/10.47, allocations: 59.97 kB / 1.601 GB, free: 63.09 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.0006426/10.47, allocations: 136.2 kB / 1.601 GB, free: 62.96 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007221/10.47, allocations: 146.2 kB / 1.601 GB, free: 62.81 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/10.49, allocations: 1.122 MB / 1.602 GB, free: 61.68 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-05/10.49, allocations: 19.89 kB / 1.602 GB, free: 61.66 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.263e-05/10.49, allocations: 0 / 1.602 GB, free: 61.66 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01989/10.51, allocations: 0.9338 MB / 1.603 GB, free: 60.69 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/10.52, allocations: 3.101 MB / 1.606 GB, free: 57.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-05/10.52, allocations: 8 kB / 1.606 GB, free: 57.44 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004764/10.53, allocations: 276.3 kB / 1.606 GB, free: 57.17 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005953/10.53, allocations: 97.61 kB / 1.606 GB, free: 57.07 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002431/10.53, allocations: 23.98 kB / 1.607 GB, free: 57.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/10.53, allocations: 1.183 MB / 1.608 GB, free: 55.82 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.562e-05/10.53, allocations: 11.94 kB / 1.608 GB, free: 55.8 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008502/10.54, allocations: 2.39 MB / 1.61 GB, free: 53.05 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01139/10.55, allocations: 3.408 MB / 1.613 GB, free: 49.27 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001958/10.55, allocations: 444 kB / 1.614 GB, free: 48.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000707/10.55, allocations: 19.98 kB / 1.614 GB, free: 48.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00522/10.56, allocations: 179.5 kB / 1.614 GB, free: 48.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003798/10.56, allocations: 80.22 kB / 1.614 GB, free: 48.53 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002986/10.56, allocations: 51.97 kB / 1.614 GB, free: 48.48 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.002649/10.56, allocations: 0.7386 MB / 1.615 GB, free: 47.74 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.01155/10.57, allocations: 0.9216 MB / 1.616 GB, free: 46.82 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.002905/10.57, allocations: 0.7642 MB / 1.616 GB, free: 46.15 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01797/10.59, allocations: 1.504 MB / 1.618 GB, free: 44.63 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.662e-05/10.59, allocations: 4 kB / 1.618 GB, free: 44.63 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.00329/10.6, allocations: 0.5698 MB / 1.618 GB, free: 44.06 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03231/10.63, allocations: 0.6445 MB / 1.619 GB, free: 43.45 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02805/10.66, allocations: 2.656 MB / 1.622 GB, free: 40.67 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003008/10.66, allocations: 1.451 MB / 1.623 GB, free: 39.18 MB / 0.7605 GB Notification: Performance of SimCode: time 1.433e-06/10.66, allocations: 4 kB / 1.623 GB, free: 39.18 MB / 0.7605 GB