Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",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.779/1.779, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2449/2.024, allocations: 46.85 MB / 249.4 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09724/2.121, allocations: 44.5 MB / 293.9 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7717/2.893, allocations: 333.1 MB / 0.6123 GB, free: 19.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/2.893, allocations: 94.22 kB / 0.6124 GB, free: 19.39 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.4711/3.364, allocations: 87.58 MB / 0.6979 GB, free: 97.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/3.364, allocations: 12 kB / 0.6979 GB, free: 97.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003933/3.365, allocations: 39.7 kB / 0.6979 GB, free: 97.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/3.365, allocations: 283.5 kB / 0.6982 GB, free: 97.12 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.92e-05/3.365, allocations: 11.91 kB / 0.6982 GB, free: 97.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.091e-05/3.365, allocations: 16 kB / 0.6982 GB, free: 97.09 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004718/3.366, allocations: 180.9 kB / 0.6984 GB, free: 96.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005578/3.366, allocations: 247.5 kB / 0.6986 GB, free: 96.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.971e-05/3.367, allocations: 0 / 0.6986 GB, free: 96.66 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.121e-05/3.367, allocations: 0 / 0.6986 GB, free: 96.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/3.367, allocations: 12 kB / 0.6987 GB, free: 96.64 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/3.369, allocations: 1.222 MB / 0.6998 GB, free: 95.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/3.369, allocations: 122.2 kB / 0.7 GB, free: 95.2 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/3.369, allocations: 81.22 kB / 0.7 GB, free: 95.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001663/3.369, allocations: 170.4 kB / 0.7002 GB, free: 94.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/3.369, allocations: 34.75 kB / 0.7002 GB, free: 94.87 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 2.866e-06/3.369, allocations: 0 / 0.7002 GB, free: 94.87 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.002928/3.372, allocations: 0.7958 MB / 0.701 GB, free: 94 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/3.372, allocations: 55.41 kB / 0.7011 GB, free: 93.93 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/3.373, allocations: 195 kB / 0.7013 GB, free: 93.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/3.373, allocations: 29.7 kB / 0.7013 GB, free: 93.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.218e-05/3.373, allocations: 171.8 kB / 0.7014 GB, free: 93.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/3.373, allocations: 82.72 kB / 0.7015 GB, free: 93.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.906e-05/3.373, allocations: 0 / 0.7015 GB, free: 93.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.274e-05/3.373, allocations: 338.8 kB / 0.7018 GB, free: 93.1 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001873/3.373, allocations: 68 kB / 0.7019 GB, free: 93.04 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/3.374, allocations: 167.7 kB / 0.7021 GB, free: 92.83 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003466/3.374, allocations: 104.3 kB / 0.7022 GB, free: 92.73 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/3.374, allocations: 4 kB / 0.7022 GB, free: 92.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009411/3.375, allocations: 400.1 kB / 0.7026 GB, free: 92.3 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/3.375, allocations: 4 kB / 0.7026 GB, free: 92.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/3.375, allocations: 4 kB / 0.7026 GB, free: 92.29 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002384/3.375, allocations: 45.64 kB / 0.7026 GB, free: 92.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006179/3.376, allocations: 79.89 kB / 0.7027 GB, free: 92.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001931/3.378, allocations: 2.449 MB / 0.7051 GB, free: 89.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004901/3.378, allocations: 23.98 kB / 0.7051 GB, free: 89.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-05/3.378, allocations: 12 kB / 0.7051 GB, free: 89.45 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002215/3.379, allocations: 112.9 kB / 0.7052 GB, free: 89.33 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.667e-05/3.379, allocations: 23.72 kB / 0.7052 GB, free: 89.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008936/3.38, allocations: 358 kB / 0.7056 GB, free: 88.93 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/3.38, allocations: 4 kB / 0.7056 GB, free: 88.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/3.38, allocations: 0 / 0.7056 GB, free: 88.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006259/3.38, allocations: 0.5915 MB / 0.7062 GB, free: 88.23 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/3.382, allocations: 0.7001 MB / 0.7068 GB, free: 87.47 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/3.382, allocations: 0 / 0.7068 GB, free: 87.47 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005529/3.382, allocations: 59.89 kB / 0.7069 GB, free: 87.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001121/3.382, allocations: 20.84 kB / 0.7069 GB, free: 87.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.511e-05/3.382, allocations: 0 / 0.7069 GB, free: 87.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008886/3.383, allocations: 1.217 MB / 0.7081 GB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.539e-06/3.383, allocations: 4.062 kB / 0.7081 GB, free: 86.05 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009065/3.384, allocations: 0.4978 MB / 0.7086 GB, free: 85.51 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001081/3.385, allocations: 0.9696 MB / 0.7095 GB, free: 84.49 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001045/3.386, allocations: 96.81 kB / 0.7096 GB, free: 84.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.731e-05/3.386, allocations: 7.906 kB / 0.7096 GB, free: 84.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/3.386, allocations: 15.98 kB / 0.7097 GB, free: 84.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.013e-05/3.386, allocations: 15.98 kB / 0.7097 GB, free: 84.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.579e-05/3.386, allocations: 11.98 kB / 0.7097 GB, free: 84.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001785/3.386, allocations: 153.6 kB / 0.7098 GB, free: 84.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00159/3.388, allocations: 120 kB / 0.71 GB, free: 84.06 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004519/3.388, allocations: 244.9 kB / 0.7102 GB, free: 83.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008154/3.389, allocations: 399.5 kB / 0.7106 GB, free: 83.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/3.389, allocations: 0.8125 kB / 0.7106 GB, free: 83.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003628/3.39, allocations: 209.6 kB / 0.7108 GB, free: 83.2 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001312/3.391, allocations: 120.2 kB / 0.7109 GB, free: 83.08 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/3.392, allocations: 462.8 kB / 0.7113 GB, free: 82.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003915/3.393, allocations: 0.8078 MB / 0.7121 GB, free: 81.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/3.393, allocations: 0 / 0.7121 GB, free: 81.77 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat