Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.215/4.215, allocations: 404 MB / 410.9 MB, free: 4.953 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2278/4.442, allocations: 95.01 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5806/5.023, allocations: 92.68 MB / 0.5846 GB, free: 3.414 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.529/10.55, allocations: 2.158 GB / 2.742 GB, free: 59.16 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004697/10.55, allocations: 92.31 kB / 2.742 GB, free: 59.11 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 10.8/21.35, allocations: 1.926 GB / 4.668 GB, free: 133.2 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/21.35, allocations: 8 kB / 4.668 GB, free: 133.2 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001999/21.36, allocations: 202.2 kB / 4.668 GB, free: 133 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008038/21.36, allocations: 1.383 MB / 4.669 GB, free: 131.6 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.62e-05/21.36, allocations: 20 kB / 4.669 GB, free: 131.6 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/21.36, allocations: 51.94 kB / 4.669 GB, free: 131.5 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002884/21.37, allocations: 0.8316 MB / 4.67 GB, free: 130.7 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/21.37, allocations: 0.9887 MB / 4.671 GB, free: 129.6 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.478e-05/21.37, allocations: 11.88 kB / 4.671 GB, free: 129.6 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001599/21.37, allocations: 4 kB / 4.671 GB, free: 129.6 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.572e-05/21.37, allocations: 20 kB / 4.671 GB, free: 129.6 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009511/21.38, allocations: 5.114 MB / 4.676 GB, free: 124.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/21.38, allocations: 0.5908 MB / 4.677 GB, free: 123.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009847/21.38, allocations: 458.4 kB / 4.677 GB, free: 123.1 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.087e-05/21.38, allocations: 12 kB / 4.677 GB, free: 123.1 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008459/21.38, allocations: 427.1 kB / 4.678 GB, free: 122.6 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=40): time 4.899e-06/21.38, allocations: 0 / 4.678 GB, free: 122.6 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.05704/21.44, allocations: 4.144 MB / 4.682 GB, free: 118.4 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/21.44, allocations: 456.9 kB / 4.682 GB, free: 117.9 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002274/21.44, allocations: 0.9256 MB / 4.683 GB, free: 116.9 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002793/21.44, allocations: 29.7 kB / 4.683 GB, free: 116.9 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/21.44, allocations: 403.9 kB / 4.683 GB, free: 116.5 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/21.44, allocations: 138 kB / 4.684 GB, free: 116.3 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/21.44, allocations: 4.062 kB / 4.684 GB, free: 116.3 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.176e-05/21.44, allocations: 333.9 kB / 4.684 GB, free: 116 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001131/21.44, allocations: 429 kB / 4.684 GB, free: 115.6 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/21.45, allocations: 0.8114 MB / 4.685 GB, free: 114.6 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/21.45, allocations: 492 kB / 4.686 GB, free: 114.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/21.45, allocations: 0 / 4.686 GB, free: 114.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.04534/21.49, allocations: 3.984 MB / 4.689 GB, free: 110.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007717/21.49, allocations: 2.542 MB / 4.692 GB, free: 107.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/21.49, allocations: 4 kB / 4.692 GB, free: 107.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/21.5, allocations: 0.7077 MB / 4.693 GB, free: 106.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/21.5, allocations: 95.81 kB / 4.693 GB, free: 106.6 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006285/21.51, allocations: 2.098 MB / 4.695 GB, free: 104.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/21.51, allocations: 251.2 kB / 4.695 GB, free: 104.2 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002501/21.51, allocations: 39.97 kB / 4.695 GB, free: 104.2 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/21.51, allocations: 6.812 kB / 4.695 GB, free: 104.2 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002638/21.51, allocations: 0.7653 MB / 4.696 GB, free: 103.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/21.51, allocations: 12.81 kB / 4.696 GB, free: 103.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/21.51, allocations: 248.7 kB / 4.696 GB, free: 103.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009242/21.52, allocations: 95.83 kB / 4.696 GB, free: 103 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006424/21.52, allocations: 2.91 MB / 4.699 GB, free: 100 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002578/21.52, allocations: 115.5 kB / 4.699 GB, free: 99.91 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/21.52, allocations: 28 kB / 4.699 GB, free: 99.88 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004277/21.52, allocations: 128.8 kB / 4.699 GB, free: 99.75 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003194/21.53, allocations: 114.7 kB / 4.699 GB, free: 99.64 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004106/21.53, allocations: 113.9 kB / 4.7 GB, free: 99.52 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/21.53, allocations: 4 kB / 4.7 GB, free: 99.52 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/21.53, allocations: 4 kB / 4.7 GB, free: 99.52 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/21.53, allocations: 11.92 kB / 4.7 GB, free: 99.5 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004812/21.53, allocations: 1.971 MB / 4.701 GB, free: 97.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/21.53, allocations: 7.906 kB / 4.701 GB, free: 97.45 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00067/21.53, allocations: 48.27 kB / 4.702 GB, free: 97.4 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002438/21.53, allocations: 0.6671 MB / 4.702 GB, free: 96.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001467/21.53, allocations: 11.98 kB / 4.702 GB, free: 96.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06964/21.6, allocations: 9.934 MB / 4.712 GB, free: 86.66 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/21.6, allocations: 4 kB / 4.712 GB, free: 86.66 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03847/21.64, allocations: 3.582 MB / 4.715 GB, free: 82.97 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.041/21.68, allocations: 4.026 MB / 4.719 GB, free: 78.83 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/21.68, allocations: 275.8 kB / 4.72 GB, free: 78.54 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004886/21.69, allocations: 11.98 kB / 4.72 GB, free: 78.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004015/21.69, allocations: 199.6 kB / 4.72 GB, free: 78.33 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002596/21.69, allocations: 39.84 kB / 4.72 GB, free: 78.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001201/21.69, allocations: 27.91 kB / 4.72 GB, free: 78.27 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001736/21.69, allocations: 0.7178 MB / 4.721 GB, free: 77.54 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.00771/21.7, allocations: 0.9716 MB / 4.721 GB, free: 76.57 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.00253/21.7, allocations: 1.294 MB / 4.723 GB, free: 75.26 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006617/21.71, allocations: 1.57 MB / 4.724 GB, free: 73.66 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/21.71, allocations: 4 kB / 4.724 GB, free: 73.66 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003642/21.71, allocations: 0.6653 MB / 4.725 GB, free: 72.98 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007712/21.72, allocations: 0.5778 MB / 4.725 GB, free: 72.4 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007335/21.73, allocations: 2.007 MB / 4.727 GB, free: 70.34 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/21.73, allocations: 1.328 MB / 4.729 GB, free: 68.98 MB / 0.7605 GB Notification: Performance of SimCode: time 1.883e-06/21.73, allocations: 7.938 kB / 4.729 GB, free: 68.97 MB / 0.7605 GB