Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_MomentumSteadyState,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_MomentumSteadyState",fmuType="cs",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(ModelicaTest): time 2.543/2.543, allocations: 235 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1714/2.715, allocations: 57.2 MB / 299.2 MB, free: 432 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/2.992, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.28/13.27, allocations: 3.679 GB / 4.025 GB, free: 93.2 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004386/13.27, allocations: 80.52 kB / 4.025 GB, free: 93.17 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 6.323/19.59, allocations: 0.983 GB / 5.008 GB, free: 18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.635e-05/19.59, allocations: 11.31 kB / 5.008 GB, free: 18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/19.61, allocations: 0.8711 MB / 5.009 GB, free: 17.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04665/19.66, allocations: 5.783 MB / 5.014 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001284/19.66, allocations: 245.3 kB / 5.015 GB, free: 16.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007871/19.66, allocations: 421.2 kB / 5.015 GB, free: 16.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07952/19.74, allocations: 15.78 MB / 5.03 GB, free: 15.42 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07754/19.82, allocations: 13.21 MB / 5.043 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008149/19.82, allocations: 15.91 kB / 5.043 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007053/19.83, allocations: 14.62 kB / 5.043 GB, free: 5.469 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001455/19.83, allocations: 0.7478 MB / 5.044 GB, free: 4.836 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5372/20.37, allocations: 47.13 MB / 5.09 GB, free: 59.59 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03051/20.4, allocations: 7.555 MB / 5.098 GB, free: 59.56 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02393/20.42, allocations: 7.282 MB / 5.105 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006898/20.43, allocations: 4.155 MB / 5.109 GB, free: 55.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/20.43, allocations: 143.7 kB / 5.109 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=881): time 1.543e-05/20.43, allocations: 3.312 kB / 5.109 GB, free: 55.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1121): time 0.7581/21.19, allocations: 80.41 MB / 5.187 GB, free: 53 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/21.19, allocations: 165.2 kB / 5.187 GB, free: 52.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007945/21.2, allocations: 2.329 MB / 5.19 GB, free: 52.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.00577/21.2, allocations: 35.23 kB / 5.19 GB, free: 52.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002385/21.21, allocations: 2.024 MB / 5.192 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.009479/21.21, allocations: 3.756 MB / 5.195 GB, free: 49.35 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005156/21.22, allocations: 0 / 5.195 GB, free: 49.35 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001402/21.22, allocations: 0.7428 MB / 5.196 GB, free: 49.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03134/21.25, allocations: 9.158 MB / 5.205 GB, free: 49 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03515/21.29, allocations: 10.55 MB / 5.215 GB, free: 44.85 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0964/21.38, allocations: 13.78 MB / 5.229 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001353/21.38, allocations: 9.469 kB / 5.229 GB, free: 41.23 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1375) (initialization): time 0.1766/21.56, allocations: 32.79 MB / 5.261 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0032/21.56, allocations: 12.45 MB / 5.273 GB, free: 1.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003145/21.56, allocations: 33.83 kB / 5.273 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.8784/22.44, allocations: 41.66 MB / 5.314 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01142/22.45, allocations: 1.067 MB / 5.315 GB, free: 60.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.152/22.61, allocations: 37.5 MB / 5.351 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03296/22.64, allocations: 1.372 MB / 5.353 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006237/22.65, allocations: 0.6026 MB / 5.353 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/22.65, allocations: 6.75 kB / 5.353 GB, free: 59.71 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1743/22.82, allocations: 30.65 MB / 5.383 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002784/22.82, allocations: 26.97 kB / 5.383 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.4836/23.3, allocations: 38.37 MB / 5.421 GB, free: 58.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01504/23.32, allocations: 1.16 MB / 5.422 GB, free: 58.63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1341/23.45, allocations: 33.28 MB / 5.454 GB, free: 35.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04102/23.49, allocations: 1.352 MB / 5.456 GB, free: 34.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006273/23.5, allocations: 0.5933 MB / 5.456 GB, free: 34.12 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.01011/23.51, allocations: 219.9 kB / 5.457 GB, free: 33.98 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006434/23.52, allocations: 0.5765 MB / 5.457 GB, free: 33.68 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4863/24, allocations: 29.64 MB / 5.486 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002381/24, allocations: 118.9 kB / 5.486 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.367e-05/24, allocations: 3.812 kB / 5.486 GB, free: 53.91 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1002/24.1, allocations: 21.83 MB / 5.507 GB, free: 53.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2016/24.31, allocations: 41.39 MB / 5.548 GB, free: 51.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001509/24.31, allocations: 1.406 kB / 5.548 GB, free: 51.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02782/24.33, allocations: 2.077 MB / 5.55 GB, free: 51.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0844/24.42, allocations: 10.59 MB / 5.56 GB, free: 51.65 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00563/24.42, allocations: 0.4937 MB / 5.561 GB, free: 51.65 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06437/24.49, allocations: 31.68 MB / 5.592 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.638e-06/24.49, allocations: 3.656 kB / 5.592 GB, free: 34.42 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1628/24.65, allocations: 36.09 MB / 5.627 GB, free: 28.93 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2098/24.86, allocations: 50.08 MB / 5.676 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003387/24.87, allocations: 0.6654 MB / 5.677 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00708/24.87, allocations: 293.8 kB / 5.677 GB, free: 4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03024/24.9, allocations: 1.11 MB / 5.678 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005863/24.91, allocations: 0.6928 MB / 5.679 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.005694/24.91, allocations: 0.5505 MB / 5.679 GB, free: 2.473 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.005615/24.92, allocations: 1.707 MB / 5.681 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0838/25, allocations: 9.872 MB / 5.69 GB, free: 420 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.3191/25.32, allocations: 4.059 MB / 5.694 GB, free: 59.14 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.1299/25.45, allocations: 33.84 MB / 5.727 GB, free: 58.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/25.45, allocations: 4.344 kB / 5.727 GB, free: 58.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.04327/25.5, allocations: 11.38 MB / 5.739 GB, free: 58.08 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03354/25.53, allocations: 2.539 MB / 5.741 GB, free: 58.05 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1373/25.67, allocations: 27.01 MB / 5.767 GB, free: 55.52 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02719/25.69, allocations: 6.427 MB / 5.774 GB, free: 54.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.944e-06/25.69, allocations: 2 kB / 5.774 GB, free: 54.6 MB / 0.5261 GB