Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.832/1.832, allocations: 194.9 MB / 202.6 MB, free: 13.89 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1457/1.978, allocations: 46.84 MB / 249.4 MB, free: 14.97 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/2.197, allocations: 44.48 MB / 293.9 MB, free: 14.44 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.438/10.64, allocations: 3.616 GB / 3.903 GB, free: 100.4 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003384/10.64, allocations: 89.73 kB / 3.903 GB, free: 100.4 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 1.646/12.28, allocations: 323.5 MB / 4.219 GB, free: 47.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/12.28, allocations: 6.406 kB / 4.219 GB, free: 47.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006465/12.28, allocations: 56.81 kB / 4.219 GB, free: 47.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008379/12.28, allocations: 359.4 kB / 4.219 GB, free: 47.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.599e-05/12.28, allocations: 14.53 kB / 4.219 GB, free: 47.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/12.28, allocations: 25.62 kB / 4.22 GB, free: 47.61 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00164/12.29, allocations: 0.5627 MB / 4.22 GB, free: 47.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001276/12.29, allocations: 440.5 kB / 4.22 GB, free: 47.57 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/12.29, allocations: 3.828 kB / 4.22 GB, free: 47.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.686e-05/12.29, allocations: 0 / 4.22 GB, free: 47.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/12.29, allocations: 15.75 kB / 4.221 GB, free: 47.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00517/12.29, allocations: 2.076 MB / 4.223 GB, free: 46.4 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001429/12.29, allocations: 367.3 kB / 4.223 GB, free: 46.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006461/12.29, allocations: 249.7 kB / 4.223 GB, free: 46.38 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/12.29, allocations: 0.6987 MB / 4.224 GB, free: 45.62 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/12.29, allocations: 45.19 kB / 4.224 GB, free: 45.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=53): time 3.186e-06/12.29, allocations: 3.156 kB / 4.224 GB, free: 45.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=65): time 0.02202/12.32, allocations: 2.899 MB / 4.227 GB, free: 45.21 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/12.32, allocations: 61.31 kB / 4.227 GB, free: 45.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003264/12.32, allocations: 202.6 kB / 4.227 GB, free: 45.05 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001174/12.32, allocations: 29.31 kB / 4.227 GB, free: 45.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.1e-05/12.32, allocations: 185.7 kB / 4.227 GB, free: 44.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002183/12.32, allocations: 219.1 kB / 4.227 GB, free: 44.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-05/12.32, allocations: 0 / 4.227 GB, free: 44.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/12.32, allocations: 347.3 kB / 4.228 GB, free: 44.48 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007705/12.32, allocations: 258.8 kB / 4.228 GB, free: 44.47 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008066/12.32, allocations: 331.6 kB / 4.228 GB, free: 44.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/12.32, allocations: 371.6 kB / 4.229 GB, free: 44.42 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.48e-06/12.32, allocations: 0 / 4.229 GB, free: 44.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.003692/12.32, allocations: 0.9179 MB / 4.229 GB, free: 44.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/12.32, allocations: 11.62 kB / 4.23 GB, free: 44.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/12.32, allocations: 7.781 kB / 4.23 GB, free: 44.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002208/12.33, allocations: 272.8 kB / 4.23 GB, free: 44.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/12.33, allocations: 124.2 kB / 4.23 GB, free: 44.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003828/12.33, allocations: 3.328 MB / 4.233 GB, free: 41.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/12.33, allocations: 54.86 kB / 4.233 GB, free: 41.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000119/12.33, allocations: 26.7 kB / 4.233 GB, free: 41.4 MB / 394.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 Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 unit = "kg/kg" nominal = 0.1 ) "Independent mixture mass fractions m_i/m in the connection point" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003496/12.33, allocations: 133.6 kB / 4.233 GB, free: 41.29 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001778/12.33, allocations: 36.81 kB / 4.233 GB, free: 41.27 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008752/12.34, allocations: 1.303 MB / 4.235 GB, free: 41.17 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/12.34, allocations: 10.59 kB / 4.235 GB, free: 41.17 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/12.34, allocations: 0 / 4.235 GB, free: 41.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007861/12.35, allocations: 1.348 MB / 4.236 GB, free: 40.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004792/12.36, allocations: 1.663 MB / 4.238 GB, free: 40.42 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/12.36, allocations: 2.781 kB / 4.238 GB, free: 40.42 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/12.36, allocations: 119.4 kB / 4.238 GB, free: 40.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00283/12.36, allocations: 315.8 kB / 4.238 GB, free: 40.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001377/12.36, allocations: 18 kB / 4.238 GB, free: 40.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001509/12.36, allocations: 0.83 MB / 4.239 GB, free: 39.88 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/12.36, allocations: 4.688 kB / 4.239 GB, free: 39.88 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003791/12.37, allocations: 1.394 MB / 4.24 GB, free: 39.45 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005242/12.37, allocations: 2.232 MB / 4.242 GB, free: 38.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/12.37, allocations: 123.6 kB / 4.243 GB, free: 38.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001731/12.37, allocations: 11.44 kB / 4.243 GB, free: 38.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001509/12.37, allocations: 52.59 kB / 4.243 GB, free: 38.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/12.37, allocations: 39.55 kB / 4.243 GB, free: 38.54 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/12.37, allocations: 35.64 kB / 4.243 GB, free: 38.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002587/12.37, allocations: 173 kB / 4.243 GB, free: 38.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004097/12.38, allocations: 0.6273 MB / 4.243 GB, free: 38.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003901/12.38, allocations: 1.363 MB / 4.245 GB, free: 38.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002562/12.38, allocations: 0.8744 MB / 4.246 GB, free: 37.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/12.38, allocations: 0 / 4.246 GB, free: 37.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001249/12.39, allocations: 378.7 kB / 4.246 GB, free: 37.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/12.39, allocations: 219.7 kB / 4.246 GB, free: 37.91 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004581/12.39, allocations: 1.073 MB / 4.247 GB, free: 37.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008664/12.39, allocations: 0.9481 MB / 4.248 GB, free: 36.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.303e-06/12.39, allocations: 0 / 4.248 GB, free: 36.92 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat