Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_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(Modelica): time 1.823/1.823, allocations: 194.9 MB / 202.6 MB, free: 6.91 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2497/2.073, allocations: 46.84 MB / 249.4 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09097/2.164, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.392/3.556, allocations: 0.5853 GB / 0.8723 GB, free: 93.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/3.557, allocations: 86.31 kB / 0.8724 GB, free: 93.9 MB / 410.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.6996/4.256, allocations: 153 MB / 1.022 GB, free: 91.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/4.256, allocations: 8.531 kB / 1.022 GB, free: 91.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/4.257, allocations: 37.91 kB / 1.022 GB, free: 91.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005312/4.257, allocations: 288.1 kB / 1.022 GB, free: 91.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/4.257, allocations: 11.56 kB / 1.022 GB, free: 91.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/4.257, allocations: 17.06 kB / 1.022 GB, free: 91.4 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005957/4.258, allocations: 173 kB / 1.022 GB, free: 91.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007834/4.259, allocations: 273.9 kB / 1.023 GB, free: 91.31 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/4.259, allocations: 1.344 kB / 1.023 GB, free: 91.31 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.139e-05/4.259, allocations: 1.281 kB / 1.023 GB, free: 91.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/4.259, allocations: 15.31 kB / 1.023 GB, free: 91.31 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/4.262, allocations: 1.573 MB / 1.024 GB, free: 90.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/4.262, allocations: 106.1 kB / 1.024 GB, free: 90.12 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002268/4.262, allocations: 84.33 kB / 1.024 GB, free: 90.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.305e-05/4.262, allocations: 5.781 kB / 1.024 GB, free: 90.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/4.262, allocations: 38.06 kB / 1.024 GB, free: 90.06 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.715e-06/4.262, allocations: 0 / 1.024 GB, free: 90.06 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.008641/4.271, allocations: 0.9709 MB / 1.025 GB, free: 89.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.707e-05/4.271, allocations: 54.84 kB / 1.025 GB, free: 89.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/4.271, allocations: 204.1 kB / 1.026 GB, free: 89.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.604e-05/4.271, allocations: 27.02 kB / 1.026 GB, free: 89.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.006e-05/4.272, allocations: 175.9 kB / 1.026 GB, free: 89.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.131e-05/4.272, allocations: 84.02 kB / 1.026 GB, free: 89.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.309e-05/4.272, allocations: 0 / 1.026 GB, free: 89.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.143e-05/4.272, allocations: 335.4 kB / 1.026 GB, free: 88.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002588/4.272, allocations: 73.42 kB / 1.026 GB, free: 88.94 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003218/4.272, allocations: 182.7 kB / 1.026 GB, free: 88.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003374/4.273, allocations: 107.2 kB / 1.027 GB, free: 88.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/4.273, allocations: 1.219 kB / 1.027 GB, free: 88.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001106/4.274, allocations: 360.1 kB / 1.027 GB, free: 88.73 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/4.274, allocations: 6.781 kB / 1.027 GB, free: 88.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/4.274, allocations: 3.812 kB / 1.027 GB, free: 88.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000331/4.274, allocations: 63.08 kB / 1.027 GB, free: 88.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007277/4.275, allocations: 87.23 kB / 1.027 GB, free: 88.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001633/4.277, allocations: 1.806 MB / 1.029 GB, free: 87 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/4.277, allocations: 20.98 kB / 1.029 GB, free: 86.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.851e-05/4.277, allocations: 40.73 kB / 1.029 GB, free: 86.99 MB / 410.7 MB 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: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001558/4.277, allocations: 107.6 kB / 1.029 GB, free: 86.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/4.278, allocations: 29.09 kB / 1.029 GB, free: 86.87 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/4.279, allocations: 389.5 kB / 1.029 GB, free: 86.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/4.279, allocations: 5.438 kB / 1.029 GB, free: 86.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/4.279, allocations: 0.875 kB / 1.029 GB, free: 86.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006913/4.28, allocations: 0.5392 MB / 1.03 GB, free: 86.35 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001606/4.282, allocations: 0.6606 MB / 1.031 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/4.282, allocations: 0.875 kB / 1.031 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006752/4.282, allocations: 75.3 kB / 1.031 GB, free: 86.04 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/4.283, allocations: 21.55 kB / 1.031 GB, free: 86.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/4.283, allocations: 15.62 kB / 1.031 GB, free: 86.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009873/4.284, allocations: 1.225 MB / 1.032 GB, free: 84.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/4.284, allocations: 0 / 1.032 GB, free: 84.83 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001057/4.285, allocations: 474.3 kB / 1.032 GB, free: 84.62 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001502/4.286, allocations: 0.9622 MB / 1.033 GB, free: 84.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001375/4.286, allocations: 98.03 kB / 1.033 GB, free: 83.93 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.754e-05/4.287, allocations: 4.609 kB / 1.033 GB, free: 83.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005401/4.287, allocations: 13.88 kB / 1.033 GB, free: 83.93 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/4.287, allocations: 29.17 kB / 1.033 GB, free: 83.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/4.287, allocations: 30.36 kB / 1.033 GB, free: 83.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002379/4.287, allocations: 157.6 kB / 1.034 GB, free: 83.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002269/4.29, allocations: 224.9 kB / 1.034 GB, free: 83.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001866/4.292, allocations: 0.9296 MB / 1.035 GB, free: 83.66 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001097/4.293, allocations: 331.6 kB / 1.035 GB, free: 83.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/4.293, allocations: 0 / 1.035 GB, free: 83.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004265/4.293, allocations: 214 kB / 1.035 GB, free: 83.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/4.295, allocations: 119.7 kB / 1.035 GB, free: 83.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/4.296, allocations: 494.8 kB / 1.036 GB, free: 83.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/4.298, allocations: 0.8726 MB / 1.037 GB, free: 82.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.312e-06/4.298, allocations: 0 / 1.037 GB, free: 82.54 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air_res.mat does not exist to compare? outputFormat=mat