Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",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.583/2.583, allocations: 235.1 MB / 242 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1885/2.771, allocations: 57.21 MB / 299.2 MB, free: 436 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/3.08, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.952/5.032, allocations: 0.6359 GB / 0.9817 GB, free: 120.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003306/5.032, allocations: 99.77 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.234/6.267, allocations: 229.1 MB / 1.206 GB, free: 87.31 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/6.267, allocations: 11.38 kB / 1.206 GB, free: 87.31 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/6.268, allocations: 130.2 kB / 1.206 GB, free: 87.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/6.271, allocations: 0.5511 MB / 1.206 GB, free: 87.02 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000163/6.271, allocations: 88.25 kB / 1.206 GB, free: 86.95 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/6.271, allocations: 35.48 kB / 1.206 GB, free: 86.95 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002032/6.273, allocations: 0.5377 MB / 1.207 GB, free: 86.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/6.275, allocations: 0.7298 MB / 1.208 GB, free: 86.72 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.551e-05/6.275, allocations: 2.344 kB / 1.208 GB, free: 86.72 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001354/6.275, allocations: 3.312 kB / 1.208 GB, free: 86.72 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.753e-05/6.276, allocations: 46.09 kB / 1.208 GB, free: 86.72 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008216/6.284, allocations: 3.998 MB / 1.212 GB, free: 84.1 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007452/6.285, allocations: 203.2 kB / 1.212 GB, free: 84.05 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003536/6.285, allocations: 130.6 kB / 1.212 GB, free: 84 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-05/6.285, allocations: 27.5 kB / 1.212 GB, free: 83.99 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/6.285, allocations: 38.3 kB / 1.212 GB, free: 83.95 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 3.106e-06/6.285, allocations: 3.656 kB / 1.212 GB, free: 83.95 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.01128/6.296, allocations: 1.414 MB / 1.213 GB, free: 83.26 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.937e-05/6.296, allocations: 136.4 kB / 1.213 GB, free: 83.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009599/6.297, allocations: 474.9 kB / 1.214 GB, free: 82.87 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.553e-05/6.298, allocations: 25.7 kB / 1.214 GB, free: 82.84 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/6.298, allocations: 345.6 kB / 1.214 GB, free: 82.56 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/6.298, allocations: 120.7 kB / 1.214 GB, free: 82.47 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.134e-05/6.298, allocations: 3.094 kB / 1.214 GB, free: 82.47 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/6.298, allocations: 369.3 kB / 1.215 GB, free: 82.14 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/6.299, allocations: 187.9 kB / 1.215 GB, free: 82.07 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007898/6.3, allocations: 0.5053 MB / 1.215 GB, free: 81.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/6.301, allocations: 342.5 kB / 1.216 GB, free: 81.48 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.456e-06/6.301, allocations: 7.281 kB / 1.216 GB, free: 81.48 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002783/6.304, allocations: 0.8331 MB / 1.217 GB, free: 81.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/6.304, allocations: 7.812 kB / 1.217 GB, free: 81.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.092e-05/6.304, allocations: 7.812 kB / 1.217 GB, free: 81.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/6.306, allocations: 273.6 kB / 1.217 GB, free: 81.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009734/6.307, allocations: 133.5 kB / 1.217 GB, free: 81.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/6.309, allocations: 0.941 MB / 1.218 GB, free: 80.47 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/6.311, allocations: 32.53 kB / 1.218 GB, free: 80.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/6.311, allocations: 71.06 kB / 1.218 GB, free: 80.46 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.0002678/6.311, allocations: 132.4 kB / 1.218 GB, free: 80.33 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/6.311, allocations: 69.09 kB / 1.218 GB, free: 80.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/6.314, allocations: 0.5484 MB / 1.219 GB, free: 80.12 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/6.314, allocations: 3.969 kB / 1.219 GB, free: 80.12 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/6.314, allocations: 0 / 1.219 GB, free: 80.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/6.314, allocations: 3.562 kB / 1.219 GB, free: 80.12 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/6.316, allocations: 0.9686 MB / 1.22 GB, free: 79.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/6.317, allocations: 0 / 1.22 GB, free: 79.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002194/6.319, allocations: 195.5 kB / 1.22 GB, free: 79.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/6.319, allocations: 25.83 kB / 1.22 GB, free: 79.58 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.284e-05/6.319, allocations: 11.25 kB / 1.22 GB, free: 79.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002434/6.321, allocations: 2.586 MB / 1.222 GB, free: 77.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/6.321, allocations: 0 / 1.222 GB, free: 77.02 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001798/6.323, allocations: 0.6781 MB / 1.223 GB, free: 76.66 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002618/6.326, allocations: 1.303 MB / 1.224 GB, free: 75.79 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005589/6.327, allocations: 172.2 kB / 1.225 GB, free: 75.65 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/6.327, allocations: 3.688 kB / 1.225 GB, free: 75.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/6.328, allocations: 17.84 kB / 1.225 GB, free: 75.65 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/6.328, allocations: 25.88 kB / 1.225 GB, free: 75.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/6.328, allocations: 40.53 kB / 1.225 GB, free: 75.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.00103/6.329, allocations: 344.2 kB / 1.225 GB, free: 75.48 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005294/6.335, allocations: 444.6 kB / 1.225 GB, free: 75.31 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.00431/6.339, allocations: 1.2 MB / 1.227 GB, free: 75.06 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00257/6.342, allocations: 490.3 kB / 1.227 GB, free: 74.92 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/6.342, allocations: 3.844 kB / 1.227 GB, free: 74.92 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003278/6.345, allocations: 394.9 kB / 1.227 GB, free: 74.76 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00356/6.349, allocations: 225.3 kB / 1.228 GB, free: 74.72 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/6.366, allocations: 2.36 MB / 1.23 GB, free: 74.04 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002374/6.369, allocations: 1.07 MB / 1.231 GB, free: 73.31 MB / 474.7 MB Notification: Performance of SimCode: time 1.783e-06/6.369, allocations: 3.781 kB / 1.231 GB, free: 73.31 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat