Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="me",version="2.0",platforms={"static"}) [: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(ModelicaTest): time 2.021/2.021, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2862/2.307, allocations: 51.04 MB / 267.3 MB, free: 5.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/2.444, allocations: 48.68 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.219/11.66, allocations: 3.673 GB / 3.981 GB, free: 93.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/11.66, allocations: 83.3 kB / 3.981 GB, free: 93.36 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2025 * Number of variables: 2025 Notification: Performance of Generate backend data structure: time 5.655/17.32, allocations: 0.9725 GB / 4.954 GB, free: 54.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/17.32, allocations: 9.969 kB / 4.954 GB, free: 54.82 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/17.33, allocations: 0.8622 MB / 4.955 GB, free: 54.43 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03979/17.37, allocations: 5.776 MB / 4.96 GB, free: 53.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007877/17.37, allocations: 245.4 kB / 4.96 GB, free: 53.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006231/17.38, allocations: 423.2 kB / 4.961 GB, free: 53.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06573/17.44, allocations: 15.78 MB / 4.976 GB, free: 53.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05984/17.5, allocations: 13.2 MB / 4.989 GB, free: 53.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009493/17.5, allocations: 28.73 kB / 4.989 GB, free: 53.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006518/17.51, allocations: 7.094 kB / 4.989 GB, free: 53.06 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001068/17.51, allocations: 0.7475 MB / 4.99 GB, free: 53.05 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1689/17.68, allocations: 41.64 MB / 5.031 GB, free: 44.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02545/17.71, allocations: 7.558 MB / 5.038 GB, free: 44.95 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0214/17.73, allocations: 7.287 MB / 5.045 GB, free: 44.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006/17.73, allocations: 4.151 MB / 5.049 GB, free: 40.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002162/17.73, allocations: 145.6 kB / 5.049 GB, free: 40.61 MB / 490.7 MB Notification: Performance of pre-optimization done (n=881): time 1.344e-05/17.73, allocations: 0 / 5.049 GB, free: 40.61 MB / 490.7 MB Notification: Performance of matching and sorting (n=1121): time 0.6231/18.36, allocations: 80.4 MB / 5.128 GB, free: 11.93 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/18.36, allocations: 166.2 kB / 5.128 GB, free: 11.75 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006397/18.36, allocations: 2.334 MB / 5.13 GB, free: 9.648 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.005166/18.37, allocations: 29.7 kB / 5.13 GB, free: 9.613 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/18.37, allocations: 2.03 MB / 5.132 GB, free: 7.832 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.008454/18.38, allocations: 3.75 MB / 5.136 GB, free: 4.398 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00516/18.38, allocations: 0 / 5.136 GB, free: 4.398 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001671/18.39, allocations: 0.751 MB / 5.137 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06039/18.45, allocations: 10.82 MB / 5.147 GB, free: 0 / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3619/18.81, allocations: 10.55 MB / 5.158 GB, free: 51 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.08185/18.89, allocations: 13.78 MB / 5.171 GB, free: 50.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/18.89, allocations: 9.844 kB / 5.171 GB, free: 50.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1588/19.05, allocations: 32.79 MB / 5.203 GB, free: 50.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00382/19.05, allocations: 12.45 MB / 5.215 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002952/19.05, allocations: 28.88 kB / 5.215 GB, free: 53.71 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4247/19.48, allocations: 39.77 MB / 5.254 GB, free: 53.4 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01048/19.49, allocations: 1.059 MB / 5.255 GB, free: 53.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1543/19.64, allocations: 37.5 MB / 5.292 GB, free: 48.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0368/19.68, allocations: 1.366 MB / 5.293 GB, free: 48.96 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008608/19.69, allocations: 0.6058 MB / 5.294 GB, free: 48.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/19.69, allocations: 5.938 kB / 5.294 GB, free: 48.87 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1434/19.83, allocations: 30.64 MB / 5.324 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002614/19.83, allocations: 37.2 kB / 5.324 GB, free: 26 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7655/20.6, allocations: 38.42 MB / 5.361 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01106/20.61, allocations: 1.159 MB / 5.362 GB, free: 57.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1295/20.74, allocations: 33.28 MB / 5.395 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02833/20.77, allocations: 1.35 MB / 5.396 GB, free: 56.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006095/20.77, allocations: 0.5939 MB / 5.397 GB, free: 56.73 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (590): * Single equations (assignments): 589 * Array equations: 0 * Algorithm blocks: 0 * 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 {67 719} Notification: Performance of prepare postOptimizeDAE: time 0.0106/20.78, allocations: 224.3 kB / 5.397 GB, free: 56.62 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006706/20.79, allocations: 0.5728 MB / 5.397 GB, free: 56.62 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1337/20.92, allocations: 28.53 MB / 5.425 GB, free: 55.68 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002713/20.92, allocations: 119.5 kB / 5.425 GB, free: 55.68 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.681e-05/20.92, allocations: 4.219 kB / 5.425 GB, free: 55.68 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09875/21.02, allocations: 21.82 MB / 5.447 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.191/21.21, allocations: 41.38 MB / 5.487 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000165/21.21, allocations: 3.891 kB / 5.487 GB, free: 46.31 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0248/21.24, allocations: 2.079 MB / 5.489 GB, free: 46.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07769/21.32, allocations: 10.58 MB / 5.499 GB, free: 44.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005729/21.32, allocations: 0.4982 MB / 5.5 GB, free: 44.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05547/21.38, allocations: 31.68 MB / 5.531 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.135e-05/21.38, allocations: 2.125 kB / 5.531 GB, free: 22.85 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.503/21.88, allocations: 37.91 MB / 5.568 GB, free: 59.85 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1769/22.06, allocations: 50.08 MB / 5.617 GB, free: 58.46 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003162/22.06, allocations: 0.6684 MB / 5.617 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007003/22.07, allocations: 288.8 kB / 5.618 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02603/22.1, allocations: 1.121 MB / 5.619 GB, free: 58.37 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00557/22.1, allocations: 0.6881 MB / 5.62 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005725/22.11, allocations: 0.5441 MB / 5.62 GB, free: 58.36 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.005107/22.11, allocations: 1.71 MB / 5.622 GB, free: 58.21 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.04677/22.16, allocations: 7.127 MB / 5.629 GB, free: 58.21 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 60 (pipe1.mediums[1].p,pipe1.mediums[1].Xi[1],pipe1.mediums[1].T,pipe1.mediums[2].p,pipe1.mediums[2].Xi[1],pipe1.mediums[2].T,pipe1.mediums[3].p,pipe1.mediums[3].Xi[1],pipe1.mediums[3].T,pipe1.mediums[4].p,pipe1.mediums[4].Xi[1],pipe1.mediums[4].T,pipe1.mediums[5].p,pipe1.mediums[5].Xi[1],pipe1.mediums[5].T,pipe2.mediums[1].p,pipe2.mediums[1].Xi[1],pipe2.mediums[1].T,pipe2.mediums[2].p,pipe2.mediums[2].Xi[1],pipe2.mediums[2].T,pipe2.mediums[3].p,pipe2.mediums[3].Xi[1],pipe2.mediums[3].T,pipe2.mediums[4].p,pipe2.mediums[4].Xi[1],pipe2.mediums[4].T,pipe2.mediums[5].p,pipe2.mediums[5].Xi[1],pipe2.mediums[5].T,pipe3.mediums[1].p,pipe3.mediums[1].Xi[1],pipe3.mediums[1].T,pipe3.mediums[2].p,pipe3.mediums[2].Xi[1],pipe3.mediums[2].T,pipe3.mediums[3].p,pipe3.mediums[3].Xi[1],pipe3.mediums[3].T,pipe3.mediums[4].p,pipe3.mediums[4].Xi[1],pipe3.mediums[4].T,pipe3.mediums[5].p,pipe3.mediums[5].Xi[1],pipe3.mediums[5].T,pipe4.mediums[1].p,pipe4.mediums[1].Xi[1],pipe4.mediums[1].T,pipe4.mediums[2].p,pipe4.mediums[2].Xi[1],pipe4.mediums[2].T,pipe4.mediums[3].p,pipe4.mediums[3].Xi[1],pipe4.mediums[3].T,pipe4.mediums[4].p,pipe4.mediums[4].Xi[1],pipe4.mediums[4].T,pipe4.mediums[5].p,pipe4.mediums[5].Xi[1],pipe4.mediums[5].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1056): * Single equations (assignments): 1029 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 27 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 22 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 22,2 6,2 6,2 6,2 6,2 6,2 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.02211/22.18, allocations: 4.045 MB / 5.633 GB, free: 57.8 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.1193/22.3, allocations: 33.84 MB / 5.666 GB, free: 57.28 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-05/22.3, allocations: 6.875 kB / 5.666 GB, free: 57.28 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.03936/22.34, allocations: 11.38 MB / 5.677 GB, free: 54.97 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02989/22.37, allocations: 2.531 MB / 5.679 GB, free: 54.58 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1217/22.49, allocations: 27 MB / 5.706 GB, free: 47.77 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02798/22.52, allocations: 6.435 MB / 5.712 GB, free: 45.94 MB / 0.4948 GB Notification: Performance of SimCode: time 1.763e-06/22.52, allocations: 0 / 5.712 GB, free: 45.94 MB / 0.4948 GB