Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.BranchingDynamicPipes,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_BranchingDynamicPipes",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(Modelica): time 1.694/1.694, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2345/1.928, allocations: 41.09 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/2.045, allocations: 38.77 MB / 258 MB, free: 4.375 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.049/11.09, allocations: 3.664 GB / 3.916 GB, free: 78.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/11.1, allocations: 73.73 kB / 3.916 GB, free: 78.91 MB / 346.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.618/16.71, allocations: 0.9731 GB / 4.89 GB, free: 10.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/16.71, allocations: 8 kB / 4.89 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01079/16.72, allocations: 0.8607 MB / 4.89 GB, free: 9.531 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03119/16.76, allocations: 5.744 MB / 4.896 GB, free: 4.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007601/16.76, allocations: 244 kB / 4.896 GB, free: 4.562 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006398/16.76, allocations: 431.6 kB / 4.897 GB, free: 4.141 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06732/16.83, allocations: 16.27 MB / 4.913 GB, free: 3.852 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3373/17.17, allocations: 13.48 MB / 4.926 GB, free: 45.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006267/17.17, allocations: 26.2 kB / 4.926 GB, free: 45.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006172/17.17, allocations: 9.969 kB / 4.926 GB, free: 45.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001085/17.18, allocations: 0.749 MB / 4.926 GB, free: 45.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1779/17.35, allocations: 42.84 MB / 4.968 GB, free: 37.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02496/17.38, allocations: 7.977 MB / 4.976 GB, free: 37.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02704/17.41, allocations: 7.787 MB / 4.984 GB, free: 37.49 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005688/17.41, allocations: 4.159 MB / 4.988 GB, free: 33.26 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002366/17.41, allocations: 150.2 kB / 4.988 GB, free: 33.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=925): time 1.316e-05/17.41, allocations: 0 / 4.988 GB, free: 33.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=1187): time 0.5862/18, allocations: 82.24 MB / 5.068 GB, free: 16.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/18, allocations: 172.7 kB / 5.068 GB, free: 16.29 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006976/18, allocations: 2.263 MB / 5.071 GB, free: 14.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.005091/18.01, allocations: 35.08 kB / 5.071 GB, free: 14.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001782/18.01, allocations: 1.94 MB / 5.072 GB, free: 12.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.009427/18.02, allocations: 3.975 MB / 5.076 GB, free: 8.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005075/18.03, allocations: 1.438 kB / 5.076 GB, free: 8.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001352/18.03, allocations: 0.77 MB / 5.077 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03281/18.06, allocations: 9.636 MB / 5.087 GB, free: 0 / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2953/18.36, allocations: 10.93 MB / 5.097 GB, free: 47.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.07154/18.43, allocations: 14.26 MB / 5.111 GB, free: 47.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001411/18.43, allocations: 7.375 kB / 5.111 GB, free: 47.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=1441) (initialization): time 0.1652/18.59, allocations: 34.25 MB / 5.145 GB, free: 46.76 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.003315/18.6, allocations: 10.46 MB / 5.155 GB, free: 36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003475/18.6, allocations: 24.47 kB / 5.155 GB, free: 36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.423/19.02, allocations: 41.76 MB / 5.196 GB, free: 35.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01008/19.03, allocations: 1.072 MB / 5.197 GB, free: 35.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1484/19.18, allocations: 39.7 MB / 5.235 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02939/19.21, allocations: 1.405 MB / 5.237 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006275/19.21, allocations: 0.6067 MB / 5.237 GB, free: 12.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/19.21, allocations: 7.219 kB / 5.237 GB, free: 12.37 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4399/19.65, allocations: 34.63 MB / 5.271 GB, free: 40.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003342/19.65, allocations: 30.69 kB / 5.271 GB, free: 40.74 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4054/20.06, allocations: 40.81 MB / 5.311 GB, free: 40.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0108/20.07, allocations: 1.125 MB / 5.312 GB, free: 40.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1354/20.21, allocations: 36.79 MB / 5.348 GB, free: 39.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02837/20.23, allocations: 1.385 MB / 5.349 GB, free: 39.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005765/20.24, allocations: 0.6022 MB / 5.35 GB, free: 39.61 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 114 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (606): * Single equations (assignments): 605 * 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 {68 768} Notification: Performance of prepare postOptimizeDAE: time 0.009519/20.25, allocations: 211 kB / 5.35 GB, free: 39.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00666/20.26, allocations: 0.5912 MB / 5.351 GB, free: 39.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.124/20.38, allocations: 29.22 MB / 5.379 GB, free: 35.63 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002706/20.38, allocations: 125.9 kB / 5.379 GB, free: 35.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.944e-05/20.38, allocations: 1.875 kB / 5.379 GB, free: 35.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.089/20.47, allocations: 22.34 MB / 5.401 GB, free: 21.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5195/20.99, allocations: 43.97 MB / 5.444 GB, free: 44.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001628/20.99, allocations: 3.25 kB / 5.444 GB, free: 44.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.03768/21.03, allocations: 3.211 MB / 5.447 GB, free: 44.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.06232/21.09, allocations: 9.51 MB / 5.457 GB, free: 43.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.006065/21.1, allocations: 0.5117 MB / 5.457 GB, free: 43.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06068/21.16, allocations: 43.63 MB / 5.5 GB, free: 31 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.957e-06/21.16, allocations: 2.969 kB / 5.5 GB, free: 31 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1617/21.32, allocations: 38.35 MB / 5.537 GB, free: 29.91 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1983/21.52, allocations: 53.02 MB / 5.589 GB, free: 1.105 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003758/21.52, allocations: 0.6836 MB / 5.59 GB, free: 448 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00733/21.53, allocations: 300.6 kB / 5.59 GB, free: 220 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.2877/21.82, allocations: 1.379 MB / 5.591 GB, free: 59.53 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.005555/21.82, allocations: 0.7213 MB / 5.592 GB, free: 59.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00516/21.83, allocations: 0.5607 MB / 5.593 GB, free: 59.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.007249/21.83, allocations: 1.664 MB / 5.594 GB, free: 59.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.05681/21.89, allocations: 7.23 MB / 5.601 GB, free: 59.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 82 (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,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].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,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].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,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].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,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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1168): * Single equations (assignments): 1121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,2 6,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.02187/21.91, allocations: 4.088 MB / 5.605 GB, free: 59.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.1242/22.04, allocations: 35.66 MB / 5.64 GB, free: 58.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.201e-05/22.04, allocations: 6 kB / 5.64 GB, free: 58.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.05543/22.09, allocations: 12.98 MB / 5.653 GB, free: 57.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02905/22.12, allocations: 2.532 MB / 5.655 GB, free: 57.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.126/22.25, allocations: 29.22 MB / 5.684 GB, free: 53.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02543/22.27, allocations: 6.69 MB / 5.69 GB, free: 52.98 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/22.27, allocations: 4 kB / 5.69 GB, free: 52.98 MB / 442.7 MB