Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.BranchingDynamicPipes_StandardWater,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestExamplesVariants_BranchingDynamicPipes_StandardWater",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.515/2.515, allocations: 235.1 MB / 242 MB, free: 9.656 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1451/2.661, allocations: 57.19 MB / 299.2 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/2.948, allocations: 54.87 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.4/19.35, allocations: 6.181 GB / 6.527 GB, free: 14.54 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002684/19.35, allocations: 83.19 kB / 6.527 GB, free: 14.5 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.926/25.28, allocations: 0.9541 GB / 7.481 GB, free: 12.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.588e-05/25.28, allocations: 8 kB / 7.481 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0532/25.33, allocations: 2.43 MB / 7.484 GB, free: 10.06 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03324/25.36, allocations: 5.429 MB / 7.489 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001284/25.37, allocations: 355.9 kB / 7.489 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005129/25.37, allocations: 387.8 kB / 7.49 GB, free: 3.906 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3563/25.73, allocations: 13.07 MB / 7.503 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04785/25.78, allocations: 11.69 MB / 7.514 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004943/25.78, allocations: 19.09 kB / 7.514 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004933/25.78, allocations: 12.19 kB / 7.514 GB, free: 61.77 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00101/25.78, allocations: 0.7207 MB / 7.515 GB, free: 61.76 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3272/26.11, allocations: 86.03 MB / 7.599 GB, free: 34.91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02237/26.13, allocations: 5.346 MB / 7.604 GB, free: 34.87 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02009/26.15, allocations: 4.971 MB / 7.609 GB, free: 34.82 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01886/26.17, allocations: 5.92 MB / 7.615 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/26.17, allocations: 107.7 kB / 7.615 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=627): time 1.126e-05/26.17, allocations: 0 / 7.615 GB, free: 30.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=729): time 0.1925/26.36, allocations: 32.79 MB / 7.647 GB, free: 27.95 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002402/26.36, allocations: 179.5 kB / 7.647 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01483/26.38, allocations: 2.521 MB / 7.649 GB, free: 27.54 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.004056/26.38, allocations: 25.7 kB / 7.649 GB, free: 27.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.003486/26.39, allocations: 2.23 MB / 7.651 GB, free: 26.14 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.005388/26.39, allocations: 2.42 MB / 7.654 GB, free: 24.53 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002517/26.39, allocations: 2.062 kB / 7.654 GB, free: 24.53 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.001132/26.4, allocations: 0.6291 MB / 7.654 GB, free: 24.21 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01882/26.41, allocations: 5.478 MB / 7.66 GB, free: 24.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0218/26.44, allocations: 6.938 MB / 7.667 GB, free: 22.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07594/26.51, allocations: 9.321 MB / 7.676 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.842e-05/26.51, allocations: 10.94 kB / 7.676 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1024) (initialization): time 0.114/26.63, allocations: 21.88 MB / 7.697 GB, free: 15.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.3127/26.94, allocations: 16.17 MB / 7.713 GB, free: 64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000266/26.94, allocations: 38.88 kB / 7.713 GB, free: 64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1831/27.12, allocations: 23 MB / 7.735 GB, free: 63.37 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008438/27.13, allocations: 0.9022 MB / 7.736 GB, free: 63.37 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.098/27.23, allocations: 22.76 MB / 7.758 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01874/27.25, allocations: 0.8197 MB / 7.759 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003379/27.25, allocations: 372 kB / 7.76 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/27.25, allocations: 3.375 kB / 7.76 GB, free: 62.59 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0956/27.35, allocations: 18.71 MB / 7.778 GB, free: 62.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001863/27.35, allocations: 38.53 kB / 7.778 GB, free: 62.41 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.209/27.56, allocations: 19.74 MB / 7.797 GB, free: 62.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009534/27.57, allocations: 0.9921 MB / 7.798 GB, free: 62.08 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09007/27.66, allocations: 19.06 MB / 7.817 GB, free: 61.41 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01875/27.67, allocations: 0.7898 MB / 7.818 GB, free: 61.41 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003944/27.68, allocations: 355.8 kB / 7.818 GB, free: 61.41 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.006503/27.69, allocations: 262.5 kB / 7.818 GB, free: 61.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009902/27.7, allocations: 1.414 MB / 7.82 GB, free: 61.3 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08233/27.78, allocations: 22.93 MB / 7.842 GB, free: 60.24 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002653/27.78, allocations: 159.7 kB / 7.842 GB, free: 60.24 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.034e-05/27.78, allocations: 6.109 kB / 7.842 GB, free: 60.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06603/27.84, allocations: 18.76 MB / 7.86 GB, free: 56.39 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4076/28.25, allocations: 32.57 MB / 7.892 GB, free: 70.54 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.66e-05/28.25, allocations: 0 / 7.892 GB, free: 70.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03539/28.29, allocations: 2.518 MB / 7.895 GB, free: 70.54 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01095/28.3, allocations: 1.853 MB / 7.896 GB, free: 70.34 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003101/28.3, allocations: 195.3 kB / 7.897 GB, free: 70.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03824/28.34, allocations: 35.17 MB / 7.931 GB, free: 41.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.215e-06/28.34, allocations: 0 / 7.931 GB, free: 41.36 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.09185/28.43, allocations: 27.03 MB / 7.957 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1204/28.55, allocations: 36.92 MB / 7.993 GB, free: 38.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003215/28.56, allocations: 0.6707 MB / 7.994 GB, free: 38.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004666/28.56, allocations: 86.62 kB / 7.994 GB, free: 38.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01609/28.58, allocations: 0.6227 MB / 7.995 GB, free: 38.37 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004227/28.58, allocations: 0.6065 MB / 7.995 GB, free: 38.36 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002269/28.58, allocations: 275 kB / 7.996 GB, free: 38.36 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.005726/28.59, allocations: 1.832 MB / 7.997 GB, free: 38.21 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.04037/28.63, allocations: 5.993 MB / 8.003 GB, free: 38.21 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.03124/28.66, allocations: 4.074 MB / 8.007 GB, free: 37.82 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.09807/28.76, allocations: 24.36 MB / 8.031 GB, free: 37.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.769e-05/28.76, allocations: 0.5 kB / 8.031 GB, free: 37.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.06058/28.82, allocations: 12.04 MB / 8.043 GB, free: 33.12 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0254/28.84, allocations: 1.752 MB / 8.045 GB, free: 32.84 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5103/29.36, allocations: 35.82 MB / 8.079 GB, free: 70.96 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02285/29.38, allocations: 5.756 MB / 8.085 GB, free: 70.1 MB / 0.5417 GB Notification: Performance of SimCode: time 1.884e-06/29.38, allocations: 1.5 kB / 8.085 GB, free: 70.1 MB / 0.5417 GB