Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_StandardWater",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.135/2.135, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1931/2.328, allocations: 57.21 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/2.64, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 14.95/17.59, allocations: 6.181 GB / 6.527 GB, free: 15.26 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/17.59, allocations: 82.28 kB / 6.527 GB, free: 15.22 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: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 5.309/22.9, allocations: 0.9541 GB / 7.481 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.246e-05/22.9, allocations: 8 kB / 7.481 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04754/22.95, allocations: 2.427 MB / 7.484 GB, free: 11.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04284/22.99, allocations: 5.427 MB / 7.489 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001818/23, allocations: 359.9 kB / 7.489 GB, free: 5.238 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007739/23, allocations: 387.8 kB / 7.49 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.324/23.33, allocations: 13.07 MB / 7.502 GB, free: 62.9 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04442/23.37, allocations: 11.69 MB / 7.514 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004798/23.37, allocations: 24.75 kB / 7.514 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004645/23.38, allocations: 19.83 kB / 7.514 GB, free: 61.71 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008248/23.38, allocations: 0.7113 MB / 7.515 GB, free: 61.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2792/23.66, allocations: 86.05 MB / 7.599 GB, free: 34.79 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01656/23.67, allocations: 5.34 MB / 7.604 GB, free: 34.75 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01379/23.69, allocations: 4.975 MB / 7.609 GB, free: 34.7 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01674/23.7, allocations: 5.909 MB / 7.614 GB, free: 30 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002063/23.7, allocations: 101.5 kB / 7.615 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=627): time 1.058e-05/23.7, allocations: 0 / 7.615 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of matching and sorting (n=729): time 0.1548/23.86, allocations: 32.8 MB / 7.647 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000138/23.86, allocations: 180.6 kB / 7.647 GB, free: 27.69 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007319/23.87, allocations: 2.519 MB / 7.649 GB, free: 27.4 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.002547/23.87, allocations: 25.7 kB / 7.649 GB, free: 27.37 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001901/23.87, allocations: 2.234 MB / 7.651 GB, free: 26.01 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005113/23.88, allocations: 2.419 MB / 7.654 GB, free: 24.39 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003164/23.88, allocations: 2.5 kB / 7.654 GB, free: 24.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0009622/23.88, allocations: 0.6234 MB / 7.654 GB, free: 24.07 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0167/23.9, allocations: 5.48 MB / 7.66 GB, free: 24.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01873/23.92, allocations: 6.944 MB / 7.667 GB, free: 22.55 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06132/23.98, allocations: 9.318 MB / 7.676 GB, free: 22.45 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001681/23.98, allocations: 11.53 kB / 7.676 GB, free: 22.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.1449/24.12, allocations: 21.88 MB / 7.697 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.291/24.41, allocations: 16.16 MB / 7.713 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003774/24.41, allocations: 38.62 kB / 7.713 GB, free: 63.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1631/24.58, allocations: 23 MB / 7.735 GB, free: 63.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007395/24.58, allocations: 0.901 MB / 7.736 GB, free: 63.16 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08997/24.67, allocations: 22.76 MB / 7.758 GB, free: 62.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01806/24.69, allocations: 0.8187 MB / 7.759 GB, free: 62.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003884/24.7, allocations: 374.3 kB / 7.76 GB, free: 62.38 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/24.7, allocations: 3.688 kB / 7.76 GB, free: 62.38 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1159/24.81, allocations: 18.72 MB / 7.778 GB, free: 62.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002667/24.81, allocations: 40.05 kB / 7.778 GB, free: 62.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1586/24.97, allocations: 19.73 MB / 7.797 GB, free: 61.87 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00817/24.98, allocations: 0.9914 MB / 7.798 GB, free: 61.87 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07542/25.06, allocations: 19.06 MB / 7.817 GB, free: 61.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01558/25.07, allocations: 0.7888 MB / 7.817 GB, free: 61.19 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003417/25.07, allocations: 367.1 kB / 7.818 GB, free: 61.19 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe2.vs[1]:VARIABLE(unit = "m/s" ) "mean velocities in flow segments" type: Real [5] pipe2.vs[2]:VARIABLE(unit = "m/s" ) "mean velocities in flow segments" type: Real [5] pipe2.vs[4]:VARIABLE(unit = "m/s" ) "mean velocities in flow segments" type: Real [5] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 177 * Number of states: 0 () * Number of discrete variables: 30 (pipe4.state_b.phase,pipe4.state_a.phase,pipe3.state_b.phase,pipe3.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,boundary4.medium.phase,boundary1.medium.phase,pipe2.state_b.phase,pipe2.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (505): * Single equations (assignments): 504 * 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 {69 451} Notification: Performance of prepare postOptimizeDAE: time 0.007321/25.08, allocations: 256.6 kB / 7.818 GB, free: 61.08 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00902/25.09, allocations: 1.415 MB / 7.819 GB, free: 61.08 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07214/25.16, allocations: 22.93 MB / 7.842 GB, free: 60.02 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002499/25.16, allocations: 163.2 kB / 7.842 GB, free: 60.02 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.346e-05/25.16, allocations: 0 / 7.842 GB, free: 60.02 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.07567/25.24, allocations: 18.75 MB / 7.86 GB, free: 56.02 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3966/25.64, allocations: 32.65 MB / 7.892 GB, free: 70.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001885/25.64, allocations: 5.125 kB / 7.892 GB, free: 70.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.04605/25.68, allocations: 2.52 MB / 7.895 GB, free: 70.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01192/25.69, allocations: 1.853 MB / 7.896 GB, free: 70.32 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00337/25.7, allocations: 200.4 kB / 7.897 GB, free: 70.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03943/25.74, allocations: 35.16 MB / 7.931 GB, free: 41.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/25.74, allocations: 0 / 7.931 GB, free: 41.34 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08126/25.82, allocations: 27.03 MB / 7.957 GB, free: 40.44 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1166/25.94, allocations: 36.91 MB / 7.993 GB, free: 38.76 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002862/25.94, allocations: 0.6758 MB / 7.994 GB, free: 38.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003891/25.94, allocations: 91.84 kB / 7.994 GB, free: 38.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01402/25.96, allocations: 0.621 MB / 7.995 GB, free: 38.33 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003652/25.96, allocations: 0.6102 MB / 7.995 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002767/25.96, allocations: 271.9 kB / 7.996 GB, free: 38.32 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.005135/25.97, allocations: 1.832 MB / 7.997 GB, free: 38.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.03644/26, allocations: 5.995 MB / 8.003 GB, free: 38.18 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 62 (pipe1.mediums[1].p,pipe1.mediums[1].h,pipe1.mediums[2].p,pipe1.mediums[2].h,pipe1.mediums[3].p,pipe1.mediums[3].h,pipe1.mediums[4].p,pipe1.mediums[4].h,pipe1.mediums[5].p,pipe1.mediums[5].h,pipe1.flowModel.m_flows[1],pipe1.flowModel.m_flows[2],pipe1.flowModel.m_flows[3],pipe1.flowModel.m_flows[4],pipe1.flowModel.m_flows[5],pipe1.flowModel.m_flows[6],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe2.mediums[3].p,pipe2.mediums[3].h,pipe2.mediums[4].p,pipe2.mediums[4].h,pipe2.mediums[5].p,pipe2.mediums[5].h,pipe2.flowModel.m_flows[1],pipe2.flowModel.m_flows[2],pipe2.flowModel.m_flows[3],pipe2.flowModel.m_flows[4],pipe3.mediums[1].p,pipe3.mediums[1].h,pipe3.mediums[2].p,pipe3.mediums[2].h,pipe3.mediums[3].p,pipe3.mediums[3].h,pipe3.mediums[4].p,pipe3.mediums[4].h,pipe3.mediums[5].p,pipe3.mediums[5].h,pipe3.flowModel.m_flows[1],pipe3.flowModel.m_flows[2],pipe3.flowModel.m_flows[3],pipe3.flowModel.m_flows[4],pipe3.flowModel.m_flows[5],pipe3.flowModel.m_flows[6],pipe4.mediums[1].p,pipe4.mediums[1].h,pipe4.mediums[2].p,pipe4.mediums[2].h,pipe4.mediums[3].p,pipe4.mediums[3].h,pipe4.mediums[4].p,pipe4.mediums[4].h,pipe4.mediums[5].p,pipe4.mediums[5].h,pipe4.flowModel.m_flows[1],pipe4.flowModel.m_flows[2],pipe4.flowModel.m_flows[3],pipe4.flowModel.m_flows[4],pipe4.flowModel.m_flows[5],pipe4.flowModel.m_flows[6]) * Number of discrete variables: 79 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse35.phase,$cse35.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,$cse41.phase,$cse41.region,$cse42.phase,$cse42.region,$cse43.phase,$cse43.region,$cse44.phase,$cse44.region,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,$cse54.phase,$cse54.region,$cse55.phase,$cse55.region,$cse56.phase,$cse56.region,$cse57.phase,$cse57.region,$cse58.phase,$cse58.region,$cse65.phase,$cse65.region,$cse66.phase,$cse66.region,$cse67.phase,$cse67.region,$cse68.phase,$cse68.region,pipe1.statesFM[2].phase,pipe1.statesFM[3].phase,pipe1.statesFM[4].phase,pipe1.statesFM[5].phase,pipe1.statesFM[6].phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,pipe2.statesFM[3].phase,pipe2.statesFM[4].phase,pipe2.statesFM[5].phase,pipe3.statesFM[2].phase,pipe3.statesFM[3].phase,pipe3.statesFM[4].phase,pipe3.statesFM[5].phase,pipe3.statesFM[6].phase,pipe4.statesFM[2].phase,pipe4.statesFM[3].phase,pipe4.statesFM[4].phase,pipe4.statesFM[5].phase,pipe4.statesFM[6].phase,boundary4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (769): * Single equations (assignments): 693 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 22 * Torn equation systems: 25 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 22 {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 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: 20 {1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02626/26.03, allocations: 4.068 MB / 8.007 GB, free: 37.78 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.08089/26.11, allocations: 24.36 MB / 8.031 GB, free: 37.37 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.67e-05/26.11, allocations: 6.812 kB / 8.031 GB, free: 37.37 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0576/26.17, allocations: 12.03 MB / 8.043 GB, free: 33.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02097/26.19, allocations: 1.754 MB / 8.045 GB, free: 33.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4235/26.61, allocations: 35.82 MB / 8.079 GB, free: 71.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02111/26.64, allocations: 5.755 MB / 8.085 GB, free: 70.33 MB / 0.5417 GB Notification: Performance of SimCode: time 1.723e-06/26.64, allocations: 0 / 8.085 GB, free: 70.33 MB / 0.5417 GB