Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlowOptimised",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.202/4.202, allocations: 404 MB / 410.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2768/4.479, allocations: 95 MB / 0.4941 GB, free: 7.363 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5121/4.991, allocations: 92.69 MB / 0.5846 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.759/10.75, allocations: 2.155 GB / 2.74 GB, free: 61.77 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004517/10.75, allocations: 92.42 kB / 2.74 GB, free: 61.72 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.54/21.29, allocations: 1.916 GB / 4.656 GB, free: 146.9 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/21.29, allocations: 15.98 kB / 4.656 GB, free: 146.9 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002027/21.3, allocations: 198.2 kB / 4.656 GB, free: 146.7 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007995/21.3, allocations: 1.347 MB / 4.657 GB, free: 145.3 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.287e-05/21.3, allocations: 20 kB / 4.657 GB, free: 145.3 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002744/21.3, allocations: 52 kB / 4.657 GB, free: 145.3 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00263/21.31, allocations: 0.8316 MB / 4.658 GB, free: 144.4 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/21.31, allocations: 0.9955 MB / 4.659 GB, free: 143.4 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.004e-05/21.31, allocations: 0 / 4.659 GB, free: 143.4 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/21.31, allocations: 8 kB / 4.659 GB, free: 143.3 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.405e-05/21.31, allocations: 16 kB / 4.659 GB, free: 143.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009348/21.32, allocations: 5.148 MB / 4.664 GB, free: 137.9 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/21.32, allocations: 0.6142 MB / 4.665 GB, free: 137.2 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009637/21.32, allocations: 482.2 kB / 4.665 GB, free: 136.8 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 7.195e-05/21.32, allocations: 7.984 kB / 4.665 GB, free: 136.8 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008702/21.32, allocations: 435.1 kB / 4.665 GB, free: 136.3 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=40): time 3.656e-06/21.32, allocations: 0 / 4.665 GB, free: 136.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.05071/21.37, allocations: 4.136 MB / 4.67 GB, free: 132.1 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/21.37, allocations: 445 kB / 4.67 GB, free: 131.6 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002303/21.38, allocations: 0.9295 MB / 4.671 GB, free: 130.6 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002742/21.38, allocations: 33.77 kB / 4.671 GB, free: 130.6 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004486/21.38, allocations: 403.9 kB / 4.671 GB, free: 130.2 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/21.38, allocations: 138 kB / 4.671 GB, free: 130.1 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/21.38, allocations: 4 kB / 4.671 GB, free: 130 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 9.335e-05/21.38, allocations: 330 kB / 4.672 GB, free: 129.7 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/21.38, allocations: 429 kB / 4.672 GB, free: 129.3 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/21.38, allocations: 0.8309 MB / 4.673 GB, free: 128.3 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/21.38, allocations: 488.1 kB / 4.673 GB, free: 127.8 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.423e-06/21.38, allocations: 4 kB / 4.673 GB, free: 127.8 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.04497/21.43, allocations: 3.987 MB / 4.677 GB, free: 123.8 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005693/21.43, allocations: 2.551 MB / 4.68 GB, free: 121.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/21.43, allocations: 8 kB / 4.68 GB, free: 121.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002868/21.43, allocations: 0.7662 MB / 4.681 GB, free: 120.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000798/21.43, allocations: 91.83 kB / 4.681 GB, free: 120.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006762/21.44, allocations: 2.212 MB / 4.683 GB, free: 118 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004529/21.44, allocations: 247.1 kB / 4.683 GB, free: 117.7 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002614/21.44, allocations: 39.97 kB / 4.683 GB, free: 117.7 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/21.44, allocations: 8 kB / 4.683 GB, free: 117.7 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003023/21.45, allocations: 0.8358 MB / 4.684 GB, free: 116.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/21.45, allocations: 4 kB / 4.684 GB, free: 116.9 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00173/21.45, allocations: 319.5 kB / 4.684 GB, free: 116.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007167/21.45, allocations: 87.84 kB / 4.684 GB, free: 116.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00794/21.46, allocations: 3.434 MB / 4.688 GB, free: 112.9 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/21.46, allocations: 115.5 kB / 4.688 GB, free: 112.8 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001405/21.46, allocations: 28 kB / 4.688 GB, free: 112.8 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 (47): * Single equations (assignments): 45 * 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 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004291/21.46, allocations: 128.8 kB / 4.688 GB, free: 112.6 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003269/21.46, allocations: 110.7 kB / 4.688 GB, free: 112.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004109/21.46, allocations: 117.9 kB / 4.688 GB, free: 112.4 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/21.46, allocations: 4 kB / 4.688 GB, free: 112.4 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/21.46, allocations: 4 kB / 4.688 GB, free: 112.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/21.46, allocations: 11.98 kB / 4.688 GB, free: 112.4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004447/21.47, allocations: 1.99 MB / 4.69 GB, free: 110.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/21.47, allocations: 0 / 4.69 GB, free: 110.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/21.47, allocations: 39.91 kB / 4.69 GB, free: 110.3 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002677/21.47, allocations: 0.7234 MB / 4.691 GB, free: 109.6 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/21.47, allocations: 15.98 kB / 4.691 GB, free: 109.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06922/21.54, allocations: 10.11 MB / 4.701 GB, free: 99.33 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/21.54, allocations: 0 / 4.701 GB, free: 99.33 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03929/21.58, allocations: 3.585 MB / 4.704 GB, free: 95.64 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03965/21.62, allocations: 4.01 MB / 4.708 GB, free: 91.53 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001356/21.62, allocations: 279.7 kB / 4.708 GB, free: 91.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004164/21.62, allocations: 8 kB / 4.708 GB, free: 91.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003897/21.62, allocations: 199.6 kB / 4.709 GB, free: 91.04 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002664/21.62, allocations: 51.78 kB / 4.709 GB, free: 90.98 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/21.62, allocations: 23.92 kB / 4.709 GB, free: 90.96 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001665/21.62, allocations: 0.7178 MB / 4.709 GB, free: 90.23 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.007676/21.63, allocations: 0.9444 MB / 4.71 GB, free: 89.29 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 (17): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.002399/21.63, allocations: 1.212 MB / 4.711 GB, free: 88.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.006476/21.64, allocations: 1.64 MB / 4.713 GB, free: 86.54 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.08e-05/21.64, allocations: 0 / 4.713 GB, free: 86.54 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.003658/21.65, allocations: 0.7162 MB / 4.714 GB, free: 85.82 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007801/21.65, allocations: 0.5852 MB / 4.714 GB, free: 85.23 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007556/21.66, allocations: 2.018 MB / 4.716 GB, free: 83.2 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001518/21.66, allocations: 1.328 MB / 4.718 GB, free: 81.84 MB / 0.7605 GB Notification: Performance of SimCode: time 2.635e-06/21.66, allocations: 0 / 4.718 GB, free: 81.84 MB / 0.7605 GB