Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes16,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_BranchingPipes16",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.242/2.242, allocations: 235 MB / 241.9 MB, free: 9.73 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.1707/2.413, allocations: 57.19 MB / 299.1 MB, free: 0.9336 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/2.753, allocations: 54.84 MB / 354 MB, free: 1.578 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.723/4.476, allocations: 0.6869 GB / 1.033 GB, free: 23.62 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/4.476, allocations: 86.16 kB / 1.033 GB, free: 23.58 MB / 482.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 2.812/7.288, allocations: 0.5496 GB / 1.582 GB, free: 16.98 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/7.288, allocations: 8 kB / 1.582 GB, free: 16.97 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005544/7.293, allocations: 444.7 kB / 1.583 GB, free: 16.53 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009247/7.303, allocations: 1.954 MB / 1.585 GB, free: 14.52 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/7.303, allocations: 63.94 kB / 1.585 GB, free: 14.46 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00109/7.304, allocations: 96 kB / 1.585 GB, free: 14.37 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007385/7.311, allocations: 2.173 MB / 1.587 GB, free: 12.19 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00802/7.32, allocations: 2.407 MB / 1.589 GB, free: 9.633 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.781e-05/7.32, allocations: 11.92 kB / 1.589 GB, free: 9.621 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004038/7.32, allocations: 8 kB / 1.589 GB, free: 9.613 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002266/7.32, allocations: 159 kB / 1.589 GB, free: 9.457 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0272/7.348, allocations: 11.41 MB / 1.601 GB, free: 13.29 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003647/7.351, allocations: 1.033 MB / 1.602 GB, free: 12.25 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003064/7.354, allocations: 0.9801 MB / 1.602 GB, free: 11.27 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001802/7.356, allocations: 460.3 kB / 1.603 GB, free: 10.76 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00369/7.36, allocations: 1.067 MB / 1.604 GB, free: 9.664 MB / 498.8 MB Notification: Performance of pre-optimization done (n=153): time 6.673e-06/7.36, allocations: 4 kB / 1.604 GB, free: 9.66 MB / 498.8 MB Notification: Performance of matching and sorting (n=173): time 0.0788/7.439, allocations: 9.423 MB / 1.613 GB, free: 168 kB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2607/7.7, allocations: 258.6 kB / 1.613 GB, free: 87.57 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003739/7.703, allocations: 1.079 MB / 1.614 GB, free: 87.42 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008778/7.704, allocations: 29.45 kB / 1.614 GB, free: 87.39 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/7.705, allocations: 0.6697 MB / 1.615 GB, free: 87.3 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001602/7.707, allocations: 0.5592 MB / 1.616 GB, free: 87.08 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/7.708, allocations: 3.75 kB / 1.616 GB, free: 87.08 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 0.0002352/7.708, allocations: 388.2 kB / 1.616 GB, free: 86.77 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004207/7.712, allocations: 0.9916 MB / 1.617 GB, free: 86.77 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005985/7.718, allocations: 1.426 MB / 1.618 GB, free: 86.34 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01931/7.737, allocations: 2.419 MB / 1.621 GB, free: 86.33 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.471e-05/7.738, allocations: 3.344 kB / 1.621 GB, free: 86.33 MB / 498.8 MB Notification: Performance of matching and sorting (n=263) (initialization): time 0.02498/7.763, allocations: 4.069 MB / 1.625 GB, free: 86.12 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.001028/7.764, allocations: 4.172 MB / 1.629 GB, free: 81.86 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.829e-05/7.764, allocations: 10.53 kB / 1.629 GB, free: 81.86 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007116/7.764, allocations: 175.8 kB / 1.629 GB, free: 81.83 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005088/7.77, allocations: 0.5322 MB / 1.63 GB, free: 81.83 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002054/7.772, allocations: 2.368 MB / 1.632 GB, free: 79.76 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004686/7.776, allocations: 177.6 kB / 1.632 GB, free: 79.75 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001026/7.777, allocations: 184.2 kB / 1.632 GB, free: 79.75 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/7.778, allocations: 6.375 kB / 1.632 GB, free: 79.75 MB / 498.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02263/7.8, allocations: 3.538 MB / 1.636 GB, free: 79.67 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.786e-05/7.8, allocations: 10.91 kB / 1.636 GB, free: 79.67 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005483/7.801, allocations: 169.2 kB / 1.636 GB, free: 79.64 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004797/7.806, allocations: 0.5294 MB / 1.636 GB, free: 79.64 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/7.808, allocations: 2.367 MB / 1.639 GB, free: 77.57 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0042/7.812, allocations: 168.8 kB / 1.639 GB, free: 77.56 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000809/7.813, allocations: 183.7 kB / 1.639 GB, free: 77.56 MB / 498.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (247): * Single equations (assignments): 241 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0009713/7.814, allocations: 228.8 kB / 1.639 GB, free: 77.39 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006753/7.814, allocations: 191 kB / 1.639 GB, free: 77.3 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02927/7.844, allocations: 4.241 MB / 1.644 GB, free: 77.14 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.291e-05/7.844, allocations: 17.22 kB / 1.644 GB, free: 77.14 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.259e-05/7.844, allocations: 0 / 1.644 GB, free: 77.14 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02287/7.867, allocations: 3.498 MB / 1.647 GB, free: 76.62 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03499/7.902, allocations: 6.787 MB / 1.654 GB, free: 75.69 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/7.902, allocations: 4.562 kB / 1.654 GB, free: 75.69 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003877/7.906, allocations: 404.2 kB / 1.654 GB, free: 75.69 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006672/7.906, allocations: 164.7 kB / 1.654 GB, free: 75.66 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005198/7.907, allocations: 74.17 kB / 1.654 GB, free: 75.66 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/7.909, allocations: 3.032 MB / 1.657 GB, free: 72.91 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/7.909, allocations: 11 kB / 1.657 GB, free: 72.91 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02919/7.939, allocations: 5.265 MB / 1.662 GB, free: 71.88 MB / 498.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03142/7.97, allocations: 7.148 MB / 1.669 GB, free: 70.45 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/7.972, allocations: 0.5048 MB / 1.67 GB, free: 70.25 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009809/7.973, allocations: 24.5 kB / 1.67 GB, free: 70.25 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00474/7.978, allocations: 92.91 kB / 1.67 GB, free: 70.25 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/7.979, allocations: 140 kB / 1.67 GB, free: 70.24 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008411/7.98, allocations: 150.6 kB / 1.67 GB, free: 70.24 MB / 498.8 MB Notification: Performance of sort global known variables: time 0.003083/7.983, allocations: 0.7966 MB / 1.671 GB, free: 70.13 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.01539/7.999, allocations: 2.258 MB / 1.673 GB, free: 70.13 MB / 498.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01324/8.012, allocations: 2.686 MB / 1.676 GB, free: 69.85 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.01787/8.03, allocations: 3.955 MB / 1.68 GB, free: 69.67 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 2.103e-05/8.03, allocations: 0 / 1.68 GB, free: 69.67 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 0.00553/8.035, allocations: 1.375 MB / 1.681 GB, free: 69.51 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01165/8.047, allocations: 0.7502 MB / 1.682 GB, free: 69.5 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02892/8.076, allocations: 5.617 MB / 1.687 GB, free: 68.61 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005859/8.082, allocations: 2.149 MB / 1.689 GB, free: 67.86 MB / 498.8 MB Notification: Performance of SimCode: time 2.094e-06/8.082, allocations: 0 / 1.689 GB, free: 67.86 MB / 498.8 MB