Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_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.882/1.882, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2479/2.13, allocations: 46.84 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09748/2.228, allocations: 44.51 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.291/8.519, allocations: 2.901 GB / 3.187 GB, free: 8.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/8.519, allocations: 90.5 kB / 3.188 GB, free: 8.277 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 3.901/12.42, allocations: 0.9765 GB / 4.164 GB, free: 68.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.618e-05/12.42, allocations: 10.91 kB / 4.164 GB, free: 68.28 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004431/12.42, allocations: 43.36 kB / 4.164 GB, free: 68.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004808/12.42, allocations: 273.5 kB / 4.164 GB, free: 68.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/12.42, allocations: 7.875 kB / 4.164 GB, free: 68.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.664e-05/12.42, allocations: 17.66 kB / 4.164 GB, free: 68.05 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005007/12.42, allocations: 167.3 kB / 4.165 GB, free: 68.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005749/12.42, allocations: 260.1 kB / 4.165 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.144e-05/12.42, allocations: 1.312 kB / 4.165 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.742e-05/12.42, allocations: 0 / 4.165 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/12.42, allocations: 7.312 kB / 4.165 GB, free: 67.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002044/12.42, allocations: 1.379 MB / 4.166 GB, free: 66.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/12.42, allocations: 115.4 kB / 4.166 GB, free: 66.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/12.42, allocations: 87.59 kB / 4.166 GB, free: 66.94 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/12.42, allocations: 3.844 kB / 4.166 GB, free: 66.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/12.42, allocations: 34.25 kB / 4.166 GB, free: 66.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 3.076e-06/12.42, allocations: 0 / 4.166 GB, free: 66.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.002712/12.43, allocations: 0.7486 MB / 4.167 GB, free: 66.58 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.465e-05/12.43, allocations: 55.06 kB / 4.167 GB, free: 66.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/12.43, allocations: 191.8 kB / 4.167 GB, free: 66.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.773e-05/12.43, allocations: 29.67 kB / 4.167 GB, free: 66.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/12.43, allocations: 171 kB / 4.168 GB, free: 66.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.356e-05/12.43, allocations: 87.48 kB / 4.168 GB, free: 66.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.121e-05/12.43, allocations: 0 / 4.168 GB, free: 66.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.589e-05/12.43, allocations: 333.2 kB / 4.168 GB, free: 65.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/12.43, allocations: 73.97 kB / 4.168 GB, free: 65.88 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/12.43, allocations: 166.8 kB / 4.168 GB, free: 65.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002733/12.43, allocations: 109.5 kB / 4.168 GB, free: 65.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/12.43, allocations: 7.656 kB / 4.168 GB, free: 65.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001051/12.43, allocations: 328.4 kB / 4.169 GB, free: 65.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/12.43, allocations: 10.86 kB / 4.169 GB, free: 65.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/12.43, allocations: 3.719 kB / 4.169 GB, free: 65.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004122/12.43, allocations: 67.48 kB / 4.169 GB, free: 65.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005556/12.43, allocations: 65.56 kB / 4.169 GB, free: 65.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002388/12.43, allocations: 2.554 MB / 4.171 GB, free: 63.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005189/12.43, allocations: 17.12 kB / 4.171 GB, free: 63.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.499e-05/12.43, allocations: 14.53 kB / 4.171 GB, free: 63.3 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000194/12.43, allocations: 118.4 kB / 4.171 GB, free: 63.19 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/12.43, allocations: 23.53 kB / 4.171 GB, free: 63.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001076/12.43, allocations: 33.39 kB / 4.171 GB, free: 63.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/12.43, allocations: 3.969 kB / 4.171 GB, free: 63.18 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/12.43, allocations: 0 / 4.171 GB, free: 63.18 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007613/12.44, allocations: 0.5514 MB / 4.172 GB, free: 62.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001341/12.44, allocations: 0.6306 MB / 4.173 GB, free: 62.44 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/12.44, allocations: 3.812 kB / 4.173 GB, free: 62.44 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000397/12.44, allocations: 50.34 kB / 4.173 GB, free: 62.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003895/12.44, allocations: 46.95 kB / 4.173 GB, free: 62.43 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.092e-05/12.44, allocations: 7.422 kB / 4.173 GB, free: 62.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001464/12.44, allocations: 1.319 MB / 4.174 GB, free: 61.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/12.44, allocations: 1.641 kB / 4.174 GB, free: 61.24 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001035/12.44, allocations: 447.2 kB / 4.174 GB, free: 61.06 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001506/12.44, allocations: 0.9775 MB / 4.175 GB, free: 60.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/12.44, allocations: 99.47 kB / 4.175 GB, free: 60.39 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.733e-05/12.44, allocations: 5.031 kB / 4.175 GB, free: 60.39 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004158/12.44, allocations: 10.72 kB / 4.175 GB, free: 60.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/12.44, allocations: 14.72 kB / 4.175 GB, free: 60.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.345e-05/12.44, allocations: 9.828 kB / 4.175 GB, free: 60.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.000191/12.44, allocations: 157.6 kB / 4.176 GB, free: 60.31 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001722/12.44, allocations: 130.3 kB / 4.176 GB, free: 60.3 MB / 426.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004911/12.45, allocations: 323 kB / 4.176 GB, free: 60.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/12.45, allocations: 420.4 kB / 4.176 GB, free: 60 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/12.45, allocations: 7.031 kB / 4.176 GB, free: 60 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005242/12.45, allocations: 213.3 kB / 4.177 GB, free: 59.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00127/12.45, allocations: 112 kB / 4.177 GB, free: 59.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/12.45, allocations: 484.6 kB / 4.177 GB, free: 59.75 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004003/12.45, allocations: 0.8011 MB / 4.178 GB, free: 59.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/12.45, allocations: 3.5 kB / 4.178 GB, free: 59.05 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat