Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97OnePhase_ph",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.234/2.234, allocations: 235 MB / 241.9 MB, free: 9.676 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1795/2.414, allocations: 57.21 MB / 299.1 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2915/2.705, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.78/9.485, allocations: 2.626 GB / 2.972 GB, free: 93.02 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005147/9.486, allocations: 90.22 kB / 2.972 GB, free: 92.97 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 2.696/12.18, allocations: 0.4886 GB / 3.46 GB, free: 50.49 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/12.18, allocations: 12.09 kB / 3.46 GB, free: 50.49 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004125/12.19, allocations: 340.7 kB / 3.461 GB, free: 50.45 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002031/12.19, allocations: 0.6199 MB / 3.461 GB, free: 50.21 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/12.19, allocations: 86.62 kB / 3.461 GB, free: 50.14 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/12.19, allocations: 32.59 kB / 3.461 GB, free: 50.14 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001853/12.19, allocations: 0.6652 MB / 3.462 GB, free: 50.14 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00332/12.19, allocations: 0.8883 MB / 3.463 GB, free: 49.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.783e-05/12.19, allocations: 8.562 kB / 3.463 GB, free: 49.86 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/12.19, allocations: 3.344 kB / 3.463 GB, free: 49.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/12.19, allocations: 46.8 kB / 3.463 GB, free: 49.85 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3518/12.55, allocations: 83.08 MB / 3.544 GB, free: 30.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/12.55, allocations: 230.2 kB / 3.544 GB, free: 30.72 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004152/12.55, allocations: 161.7 kB / 3.544 GB, free: 30.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.123/12.67, allocations: 34.05 MB / 3.578 GB, free: 25.17 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.371e-05/12.67, allocations: 39.41 kB / 3.578 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=33): time 4.349e-06/12.67, allocations: 4 kB / 3.578 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=37): time 0.005502/12.68, allocations: 1.346 MB / 3.579 GB, free: 24.71 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.422e-05/12.68, allocations: 135.8 kB / 3.579 GB, free: 24.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008737/12.68, allocations: 0.4994 MB / 3.58 GB, free: 24.42 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.983e-05/12.68, allocations: 25.7 kB / 3.58 GB, free: 24.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002167/12.68, allocations: 373.4 kB / 3.58 GB, free: 24.14 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/12.68, allocations: 138.7 kB / 3.58 GB, free: 24.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.814e-05/12.68, allocations: 0 / 3.58 GB, free: 24.06 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001936/12.68, allocations: 369.6 kB / 3.581 GB, free: 23.75 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/12.68, allocations: 219.7 kB / 3.581 GB, free: 23.74 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007536/12.68, allocations: 0.5839 MB / 3.581 GB, free: 23.28 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/12.68, allocations: 341.2 kB / 3.582 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/12.68, allocations: 2.844 kB / 3.582 GB, free: 23.26 MB / 0.5261 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003327/12.68, allocations: 1.03 MB / 3.583 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/12.68, allocations: 7.188 kB / 3.583 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/12.68, allocations: 13.34 kB / 3.583 GB, free: 23.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/12.68, allocations: 60.81 kB / 3.583 GB, free: 23.15 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/12.69, allocations: 286.4 kB / 3.583 GB, free: 23.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002373/12.69, allocations: 1.974 MB / 3.585 GB, free: 21.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/12.69, allocations: 51.94 kB / 3.585 GB, free: 21.35 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.248e-05/12.69, allocations: 44.66 kB / 3.585 GB, free: 21.35 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 10 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002825/12.69, allocations: 144.7 kB / 3.585 GB, free: 21.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/12.69, allocations: 268.5 kB / 3.585 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003103/12.69, allocations: 1.76 MB / 3.587 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.158e-05/12.69, allocations: 28.23 kB / 3.587 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/12.69, allocations: 0 / 3.587 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/12.69, allocations: 6.609 kB / 3.587 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/12.7, allocations: 2.651 MB / 3.59 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.798e-06/12.7, allocations: 0 / 3.59 GB, free: 20.66 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/12.7, allocations: 168.8 kB / 3.59 GB, free: 20.65 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/12.7, allocations: 79.86 kB / 3.59 GB, free: 20.64 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/12.7, allocations: 14.69 kB / 3.59 GB, free: 20.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002496/12.7, allocations: 2.016 MB / 3.592 GB, free: 34.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/12.7, allocations: 0.9844 kB / 3.592 GB, free: 34.85 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003909/12.71, allocations: 2.057 MB / 3.594 GB, free: 34.62 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006253/12.71, allocations: 2.981 MB / 3.597 GB, free: 34.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000743/12.71, allocations: 231.1 kB / 3.597 GB, free: 33.88 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/12.72, allocations: 9.781 kB / 3.597 GB, free: 33.87 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/12.72, allocations: 46.56 kB / 3.597 GB, free: 33.87 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.527e-05/12.72, allocations: 22.59 kB / 3.597 GB, free: 33.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.326e-05/12.72, allocations: 19.36 kB / 3.597 GB, free: 33.87 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0007184/12.72, allocations: 362 kB / 3.598 GB, free: 33.78 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007151/12.72, allocations: 1.251 MB / 3.599 GB, free: 33.61 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 12 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01079/12.74, allocations: 1.727 MB / 3.601 GB, free: 33.25 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003786/12.74, allocations: 1.123 MB / 3.602 GB, free: 33.24 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/12.74, allocations: 0 / 3.602 GB, free: 33.24 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002917/12.74, allocations: 0.8999 MB / 3.602 GB, free: 33.24 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002592/12.74, allocations: 249.3 kB / 3.603 GB, free: 33.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003994/12.75, allocations: 1.615 MB / 3.604 GB, free: 32.84 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/12.75, allocations: 1.154 MB / 3.605 GB, free: 32.11 MB / 0.5417 GB Notification: Performance of SimCode: time 1.322e-06/12.75, allocations: 0 / 3.605 GB, free: 32.11 MB / 0.5417 GB