Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_2_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.157/2.157, allocations: 235 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1831/2.34, allocations: 57.21 MB / 299.1 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/2.616, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.192/11.81, allocations: 3.679 GB / 4.025 GB, free: 94.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/11.81, allocations: 80.48 kB / 4.025 GB, free: 94.29 MB / 474.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.543/17.35, allocations: 0.983 GB / 5.008 GB, free: 17.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.092e-05/17.35, allocations: 10.53 kB / 5.008 GB, free: 17.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/17.36, allocations: 0.8728 MB / 5.009 GB, free: 17.54 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03056/17.39, allocations: 5.777 MB / 5.014 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008003/17.39, allocations: 251.6 kB / 5.015 GB, free: 16.56 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00578/17.4, allocations: 414.1 kB / 5.015 GB, free: 16.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05697/17.46, allocations: 15.78 MB / 5.03 GB, free: 15.38 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07179/17.53, allocations: 13.21 MB / 5.043 GB, free: 5.828 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006756/17.53, allocations: 23.23 kB / 5.043 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00556/17.53, allocations: 11.91 kB / 5.043 GB, free: 5.797 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009103/17.54, allocations: 0.7474 MB / 5.044 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4974/18.03, allocations: 47.14 MB / 5.09 GB, free: 60.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03135/18.06, allocations: 7.561 MB / 5.097 GB, free: 60.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0267/18.09, allocations: 7.278 MB / 5.105 GB, free: 60.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005657/18.1, allocations: 4.153 MB / 5.109 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00022/18.1, allocations: 147.2 kB / 5.109 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=881): time 1.366e-05/18.1, allocations: 3.844 kB / 5.109 GB, free: 55.97 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1121): time 0.607/18.7, allocations: 80.4 MB / 5.187 GB, free: 53.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/18.7, allocations: 164.3 kB / 5.187 GB, free: 53.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007007/18.71, allocations: 2.329 MB / 5.19 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.004918/18.72, allocations: 32.42 kB / 5.19 GB, free: 53.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002117/18.72, allocations: 2.031 MB / 5.192 GB, free: 52.54 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.008432/18.73, allocations: 3.749 MB / 5.195 GB, free: 50.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004772/18.73, allocations: 2.375 kB / 5.195 GB, free: 50.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001317/18.73, allocations: 0.7441 MB / 5.196 GB, free: 49.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02873/18.76, allocations: 9.157 MB / 5.205 GB, free: 49.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03049/18.79, allocations: 10.55 MB / 5.215 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.08803/18.88, allocations: 13.77 MB / 5.229 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001632/18.88, allocations: 8.906 kB / 5.229 GB, free: 42.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1556/19.04, allocations: 32.79 MB / 5.261 GB, free: 16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0029/19.04, allocations: 12.45 MB / 5.273 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002753/19.04, allocations: 28 kB / 5.273 GB, free: 2.785 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.7475/19.79, allocations: 41.19 MB / 5.313 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/19.8, allocations: 1.058 MB / 5.314 GB, free: 60.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1438/19.94, allocations: 37.5 MB / 5.351 GB, free: 59.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02897/19.97, allocations: 1.37 MB / 5.352 GB, free: 59.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005859/19.98, allocations: 0.6081 MB / 5.353 GB, free: 59.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/19.98, allocations: 3.156 kB / 5.353 GB, free: 59.4 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1413/20.12, allocations: 30.64 MB / 5.383 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002332/20.12, allocations: 35.03 kB / 5.383 GB, free: 59.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4171/20.54, allocations: 38.37 MB / 5.42 GB, free: 58.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01141/20.55, allocations: 1.166 MB / 5.421 GB, free: 58.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.116/20.66, allocations: 33.27 MB / 5.454 GB, free: 36.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02674/20.69, allocations: 1.34 MB / 5.455 GB, free: 35.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005607/20.7, allocations: 0.5929 MB / 5.456 GB, free: 34.88 MB / 0.5261 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.009186/20.7, allocations: 229.4 kB / 5.456 GB, free: 34.73 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006152/20.71, allocations: 0.5793 MB / 5.457 GB, free: 34.43 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4511/21.16, allocations: 29.2 MB / 5.485 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002368/21.16, allocations: 121.9 kB / 5.485 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-05/21.16, allocations: 3.25 kB / 5.485 GB, free: 53.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.09717/21.26, allocations: 21.83 MB / 5.506 GB, free: 52.74 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1772/21.44, allocations: 41.38 MB / 5.547 GB, free: 51.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001638/21.44, allocations: 2.078 kB / 5.547 GB, free: 51.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02374/21.46, allocations: 2.084 MB / 5.549 GB, free: 51.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08007/21.54, allocations: 10.58 MB / 5.559 GB, free: 51.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005251/21.55, allocations: 0.4934 MB / 5.56 GB, free: 51.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05257/21.6, allocations: 31.69 MB / 5.591 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/21.6, allocations: 1.125 kB / 5.591 GB, free: 33.96 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1564/21.76, allocations: 36.08 MB / 5.626 GB, free: 28.68 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1796/21.93, allocations: 50.09 MB / 5.675 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003381/21.94, allocations: 0.6685 MB / 5.676 GB, free: 4.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006506/21.94, allocations: 285.8 kB / 5.676 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02585/21.97, allocations: 1.114 MB / 5.677 GB, free: 3.984 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005355/21.98, allocations: 0.6899 MB / 5.678 GB, free: 3.594 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005558/21.98, allocations: 0.5488 MB / 5.678 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.005261/21.99, allocations: 1.707 MB / 5.68 GB, free: 1.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.08209/22.07, allocations: 9.397 MB / 5.689 GB, free: 100 kB / 0.5261 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.3421/22.41, allocations: 4.052 MB / 5.693 GB, free: 59.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1339/22.55, allocations: 33.84 MB / 5.726 GB, free: 58.91 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.668e-05/22.55, allocations: 4.75 kB / 5.726 GB, free: 58.91 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0451/22.59, allocations: 11.38 MB / 5.737 GB, free: 58.36 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0291/22.62, allocations: 2.545 MB / 5.74 GB, free: 58.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.115/22.73, allocations: 27 MB / 5.766 GB, free: 55.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02197/22.76, allocations: 6.43 MB / 5.772 GB, free: 54.88 MB / 0.5261 GB Notification: Performance of SimCode: time 2.344e-06/22.76, allocations: 3.562 kB / 5.772 GB, free: 54.88 MB / 0.5261 GB