Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",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.71/1.71, allocations: 171.2 MB / 178.1 MB, free: 6.699 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1267/1.837, allocations: 41.12 MB / 219.3 MB, free: 13.5 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/2.049, allocations: 38.76 MB / 258 MB, free: 5.191 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.125/8.173, allocations: 2.464 GB / 2.716 GB, free: 39.38 MB / 355.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/8.174, allocations: 90.56 kB / 2.716 GB, free: 39.32 MB / 355.1 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 1.456/9.63, allocations: 288.5 MB / 2.998 GB, free: 28.62 MB / 355.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/9.63, allocations: 12 kB / 2.998 GB, free: 28.61 MB / 355.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/9.631, allocations: 91.2 kB / 2.998 GB, free: 28.54 MB / 355.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006144/9.632, allocations: 306.7 kB / 2.998 GB, free: 28.23 MB / 355.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/9.632, allocations: 12 kB / 2.998 GB, free: 28.22 MB / 355.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.078e-05/9.632, allocations: 19.56 kB / 2.998 GB, free: 28.2 MB / 355.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006619/9.633, allocations: 240 kB / 2.998 GB, free: 27.99 MB / 355.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000718/9.634, allocations: 354.2 kB / 2.999 GB, free: 27.64 MB / 355.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.459e-05/9.634, allocations: 4 kB / 2.999 GB, free: 27.64 MB / 355.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.57e-05/9.634, allocations: 0 / 2.999 GB, free: 27.64 MB / 355.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/9.634, allocations: 8 kB / 2.999 GB, free: 27.63 MB / 355.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05921/9.693, allocations: 17.53 MB / 3.016 GB, free: 9.809 MB / 355.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004085/9.693, allocations: 133.8 kB / 3.016 GB, free: 9.672 MB / 355.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/9.694, allocations: 84.86 kB / 3.016 GB, free: 9.586 MB / 355.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2602/9.954, allocations: 15.13 MB / 3.031 GB, free: 68.34 MB / 355.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.221e-05/9.954, allocations: 34.75 kB / 3.031 GB, free: 68.3 MB / 355.1 MB Notification: Performance of pre-optimization done (n=23): time 4.308e-06/9.954, allocations: 7.344 kB / 3.031 GB, free: 68.3 MB / 355.1 MB Notification: Performance of matching and sorting (n=28): time 0.006144/9.96, allocations: 0.8689 MB / 3.032 GB, free: 68.03 MB / 355.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/9.96, allocations: 61.56 kB / 3.032 GB, free: 67.96 MB / 355.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005356/9.961, allocations: 211.4 kB / 3.032 GB, free: 67.87 MB / 355.1 MB Notification: Performance of collectPreVariables (initialization): time 9.374e-05/9.961, allocations: 25.7 kB / 3.032 GB, free: 67.84 MB / 355.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/9.961, allocations: 194.9 kB / 3.032 GB, free: 67.71 MB / 355.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/9.961, allocations: 91.86 kB / 3.032 GB, free: 67.66 MB / 355.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.16e-05/9.961, allocations: 0 / 3.032 GB, free: 67.66 MB / 355.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/9.962, allocations: 337.5 kB / 3.033 GB, free: 67.35 MB / 355.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/9.962, allocations: 97.02 kB / 3.033 GB, free: 67.35 MB / 355.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005799/9.963, allocations: 214.6 kB / 3.033 GB, free: 67.21 MB / 355.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00091/9.964, allocations: 131.1 kB / 3.033 GB, free: 67.21 MB / 355.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.189e-06/9.964, allocations: 0 / 3.033 GB, free: 67.21 MB / 355.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001854/9.966, allocations: 487.5 kB / 3.033 GB, free: 67.15 MB / 355.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/9.966, allocations: 3.938 kB / 3.033 GB, free: 67.15 MB / 355.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/9.966, allocations: 3.844 kB / 3.033 GB, free: 67.15 MB / 355.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003936/9.966, allocations: 69.34 kB / 3.033 GB, free: 67.13 MB / 355.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006083/9.967, allocations: 84.83 kB / 3.034 GB, free: 67.13 MB / 355.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/9.969, allocations: 1.869 MB / 3.035 GB, free: 65.42 MB / 355.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005698/9.969, allocations: 24.06 kB / 3.035 GB, free: 65.42 MB / 355.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/9.969, allocations: 24.69 kB / 3.035 GB, free: 65.42 MB / 355.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001591/9.97, allocations: 115.8 kB / 3.036 GB, free: 65.31 MB / 355.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003837/9.97, allocations: 87.77 kB / 3.036 GB, free: 65.3 MB / 355.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/9.972, allocations: 0.9137 MB / 3.037 GB, free: 65.21 MB / 355.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.93e-05/9.972, allocations: 10.08 kB / 3.037 GB, free: 65.21 MB / 355.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/9.972, allocations: 1.438 kB / 3.037 GB, free: 65.21 MB / 355.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001365/9.973, allocations: 1.107 MB / 3.038 GB, free: 64.72 MB / 355.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002814/9.976, allocations: 1.473 MB / 3.039 GB, free: 64.36 MB / 355.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/9.976, allocations: 2.938 kB / 3.039 GB, free: 64.36 MB / 355.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/9.977, allocations: 53.92 kB / 3.039 GB, free: 64.36 MB / 355.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000464/9.977, allocations: 100.6 kB / 3.039 GB, free: 64.34 MB / 355.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.795e-05/9.977, allocations: 3.469 kB / 3.039 GB, free: 64.34 MB / 355.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008422/9.978, allocations: 0.7151 MB / 3.04 GB, free: 63.82 MB / 355.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/9.978, allocations: 3.938 kB / 3.04 GB, free: 63.82 MB / 355.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002218/9.98, allocations: 1.12 MB / 3.041 GB, free: 63.62 MB / 355.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002849/9.983, allocations: 1.793 MB / 3.043 GB, free: 63.05 MB / 355.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001876/9.984, allocations: 103.5 kB / 3.043 GB, free: 62.94 MB / 355.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.524e-05/9.984, allocations: 9.438 kB / 3.043 GB, free: 62.93 MB / 355.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/9.984, allocations: 9.312 kB / 3.043 GB, free: 62.93 MB / 355.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.919e-05/9.984, allocations: 19.17 kB / 3.043 GB, free: 62.93 MB / 355.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.941e-05/9.984, allocations: 14.11 kB / 3.043 GB, free: 62.93 MB / 355.1 MB Notification: Performance of sort global known variables: time 0.0002279/9.984, allocations: 163.2 kB / 3.043 GB, free: 62.86 MB / 355.1 MB Notification: Performance of remove unused functions: time 0.004159/9.989, allocations: 0.5793 MB / 3.044 GB, free: 62.86 MB / 355.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 4 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005439/9.994, allocations: 0.9541 MB / 3.045 GB, free: 62.75 MB / 355.1 MB Notification: Performance of simCode: created initialization part: time 0.001444/9.996, allocations: 0.5968 MB / 3.045 GB, free: 62.65 MB / 355.1 MB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/9.996, allocations: 3.312 kB / 3.045 GB, free: 62.65 MB / 355.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000753/9.996, allocations: 420.8 kB / 3.046 GB, free: 62.64 MB / 355.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001512/9.998, allocations: 124.2 kB / 3.046 GB, free: 62.64 MB / 355.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/10, allocations: 0.7807 MB / 3.046 GB, free: 62.46 MB / 355.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/10, allocations: 0.8577 MB / 3.047 GB, free: 61.76 MB / 355.1 MB Notification: Performance of SimCode: time 1.163e-06/10, allocations: 0 / 3.047 GB, free: 61.76 MB / 355.1 MB