Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",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.934/1.934, allocations: 194.9 MB / 202.6 MB, free: 6.883 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2447/2.179, allocations: 46.82 MB / 249.4 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/2.273, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.788/4.061, allocations: 0.7125 GB / 0.9995 GB, free: 114.7 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002908/4.061, allocations: 71.05 kB / 0.9996 GB, free: 114.7 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.1544/4.216, allocations: 33.48 MB / 1.032 GB, free: 94.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/4.216, allocations: 9.531 kB / 1.032 GB, free: 94.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/4.22, allocations: 214.9 kB / 1.032 GB, free: 94.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003655/4.22, allocations: 211.9 kB / 1.033 GB, free: 94.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/4.22, allocations: 4 kB / 1.033 GB, free: 94.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.339e-05/4.22, allocations: 7.984 kB / 1.033 GB, free: 94.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007543/4.221, allocations: 189.5 kB / 1.033 GB, free: 94.37 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004559/4.221, allocations: 152.2 kB / 1.033 GB, free: 94.25 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.471e-05/4.221, allocations: 0 / 1.033 GB, free: 94.25 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.769e-05/4.222, allocations: 0 / 1.033 GB, free: 94.25 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/4.222, allocations: 4 kB / 1.033 GB, free: 94.25 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002659/4.224, allocations: 0.6054 MB / 1.034 GB, free: 93.71 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004314/4.225, allocations: 138.9 kB / 1.034 GB, free: 93.61 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/4.225, allocations: 76.03 kB / 1.034 GB, free: 93.56 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003666/4.225, allocations: 93.03 kB / 1.034 GB, free: 93.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/4.225, allocations: 37.62 kB / 1.034 GB, free: 93.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 3.005e-06/4.225, allocations: 0 / 1.034 GB, free: 93.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.008593/4.234, allocations: 0.9828 MB / 1.035 GB, free: 92.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/4.234, allocations: 51.41 kB / 1.035 GB, free: 92.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.574e-05/4.234, allocations: 100.2 kB / 1.035 GB, free: 92.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.213e-05/4.234, allocations: 25.7 kB / 1.035 GB, free: 92.27 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.095e-05/4.234, allocations: 100.2 kB / 1.035 GB, free: 92.16 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.792e-05/4.234, allocations: 62.89 kB / 1.035 GB, free: 92.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.196e-05/4.234, allocations: 0 / 1.035 GB, free: 92.11 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.647e-05/4.234, allocations: 322.8 kB / 1.036 GB, free: 91.79 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/4.235, allocations: 73.17 kB / 1.036 GB, free: 91.75 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/4.235, allocations: 103.2 kB / 1.036 GB, free: 91.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/4.235, allocations: 82.16 kB / 1.036 GB, free: 91.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/4.235, allocations: 0 / 1.036 GB, free: 91.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008181/4.236, allocations: 234.9 kB / 1.036 GB, free: 91.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/4.236, allocations: 4 kB / 1.036 GB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/4.236, allocations: 0 / 1.036 GB, free: 91.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001908/4.236, allocations: 27.94 kB / 1.036 GB, free: 91.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000821/4.237, allocations: 47.97 kB / 1.036 GB, free: 91.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000453/4.238, allocations: 0.5459 MB / 1.037 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004856/4.238, allocations: 11.92 kB / 1.037 GB, free: 90.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/4.238, allocations: 4 kB / 1.037 GB, free: 90.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001421/4.238, allocations: 116.6 kB / 1.037 GB, free: 90.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/4.239, allocations: 11.91 kB / 1.037 GB, free: 90.65 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001229/4.24, allocations: 266.9 kB / 1.037 GB, free: 90.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/4.24, allocations: 4 kB / 1.037 GB, free: 90.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/4.24, allocations: 0 / 1.037 GB, free: 90.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/4.24, allocations: 3.984 kB / 1.037 GB, free: 90.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/4.242, allocations: 0.5874 MB / 1.038 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.213e-06/4.242, allocations: 3.984 kB / 1.038 GB, free: 89.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008311/4.242, allocations: 47.72 kB / 1.038 GB, free: 89.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001357/4.243, allocations: 20.94 kB / 1.038 GB, free: 89.83 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.07e-05/4.243, allocations: 7.984 kB / 1.038 GB, free: 89.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/4.244, allocations: 1.208 MB / 1.039 GB, free: 88.54 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/4.244, allocations: 4.031 kB / 1.039 GB, free: 88.54 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001047/4.245, allocations: 432.3 kB / 1.039 GB, free: 88.15 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001463/4.246, allocations: 0.9007 MB / 1.04 GB, free: 87.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.841e-05/4.246, allocations: 89 kB / 1.04 GB, free: 87.24 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.342e-05/4.246, allocations: 7.906 kB / 1.04 GB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000631/4.247, allocations: 4 kB / 1.04 GB, free: 87.23 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.988e-05/4.247, allocations: 23.22 kB / 1.04 GB, free: 87.21 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.039e-05/4.247, allocations: 8 kB / 1.04 GB, free: 87.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.405e-05/4.247, allocations: 86.64 kB / 1.04 GB, free: 87.12 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002282/4.25, allocations: 213.5 kB / 1.041 GB, free: 86.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 18 * 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.002028/4.252, allocations: 0.7236 MB / 1.041 GB, free: 86.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008175/4.253, allocations: 204.5 kB / 1.041 GB, free: 86.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/4.253, allocations: 4 kB / 1.041 GB, free: 86.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004744/4.253, allocations: 194.1 kB / 1.042 GB, free: 85.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007056/4.254, allocations: 42.77 kB / 1.042 GB, free: 85.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001071/4.255, allocations: 304.4 kB / 1.042 GB, free: 85.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005238/4.255, allocations: 0.7498 MB / 1.043 GB, free: 84.84 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/4.256, allocations: 0 / 1.043 GB, free: 84.84 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat does not exist to compare? outputFormat=mat