Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.871/1.871, allocations: 194.9 MB / 202.6 MB, free: 14.27 MB / 178.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2553/2.127, allocations: 46.85 MB / 249.4 MB, free: 14.18 MB / 210.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/2.226, allocations: 44.5 MB / 293.9 MB, free: 1.594 MB / 242.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.925/11.15, allocations: 2.901 GB / 3.188 GB, free: 78.91 MB / 402.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005112/11.15, allocations: 85.75 kB / 3.188 GB, free: 78.86 MB / 402.8 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.926/16.08, allocations: 0.9768 GB / 4.164 GB, free: 10.94 MB / 402.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/16.08, allocations: 8 kB / 4.164 GB, free: 10.93 MB / 402.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008269/16.08, allocations: 51.5 kB / 4.164 GB, free: 10.88 MB / 402.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001061/16.08, allocations: 274.9 kB / 4.165 GB, free: 10.6 MB / 402.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.997e-05/16.08, allocations: 8 kB / 4.165 GB, free: 10.59 MB / 402.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.79e-05/16.08, allocations: 16 kB / 4.165 GB, free: 10.57 MB / 402.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006806/16.08, allocations: 171.4 kB / 4.165 GB, free: 10.42 MB / 402.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006991/16.08, allocations: 261.7 kB / 4.165 GB, free: 10.18 MB / 402.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.466e-05/16.08, allocations: 8 kB / 4.165 GB, free: 10.17 MB / 402.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.731e-05/16.08, allocations: 0.6875 kB / 4.165 GB, free: 10.17 MB / 402.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.202e-05/16.08, allocations: 4 kB / 4.165 GB, free: 10.16 MB / 402.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003149/16.08, allocations: 1.373 MB / 4.167 GB, free: 8.824 MB / 402.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004802/16.08, allocations: 109.8 kB / 4.167 GB, free: 8.715 MB / 402.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002481/16.09, allocations: 77.23 kB / 4.167 GB, free: 8.637 MB / 402.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.71e-05/16.09, allocations: 4.188 kB / 4.167 GB, free: 8.633 MB / 402.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.261e-05/16.09, allocations: 47.95 kB / 4.167 GB, free: 8.582 MB / 402.8 MB Notification: Performance of pre-optimization done (n=21): time 3.657e-06/16.09, allocations: 3.938 kB / 4.167 GB, free: 8.578 MB / 402.8 MB Notification: Performance of matching and sorting (n=26): time 0.00326/16.09, allocations: 0.7411 MB / 4.167 GB, free: 7.852 MB / 402.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/16.09, allocations: 55.41 kB / 4.168 GB, free: 7.785 MB / 402.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/16.09, allocations: 194 kB / 4.168 GB, free: 7.598 MB / 402.8 MB Notification: Performance of collectPreVariables (initialization): time 3.845e-05/16.09, allocations: 25.7 kB / 4.168 GB, free: 7.566 MB / 402.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.935e-05/16.09, allocations: 174.5 kB / 4.168 GB, free: 7.406 MB / 402.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.525e-05/16.09, allocations: 86.42 kB / 4.168 GB, free: 7.328 MB / 402.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/16.09, allocations: 8 kB / 4.168 GB, free: 7.32 MB / 402.8 MB Notification: Performance of setup shared object (initialization): time 8.852e-05/16.09, allocations: 334 kB / 4.168 GB, free: 6.992 MB / 402.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/16.09, allocations: 68.88 kB / 4.168 GB, free: 6.926 MB / 402.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/16.09, allocations: 166.8 kB / 4.169 GB, free: 6.727 MB / 402.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003271/16.09, allocations: 115 kB / 4.169 GB, free: 6.625 MB / 402.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/16.09, allocations: 0 / 4.169 GB, free: 6.625 MB / 402.8 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001182/16.09, allocations: 327.9 kB / 4.169 GB, free: 6.32 MB / 402.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.692e-05/16.09, allocations: 8 kB / 4.169 GB, free: 6.312 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/16.09, allocations: 4 kB / 4.169 GB, free: 6.309 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004869/16.09, allocations: 61.34 kB / 4.169 GB, free: 6.254 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006809/16.09, allocations: 75.08 kB / 4.169 GB, free: 6.188 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002816/16.1, allocations: 2.554 MB / 4.172 GB, free: 3.469 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005987/16.1, allocations: 15.95 kB / 4.172 GB, free: 3.457 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/16.1, allocations: 16 kB / 4.172 GB, free: 3.441 MB / 402.8 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.0002106/16.1, allocations: 115.9 kB / 4.172 GB, free: 3.324 MB / 402.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.967e-05/16.1, allocations: 23.72 kB / 4.172 GB, free: 3.301 MB / 402.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001789/16.1, allocations: 37.64 kB / 4.172 GB, free: 3.266 MB / 402.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.101e-06/16.1, allocations: 4 kB / 4.172 GB, free: 3.262 MB / 402.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/16.1, allocations: 4 kB / 4.172 GB, free: 3.258 MB / 402.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009272/16.1, allocations: 0.5375 MB / 4.172 GB, free: 2.656 MB / 402.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001694/16.1, allocations: 0.6298 MB / 4.173 GB, free: 2.066 MB / 402.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/16.1, allocations: 4 kB / 4.173 GB, free: 2.062 MB / 402.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004922/16.1, allocations: 55.33 kB / 4.173 GB, free: 2.016 MB / 402.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004788/16.1, allocations: 51.95 kB / 4.173 GB, free: 1.977 MB / 402.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/16.1, allocations: 0 / 4.173 GB, free: 1.977 MB / 402.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/16.1, allocations: 1.315 MB / 4.174 GB, free: 0.5898 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.002e-06/16.1, allocations: 7.938 kB / 4.174 GB, free: 0.582 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001198/16.1, allocations: 456.7 kB / 4.175 GB, free: 140 kB / 402.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002822/16.11, allocations: 1.005 MB / 4.176 GB, free: 15.22 MB / 418.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/16.11, allocations: 96.83 kB / 4.176 GB, free: 15.11 MB / 418.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/16.11, allocations: 0 / 4.176 GB, free: 15.11 MB / 418.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000516/16.11, allocations: 15.8 kB / 4.176 GB, free: 15.1 MB / 418.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/16.11, allocations: 11.62 kB / 4.176 GB, free: 15.09 MB / 418.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/16.11, allocations: 15.75 kB / 4.176 GB, free: 15.08 MB / 418.8 MB Notification: Performance of sort global known variables: time 0.0002776/16.11, allocations: 153.4 kB / 4.176 GB, free: 14.94 MB / 418.8 MB Notification: Performance of remove unused functions: time 0.002303/16.11, allocations: 127.7 kB / 4.176 GB, free: 14.82 MB / 418.8 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.0006782/16.11, allocations: 316.5 kB / 4.176 GB, free: 14.54 MB / 418.8 MB Notification: Performance of simCode: created initialization part: time 0.001434/16.11, allocations: 432 kB / 4.177 GB, free: 14.11 MB / 418.8 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/16.11, allocations: 192 / 4.177 GB, free: 14.11 MB / 418.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007518/16.11, allocations: 217.4 kB / 4.177 GB, free: 13.9 MB / 418.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/16.11, allocations: 116.3 kB / 4.177 GB, free: 13.81 MB / 418.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/16.12, allocations: 482.8 kB / 4.178 GB, free: 13.38 MB / 418.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001008/16.12, allocations: 0.8043 MB / 4.178 GB, free: 12.59 MB / 418.8 MB Notification: Performance of SimCode: time 1.814e-06/16.12, allocations: 0 / 4.178 GB, free: 12.59 MB / 418.8 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat