Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_2_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.72/1.72, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2516/1.971, allocations: 46.84 MB / 249.4 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09165/2.063, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.683/7.746, allocations: 2.573 GB / 2.86 GB, free: 85.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/7.746, allocations: 81.64 kB / 2.861 GB, free: 85.2 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 1.311/9.057, allocations: 295.9 MB / 3.149 GB, free: 47.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/9.057, allocations: 7.875 kB / 3.149 GB, free: 47.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001131/9.058, allocations: 88.47 kB / 3.15 GB, free: 47.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005272/9.059, allocations: 295.5 kB / 3.15 GB, free: 47.26 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/9.059, allocations: 13.34 kB / 3.15 GB, free: 47.26 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.87e-05/9.059, allocations: 21.78 kB / 3.15 GB, free: 47.26 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006343/9.06, allocations: 236 kB / 3.15 GB, free: 47.25 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006881/9.06, allocations: 350 kB / 3.15 GB, free: 47.11 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/9.06, allocations: 3.781 kB / 3.15 GB, free: 47.11 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.285e-05/9.06, allocations: 3.625 kB / 3.15 GB, free: 47.11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.382e-05/9.06, allocations: 7.688 kB / 3.15 GB, free: 47.11 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05567/9.116, allocations: 17.64 MB / 3.168 GB, free: 36.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003318/9.117, allocations: 135.3 kB / 3.168 GB, free: 36 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/9.117, allocations: 92.19 kB / 3.168 GB, free: 35.99 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06385/9.181, allocations: 15.21 MB / 3.183 GB, free: 26.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.776e-05/9.181, allocations: 34.5 kB / 3.183 GB, free: 26.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=23): time 4.138e-06/9.181, allocations: 0 / 3.183 GB, free: 26.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.00617/9.187, allocations: 0.8823 MB / 3.184 GB, free: 25.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/9.187, allocations: 55.34 kB / 3.184 GB, free: 25.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/9.187, allocations: 215 kB / 3.184 GB, free: 25.78 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.701e-05/9.188, allocations: 25.7 kB / 3.184 GB, free: 25.75 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001345/9.188, allocations: 192 kB / 3.184 GB, free: 25.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001187/9.188, allocations: 97.92 kB / 3.184 GB, free: 25.54 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/9.188, allocations: 0 / 3.184 GB, free: 25.54 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/9.188, allocations: 339.3 kB / 3.185 GB, free: 25.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/9.188, allocations: 94.59 kB / 3.185 GB, free: 25.22 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/9.189, allocations: 210.8 kB / 3.185 GB, free: 25.08 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009044/9.19, allocations: 138.3 kB / 3.185 GB, free: 25.07 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/9.19, allocations: 3.75 kB / 3.185 GB, free: 25.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.002749/9.193, allocations: 478 kB / 3.185 GB, free: 25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.462e-05/9.193, allocations: 11.7 kB / 3.185 GB, free: 25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/9.193, allocations: 3.531 kB / 3.185 GB, free: 25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005734/9.193, allocations: 67.17 kB / 3.185 GB, free: 24.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008701/9.194, allocations: 82.81 kB / 3.186 GB, free: 24.98 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002789/9.197, allocations: 1.866 MB / 3.187 GB, free: 23.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007572/9.198, allocations: 27.05 kB / 3.187 GB, free: 23.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-05/9.198, allocations: 22.28 kB / 3.187 GB, free: 23.25 MB / 394.7 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.0002119/9.198, allocations: 115 kB / 3.188 GB, free: 23.14 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005911/9.199, allocations: 97.75 kB / 3.188 GB, free: 23.12 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/9.201, allocations: 0.9128 MB / 3.189 GB, free: 23.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.153e-05/9.201, allocations: 7.484 kB / 3.189 GB, free: 23.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/9.201, allocations: 0 / 3.189 GB, free: 23.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001878/9.203, allocations: 1.101 MB / 3.19 GB, free: 22.53 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00365/9.207, allocations: 1.471 MB / 3.191 GB, free: 22.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/9.207, allocations: 3.812 kB / 3.191 GB, free: 22.16 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/9.208, allocations: 49.62 kB / 3.191 GB, free: 22.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006625/9.208, allocations: 106.2 kB / 3.191 GB, free: 22.14 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.368e-05/9.208, allocations: 3.938 kB / 3.191 GB, free: 22.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00114/9.21, allocations: 0.7128 MB / 3.192 GB, free: 21.62 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/9.21, allocations: 3.75 kB / 3.192 GB, free: 21.62 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003036/9.213, allocations: 1.12 MB / 3.193 GB, free: 21.41 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003922/9.217, allocations: 1.789 MB / 3.195 GB, free: 20.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/9.217, allocations: 107.5 kB / 3.195 GB, free: 20.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/9.217, allocations: 6.969 kB / 3.195 GB, free: 20.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006102/9.218, allocations: 15.91 kB / 3.195 GB, free: 20.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.26e-05/9.218, allocations: 19.39 kB / 3.195 GB, free: 20.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.517e-05/9.218, allocations: 13.33 kB / 3.195 GB, free: 20.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0003122/9.218, allocations: 160.9 kB / 3.195 GB, free: 20.64 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005501/9.224, allocations: 0.5827 MB / 3.196 GB, free: 20.59 MB / 394.7 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.006375/9.23, allocations: 0.9557 MB / 3.197 GB, free: 20.37 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001982/9.232, allocations: 0.5951 MB / 3.197 GB, free: 20.27 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/9.232, allocations: 0 / 3.197 GB, free: 20.27 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/9.233, allocations: 424.9 kB / 3.198 GB, free: 20.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001758/9.235, allocations: 128.8 kB / 3.198 GB, free: 20.25 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001719/9.237, allocations: 0.7814 MB / 3.198 GB, free: 20.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004285/9.237, allocations: 0.8612 MB / 3.199 GB, free: 19.3 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/9.237, allocations: 0 / 3.199 GB, free: 19.3 MB / 394.7 MB