Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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(ModelicaTest): time 2.504/2.504, allocations: 235 MB / 242 MB, free: 9.672 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1764/2.681, allocations: 57.21 MB / 299.2 MB, free: 356 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/2.971, allocations: 54.86 MB / 354.1 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.955/4.926, allocations: 0.6359 GB / 0.9817 GB, free: 120.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000352/4.926, allocations: 88.83 kB / 0.9818 GB, free: 120.4 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 1.49/6.416, allocations: 229.1 MB / 1.206 GB, free: 90.14 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/6.416, allocations: 11.19 kB / 1.206 GB, free: 90.14 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001697/6.418, allocations: 132.3 kB / 1.206 GB, free: 90.11 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002206/6.42, allocations: 0.5588 MB / 1.206 GB, free: 89.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/6.421, allocations: 85.78 kB / 1.206 GB, free: 89.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002235/6.421, allocations: 26.97 kB / 1.206 GB, free: 89.78 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002568/6.423, allocations: 0.5393 MB / 1.207 GB, free: 89.78 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003613/6.427, allocations: 0.7285 MB / 1.208 GB, free: 89.55 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.743e-05/6.427, allocations: 7.031 kB / 1.208 GB, free: 89.55 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/6.428, allocations: 3.719 kB / 1.208 GB, free: 89.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001195/6.428, allocations: 42.08 kB / 1.208 GB, free: 89.55 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01129/6.439, allocations: 3.989 MB / 1.212 GB, free: 86.51 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008636/6.44, allocations: 208.6 kB / 1.212 GB, free: 86.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004746/6.44, allocations: 130.1 kB / 1.212 GB, free: 86.37 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001251/6.441, allocations: 27.2 kB / 1.212 GB, free: 86.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/6.441, allocations: 38.64 kB / 1.212 GB, free: 86.32 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 5.21e-06/6.441, allocations: 0 / 1.212 GB, free: 86.32 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.02761/6.468, allocations: 1.419 MB / 1.213 GB, free: 85.62 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/6.468, allocations: 131.7 kB / 1.213 GB, free: 85.47 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/6.47, allocations: 474.8 kB / 1.214 GB, free: 85.24 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001573/6.47, allocations: 25.7 kB / 1.214 GB, free: 85.21 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003365/6.47, allocations: 348 kB / 1.214 GB, free: 84.93 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/6.471, allocations: 123.6 kB / 1.214 GB, free: 84.84 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.603e-05/6.471, allocations: 0 / 1.214 GB, free: 84.84 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.003421/6.474, allocations: 370.3 kB / 1.215 GB, free: 84.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009561/6.475, allocations: 182.1 kB / 1.215 GB, free: 84.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001141/6.476, allocations: 0.5161 MB / 1.215 GB, free: 83.94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00199/6.478, allocations: 333.5 kB / 1.216 GB, free: 83.85 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.284e-05/6.478, allocations: 7.531 kB / 1.216 GB, free: 83.85 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.004374/6.483, allocations: 0.8397 MB / 1.217 GB, free: 83.56 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/6.483, allocations: 7.375 kB / 1.217 GB, free: 83.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-05/6.483, allocations: 10.75 kB / 1.217 GB, free: 83.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003739/6.487, allocations: 260.4 kB / 1.217 GB, free: 83.52 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/6.488, allocations: 134.1 kB / 1.217 GB, free: 83.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002923/6.491, allocations: 0.9436 MB / 1.218 GB, free: 82.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/6.493, allocations: 37.12 kB / 1.218 GB, free: 82.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000215/6.494, allocations: 72.62 kB / 1.218 GB, free: 82.83 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003421/6.494, allocations: 126.7 kB / 1.218 GB, free: 82.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/6.494, allocations: 65.06 kB / 1.218 GB, free: 82.67 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003615/6.498, allocations: 0.5542 MB / 1.219 GB, free: 82.49 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/6.498, allocations: 3.781 kB / 1.219 GB, free: 82.49 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/6.498, allocations: 0 / 1.219 GB, free: 82.49 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/6.498, allocations: 3.75 kB / 1.219 GB, free: 82.49 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/6.502, allocations: 0.9767 MB / 1.22 GB, free: 81.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.025e-05/6.502, allocations: 3.844 kB / 1.22 GB, free: 81.97 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003106/6.505, allocations: 186.5 kB / 1.22 GB, free: 81.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001817/6.506, allocations: 22.52 kB / 1.22 GB, free: 81.95 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.198e-05/6.506, allocations: 14.95 kB / 1.22 GB, free: 81.95 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002839/6.508, allocations: 2.589 MB / 1.222 GB, free: 79.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.67e-06/6.509, allocations: 0 / 1.222 GB, free: 79.39 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002066/6.511, allocations: 0.6724 MB / 1.223 GB, free: 79.03 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002843/6.514, allocations: 1.304 MB / 1.224 GB, free: 78.16 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005627/6.514, allocations: 173.6 kB / 1.224 GB, free: 78.02 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/6.514, allocations: 6.094 kB / 1.225 GB, free: 78.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/6.515, allocations: 20.14 kB / 1.225 GB, free: 78.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001344/6.516, allocations: 23 kB / 1.225 GB, free: 78.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/6.516, allocations: 39.22 kB / 1.225 GB, free: 78.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007357/6.516, allocations: 347.8 kB / 1.225 GB, free: 77.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003681/6.52, allocations: 439.4 kB / 1.225 GB, free: 77.68 MB / 474.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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003584/6.524, allocations: 1.205 MB / 1.227 GB, free: 77.43 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002067/6.526, allocations: 484.4 kB / 1.227 GB, free: 77.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/6.526, allocations: 0.875 kB / 1.227 GB, free: 77.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002609/6.529, allocations: 402.7 kB / 1.227 GB, free: 77.13 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002677/6.531, allocations: 227.3 kB / 1.228 GB, free: 77.09 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/6.544, allocations: 2.349 MB / 1.23 GB, free: 76.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001583/6.546, allocations: 1.074 MB / 1.231 GB, free: 75.68 MB / 474.7 MB Notification: Performance of SimCode: time 1.383e-06/6.546, allocations: 0 / 1.231 GB, free: 75.68 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat