Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",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.787/1.787, allocations: 194.9 MB / 202.6 MB, free: 13.48 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 0.2464/2.034, allocations: 46.83 MB / 249.4 MB, free: 5.938 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09312/2.127, allocations: 44.5 MB / 293.9 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8057/2.933, allocations: 333.1 MB / 0.6123 GB, free: 44.68 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003305/2.933, allocations: 87.28 kB / 0.6124 GB, free: 44.64 MB / 398.1 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.4675/3.401, allocations: 87.58 MB / 0.6979 GB, free: 124.2 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/3.401, allocations: 8.25 kB / 0.698 GB, free: 124.2 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/3.401, allocations: 39.02 kB / 0.698 GB, free: 124.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005788/3.402, allocations: 278.6 kB / 0.6983 GB, free: 123.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/3.402, allocations: 7.938 kB / 0.6983 GB, free: 123.9 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.313e-05/3.402, allocations: 18.22 kB / 0.6983 GB, free: 123.9 MB / 398.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006862/3.403, allocations: 176 kB / 0.6984 GB, free: 123.9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007593/3.403, allocations: 261.8 kB / 0.6987 GB, free: 123.7 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.168e-05/3.403, allocations: 0 / 0.6987 GB, free: 123.7 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.86e-05/3.404, allocations: 0 / 0.6987 GB, free: 123.7 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/3.404, allocations: 8 kB / 0.6987 GB, free: 123.7 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002456/3.406, allocations: 1.227 MB / 0.6999 GB, free: 122.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003058/3.406, allocations: 114.9 kB / 0.7 GB, free: 122.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002409/3.407, allocations: 92.47 kB / 0.7001 GB, free: 122.2 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001808/3.407, allocations: 164.8 kB / 0.7003 GB, free: 122 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/3.407, allocations: 42.73 kB / 0.7003 GB, free: 121.9 MB / 398.1 MB Notification: Performance of pre-optimization done (n=21): time 3.226e-06/3.407, allocations: 0 / 0.7003 GB, free: 121.9 MB / 398.1 MB Notification: Performance of matching and sorting (n=26): time 0.003145/3.41, allocations: 0.7893 MB / 0.7011 GB, free: 121 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/3.41, allocations: 54.91 kB / 0.7011 GB, free: 121 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/3.41, allocations: 199 kB / 0.7013 GB, free: 120.8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.177e-05/3.41, allocations: 25.7 kB / 0.7013 GB, free: 120.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.166e-05/3.411, allocations: 168.3 kB / 0.7015 GB, free: 120.6 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.199e-05/3.411, allocations: 94.64 kB / 0.7016 GB, free: 120.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/3.411, allocations: 0 / 0.7016 GB, free: 120.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 7.96e-05/3.411, allocations: 334.8 kB / 0.7019 GB, free: 120.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002249/3.411, allocations: 71.98 kB / 0.702 GB, free: 120.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/3.411, allocations: 168.4 kB / 0.7021 GB, free: 119.9 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003813/3.412, allocations: 103.6 kB / 0.7022 GB, free: 119.8 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/3.412, allocations: 0 / 0.7022 GB, free: 119.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001005/3.413, allocations: 400.3 kB / 0.7026 GB, free: 119.4 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/3.413, allocations: 11.91 kB / 0.7026 GB, free: 119.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/3.413, allocations: 4 kB / 0.7026 GB, free: 119.3 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002438/3.413, allocations: 41.7 kB / 0.7027 GB, free: 119.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006999/3.414, allocations: 75.84 kB / 0.7027 GB, free: 119.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001983/3.416, allocations: 2.449 MB / 0.7051 GB, free: 116.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/3.416, allocations: 19.27 kB / 0.7052 GB, free: 116.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.602e-05/3.416, allocations: 16 kB / 0.7052 GB, free: 116.5 MB / 398.1 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.0002005/3.417, allocations: 119.4 kB / 0.7053 GB, free: 116.4 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.737e-05/3.417, allocations: 23.72 kB / 0.7053 GB, free: 116.4 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009173/3.418, allocations: 356.8 kB / 0.7056 GB, free: 116 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/3.418, allocations: 0 / 0.7056 GB, free: 116 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/3.418, allocations: 4 kB / 0.7056 GB, free: 116 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006886/3.418, allocations: 0.5876 MB / 0.7062 GB, free: 115.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/3.42, allocations: 0.7025 MB / 0.7069 GB, free: 114.5 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/3.42, allocations: 0 / 0.7069 GB, free: 114.5 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006314/3.42, allocations: 59.89 kB / 0.707 GB, free: 114.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001154/3.421, allocations: 20.84 kB / 0.707 GB, free: 114.5 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/3.421, allocations: 0 / 0.707 GB, free: 114.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009089/3.421, allocations: 1.214 MB / 0.7082 GB, free: 113.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/3.422, allocations: 0 / 0.7082 GB, free: 113.1 MB / 398.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000969/3.422, allocations: 0.5046 MB / 0.7087 GB, free: 112.6 MB / 398.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001254/3.424, allocations: 0.9577 MB / 0.7096 GB, free: 111.6 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001114/3.424, allocations: 100.8 kB / 0.7097 GB, free: 111.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/3.424, allocations: 4 kB / 0.7097 GB, free: 111.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005473/3.425, allocations: 11.89 kB / 0.7097 GB, free: 111.4 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/3.425, allocations: 11.98 kB / 0.7097 GB, free: 111.4 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/3.425, allocations: 19.98 kB / 0.7097 GB, free: 111.4 MB / 398.1 MB Notification: Performance of sort global known variables: time 0.0002018/3.425, allocations: 157.7 kB / 0.7099 GB, free: 111.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001862/3.427, allocations: 120 kB / 0.71 GB, free: 111.1 MB / 398.1 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.0005095/3.427, allocations: 256 kB / 0.7103 GB, free: 110.9 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009059/3.428, allocations: 399.9 kB / 0.7106 GB, free: 110.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/3.428, allocations: 0 / 0.7106 GB, free: 110.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004232/3.429, allocations: 210.9 kB / 0.7108 GB, free: 110.3 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/3.43, allocations: 128.2 kB / 0.711 GB, free: 110.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/3.432, allocations: 469.6 kB / 0.7114 GB, free: 109.7 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004409/3.432, allocations: 0.8117 MB / 0.7122 GB, free: 108.9 MB / 398.1 MB Notification: Performance of SimCode: time 1.112e-06/3.432, allocations: 0 / 0.7122 GB, free: 108.9 MB / 398.1 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat