Running command: "" <> buildModelFMU(Buildings.Fluid.Storage.Examples.ExpansionVessel,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Storage_Examples_ExpansionVessel",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.232/4.232, allocations: 404 MB / 410.9 MB, free: 4.926 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2764/4.508, allocations: 95 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5246/5.033, allocations: 92.67 MB / 0.5846 GB, free: 3.395 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9969/6.03, allocations: 370.7 MB / 0.9465 GB, free: 60.99 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004724/6.03, allocations: 80.14 kB / 0.9466 GB, free: 60.95 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: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.377/6.407, allocations: 98.35 MB / 1.043 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/6.407, allocations: 16 kB / 1.043 GB, free: 4.062 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/6.408, allocations: 43.52 kB / 1.043 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02743/6.435, allocations: 6.36 MB / 1.049 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.086e-05/6.435, allocations: 11.94 kB / 1.049 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-05/6.435, allocations: 16 kB / 1.049 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005768/6.436, allocations: 144.9 kB / 1.049 GB, free: 13.38 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007042/6.437, allocations: 245.2 kB / 1.049 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/6.437, allocations: 4 kB / 1.049 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/6.437, allocations: 7.984 kB / 1.049 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.71e-05/6.437, allocations: 7.984 kB / 1.049 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002744/6.44, allocations: 1.402 MB / 1.051 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/6.44, allocations: 97.69 kB / 1.051 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001994/6.44, allocations: 64.84 kB / 1.051 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001875/6.442, allocations: 0.7677 MB / 1.052 GB, free: 10.56 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/6.442, allocations: 91.31 kB / 1.052 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=15): time 3.386e-06/6.442, allocations: 0 / 1.052 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=15): time 0.000547/6.443, allocations: 129.3 kB / 1.052 GB, free: 10.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.113e-05/6.443, allocations: 63.41 kB / 1.052 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/6.444, allocations: 267.6 kB / 1.052 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/6.444, allocations: 25.7 kB / 1.052 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000189/6.444, allocations: 183.8 kB / 1.052 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.912e-05/6.444, allocations: 55.33 kB / 1.052 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/6.444, allocations: 0 / 1.052 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001569/6.444, allocations: 338.8 kB / 1.053 GB, free: 9.375 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001781/6.444, allocations: 40.23 kB / 1.053 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002472/6.445, allocations: 129.6 kB / 1.053 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000351/6.445, allocations: 75.86 kB / 1.053 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/6.445, allocations: 0 / 1.053 GB, free: 9.098 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007816/6.446, allocations: 223.7 kB / 1.053 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/6.446, allocations: 8.031 kB / 1.053 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/6.446, allocations: 0 / 1.053 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.495e-05/6.446, allocations: 8 kB / 1.053 GB, free: 8.859 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/6.446, allocations: 55.91 kB / 1.053 GB, free: 8.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/6.446, allocations: 4 kB / 1.053 GB, free: 8.801 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006128/6.447, allocations: 39.67 kB / 1.053 GB, free: 8.762 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/6.447, allocations: 11.98 kB / 1.053 GB, free: 8.75 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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.0001433/6.447, allocations: 116.4 kB / 1.053 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.316e-05/6.447, allocations: 31.62 kB / 1.053 GB, free: 8.602 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005821/6.448, allocations: 152.2 kB / 1.054 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/6.448, allocations: 7.984 kB / 1.054 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/6.448, allocations: 4 kB / 1.054 GB, free: 8.438 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004986/6.448, allocations: 438.9 kB / 1.054 GB, free: 7.926 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007797/6.449, allocations: 336.4 kB / 1.054 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/6.449, allocations: 0 / 1.054 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004329/6.45, allocations: 43.91 kB / 1.054 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/6.45, allocations: 4.031 kB / 1.054 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.713e-05/6.45, allocations: 4 kB / 1.054 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/6.45, allocations: 4 kB / 1.054 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/6.45, allocations: 0 / 1.054 GB, free: 7.496 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006641/6.45, allocations: 243.2 kB / 1.055 GB, free: 7.23 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001026/6.451, allocations: 0.6832 MB / 1.055 GB, free: 6.516 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002479/6.452, allocations: 124.9 kB / 1.055 GB, free: 6.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.272e-05/6.452, allocations: 4 kB / 1.055 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004999/6.452, allocations: 23.97 kB / 1.055 GB, free: 6.348 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/6.452, allocations: 11.98 kB / 1.055 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.562e-05/6.453, allocations: 11.98 kB / 1.055 GB, free: 6.324 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0003989/6.453, allocations: 207.1 kB / 1.056 GB, free: 6.121 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001899/6.455, allocations: 143.7 kB / 1.056 GB, free: 5.98 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006493/6.456, allocations: 253.2 kB / 1.056 GB, free: 5.727 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005381/6.456, allocations: 159.2 kB / 1.056 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/6.456, allocations: 0 / 1.056 GB, free: 5.566 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001951/6.456, allocations: 59.92 kB / 1.056 GB, free: 5.508 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/6.458, allocations: 173.4 kB / 1.056 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/6.46, allocations: 0.5317 MB / 1.057 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000696/6.461, allocations: 0.8374 MB / 1.058 GB, free: 3.918 MB / 0.7292 GB Notification: Performance of SimCode: time 1.583e-06/6.461, allocations: 0 / 1.058 GB, free: 3.918 MB / 0.7292 GB