Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_ph,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_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(Modelica): time 1.702/1.702, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2126/1.914, allocations: 46.85 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09289/2.007, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.881/7.889, allocations: 2.575 GB / 2.862 GB, free: 84.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/7.889, allocations: 86.25 kB / 2.862 GB, free: 84.06 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 2.027/9.916, allocations: 427.8 MB / 3.28 GB, free: 38.29 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/9.916, allocations: 9.875 kB / 3.28 GB, free: 38.29 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002103/9.919, allocations: 168.9 kB / 3.28 GB, free: 38.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006052/9.919, allocations: 314.5 kB / 3.28 GB, free: 38.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.29e-05/9.919, allocations: 18.16 kB / 3.28 GB, free: 38.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/9.919, allocations: 27.09 kB / 3.281 GB, free: 38.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007823/9.92, allocations: 304.5 kB / 3.281 GB, free: 38.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007598/9.921, allocations: 360.3 kB / 3.281 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/9.921, allocations: 1.781 kB / 3.281 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/9.921, allocations: 0 / 3.281 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/9.921, allocations: 7.156 kB / 3.281 GB, free: 37.94 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004124/9.925, allocations: 2.586 MB / 3.284 GB, free: 36.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00041/9.926, allocations: 165.8 kB / 3.284 GB, free: 36.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002803/9.926, allocations: 120.2 kB / 3.284 GB, free: 36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/9.927, allocations: 0.5519 MB / 3.284 GB, free: 35.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/9.927, allocations: 41.53 kB / 3.285 GB, free: 35.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 2.484e-06/9.927, allocations: 1.859 kB / 3.285 GB, free: 35.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.004076/9.931, allocations: 0.953 MB / 3.285 GB, free: 35.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/9.931, allocations: 54.81 kB / 3.286 GB, free: 35.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002775/9.932, allocations: 197.7 kB / 3.286 GB, free: 35.01 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.59e-05/9.932, allocations: 25.7 kB / 3.286 GB, free: 34.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/9.932, allocations: 176.8 kB / 3.286 GB, free: 34.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.545e-05/9.932, allocations: 107.5 kB / 3.286 GB, free: 34.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.81e-05/9.932, allocations: 0 / 3.286 GB, free: 34.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.963e-05/9.932, allocations: 340.2 kB / 3.286 GB, free: 34.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/9.932, allocations: 104 kB / 3.286 GB, free: 34.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/9.933, allocations: 200.6 kB / 3.287 GB, free: 34.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000535/9.933, allocations: 127.3 kB / 3.287 GB, free: 34.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.011e-06/9.933, allocations: 2.312 kB / 3.287 GB, free: 34.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.002391/9.936, allocations: 0.5629 MB / 3.287 GB, free: 34.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/9.936, allocations: 6.094 kB / 3.287 GB, free: 34.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/9.936, allocations: 7.688 kB / 3.287 GB, free: 34.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004221/9.936, allocations: 78.36 kB / 3.287 GB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006918/9.937, allocations: 100.3 kB / 3.287 GB, free: 34.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/9.939, allocations: 2.36 MB / 3.29 GB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/9.94, allocations: 63.8 kB / 3.29 GB, free: 32.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.352e-05/9.94, allocations: 21.77 kB / 3.29 GB, free: 32.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 3 (volume.medium.phase,fixedMassFlowRate.medium.phase,ambient.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 41 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001542/9.94, allocations: 120.5 kB / 3.29 GB, free: 31.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006102/9.941, allocations: 132.6 kB / 3.29 GB, free: 31.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/9.943, allocations: 0.9771 MB / 3.291 GB, free: 31.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/9.943, allocations: 10.89 kB / 3.291 GB, free: 31.77 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/9.943, allocations: 0 / 3.291 GB, free: 31.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001316/9.944, allocations: 1.08 MB / 3.292 GB, free: 31.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002533/9.947, allocations: 1.557 MB / 3.294 GB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/9.947, allocations: 6.844 kB / 3.294 GB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006367/9.947, allocations: 76.89 kB / 3.294 GB, free: 30.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003773/9.948, allocations: 72.09 kB / 3.294 GB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.725e-05/9.948, allocations: 6.781 kB / 3.294 GB, free: 30.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004514/9.948, allocations: 0.6233 MB / 3.294 GB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/9.948, allocations: 3.375 kB / 3.294 GB, free: 30.36 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002156/9.95, allocations: 1.135 MB / 3.296 GB, free: 30.11 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002995/9.953, allocations: 1.794 MB / 3.297 GB, free: 29.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002232/9.954, allocations: 137.7 kB / 3.297 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/9.954, allocations: 0 / 3.297 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/9.954, allocations: 36.66 kB / 3.297 GB, free: 29.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/9.955, allocations: 40.22 kB / 3.297 GB, free: 29.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-05/9.955, allocations: 21.02 kB / 3.297 GB, free: 29.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003348/9.955, allocations: 216.3 kB / 3.298 GB, free: 29.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00575/9.961, allocations: 0.9794 MB / 3.299 GB, free: 29.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (volume.medium.p,volume.medium.h) * Number of discrete variables: 6 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,volume.medium.phase,fixedMassFlowRate.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.009136/9.97, allocations: 1.465 MB / 3.3 GB, free: 28.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001583/9.972, allocations: 0.6083 MB / 3.301 GB, free: 28.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/9.972, allocations: 0 / 3.301 GB, free: 28.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009349/9.972, allocations: 444.8 kB / 3.301 GB, free: 28.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001576/9.974, allocations: 132.1 kB / 3.301 GB, free: 28.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/9.976, allocations: 0.8159 MB / 3.302 GB, free: 28.59 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004939/9.977, allocations: 0.8842 MB / 3.303 GB, free: 27.88 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/9.977, allocations: 0 / 3.303 GB, free: 27.88 MB / 410.7 MB