Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_1_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.781/1.781, allocations: 171.2 MB / 178.1 MB, free: 8.32 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2475/2.029, allocations: 41.12 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09207/2.121, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.291/9.412, allocations: 2.791 GB / 3.043 GB, free: 58.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/9.413, allocations: 83.31 kB / 3.043 GB, free: 58.45 MB / 346.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 4.468/13.88, allocations: 0.9452 GB / 3.988 GB, free: 48.86 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/13.88, allocations: 11.81 kB / 3.988 GB, free: 48.86 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/13.88, allocations: 42.16 kB / 3.988 GB, free: 48.84 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005702/13.88, allocations: 274.9 kB / 3.988 GB, free: 48.63 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/13.88, allocations: 7.812 kB / 3.988 GB, free: 48.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/13.88, allocations: 15.19 kB / 3.988 GB, free: 48.63 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006535/13.88, allocations: 179.1 kB / 3.988 GB, free: 48.62 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005973/13.88, allocations: 252.7 kB / 3.989 GB, free: 48.54 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/13.88, allocations: 8.156 kB / 3.989 GB, free: 48.54 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.075e-05/13.88, allocations: 2.672 kB / 3.989 GB, free: 48.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.311e-05/13.88, allocations: 6.469 kB / 3.989 GB, free: 48.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002569/13.89, allocations: 1.363 MB / 3.99 GB, free: 47.55 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/13.89, allocations: 124.9 kB / 3.99 GB, free: 47.54 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002014/13.89, allocations: 83.33 kB / 3.99 GB, free: 47.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.86e-05/13.89, allocations: 3.562 kB / 3.99 GB, free: 47.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/13.89, allocations: 33.5 kB / 3.99 GB, free: 47.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.356e-06/13.89, allocations: 3.938 kB / 3.99 GB, free: 47.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003516/13.89, allocations: 0.7486 MB / 3.991 GB, free: 47.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.024e-05/13.89, allocations: 58.88 kB / 3.991 GB, free: 47.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003603/13.89, allocations: 197.1 kB / 3.991 GB, free: 47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/13.89, allocations: 25.7 kB / 3.991 GB, free: 46.96 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.577e-05/13.89, allocations: 170.3 kB / 3.991 GB, free: 46.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.469e-05/13.89, allocations: 87.41 kB / 3.991 GB, free: 46.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.222e-05/13.89, allocations: 3.938 kB / 3.991 GB, free: 46.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.154e-05/13.89, allocations: 330.9 kB / 3.992 GB, free: 46.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/13.89, allocations: 82.5 kB / 3.992 GB, free: 46.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/13.89, allocations: 162.8 kB / 3.992 GB, free: 46.36 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002769/13.89, allocations: 98.97 kB / 3.992 GB, free: 46.36 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/13.89, allocations: 3.812 kB / 3.992 GB, free: 46.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001198/13.89, allocations: 342.2 kB / 3.992 GB, free: 46.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/13.89, allocations: 7.125 kB / 3.992 GB, free: 46.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/13.89, allocations: 3.969 kB / 3.992 GB, free: 46.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005947/13.89, allocations: 61.34 kB / 3.993 GB, free: 46.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000601/13.9, allocations: 67.2 kB / 3.993 GB, free: 46.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00268/13.9, allocations: 2.547 MB / 3.995 GB, free: 43.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005427/13.9, allocations: 15.39 kB / 3.995 GB, free: 43.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.539e-05/13.9, allocations: 14.22 kB / 3.995 GB, free: 43.89 MB / 362.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.0002146/13.9, allocations: 118.3 kB / 3.995 GB, free: 43.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.563e-05/13.9, allocations: 26.5 kB / 3.995 GB, free: 43.77 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001142/13.9, allocations: 27.72 kB / 3.995 GB, free: 43.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/13.9, allocations: 7.875 kB / 3.995 GB, free: 43.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/13.9, allocations: 2.062 kB / 3.995 GB, free: 43.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/13.9, allocations: 0.5433 MB / 3.996 GB, free: 43.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00196/13.9, allocations: 0.633 MB / 3.996 GB, free: 43.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/13.9, allocations: 2.875 kB / 3.996 GB, free: 43.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004287/13.9, allocations: 42.16 kB / 3.996 GB, free: 43.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004057/13.9, allocations: 60.83 kB / 3.997 GB, free: 43.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/13.9, allocations: 0 / 3.997 GB, free: 43.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/13.9, allocations: 1.317 MB / 3.998 GB, free: 41.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/13.9, allocations: 0 / 3.998 GB, free: 41.82 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001736/13.91, allocations: 459.9 kB / 3.998 GB, free: 41.64 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002741/13.91, allocations: 0.9724 MB / 3.999 GB, free: 41.08 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/13.91, allocations: 104.3 kB / 3.999 GB, free: 40.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001755/13.91, allocations: 0 / 3.999 GB, free: 40.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008459/13.91, allocations: 7.781 kB / 3.999 GB, free: 40.97 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.662e-05/13.91, allocations: 18.7 kB / 3.999 GB, free: 40.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.643e-05/13.91, allocations: 14.75 kB / 3.999 GB, free: 40.97 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0003165/13.91, allocations: 151.8 kB / 3.999 GB, free: 40.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003711/13.91, allocations: 126.5 kB / 4 GB, free: 40.89 MB / 362.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.0008366/13.92, allocations: 319.8 kB / 4 GB, free: 40.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001945/13.92, allocations: 428.1 kB / 4 GB, free: 40.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/13.92, allocations: 0.5625 kB / 4 GB, free: 40.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008188/13.92, allocations: 214.3 kB / 4.001 GB, free: 40.47 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001648/13.92, allocations: 116 kB / 4.001 GB, free: 40.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001698/13.92, allocations: 470.8 kB / 4.001 GB, free: 40.25 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/13.92, allocations: 0.8029 MB / 4.002 GB, free: 39.54 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/13.92, allocations: 0 / 4.002 GB, free: 39.54 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat