Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_TestOnly_MixIdealGasAir",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.817/1.817, allocations: 194.9 MB / 202.6 MB, free: 6.891 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2504/2.068, allocations: 46.82 MB / 249.4 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/2.161, allocations: 44.51 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.71/3.871, allocations: 0.7243 GB / 1.011 GB, free: 54.95 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/3.872, allocations: 72.64 kB / 1.011 GB, free: 54.91 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.1625/4.034, allocations: 39.76 MB / 1.05 GB, free: 21.39 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/4.034, allocations: 8 kB / 1.05 GB, free: 21.38 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006456/4.041, allocations: 435 kB / 1.051 GB, free: 20.95 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005868/4.041, allocations: 262.7 kB / 1.051 GB, free: 20.66 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/4.041, allocations: 8 kB / 1.051 GB, free: 20.65 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001348/4.042, allocations: 15.98 kB / 1.051 GB, free: 20.63 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001517/4.043, allocations: 477.8 kB / 1.051 GB, free: 20.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007858/4.044, allocations: 309.5 kB / 1.052 GB, free: 19.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/4.044, allocations: 4 kB / 1.052 GB, free: 19.85 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.023e-05/4.044, allocations: 0 / 1.052 GB, free: 19.85 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/4.044, allocations: 4 kB / 1.052 GB, free: 19.85 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003817/4.048, allocations: 0.9614 MB / 1.053 GB, free: 18.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005711/4.049, allocations: 224.3 kB / 1.053 GB, free: 18.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003326/4.049, allocations: 133.7 kB / 1.053 GB, free: 18.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/4.051, allocations: 0.6517 MB / 1.054 GB, free: 17.71 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/4.051, allocations: 46.55 kB / 1.054 GB, free: 17.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 4.679e-06/4.051, allocations: 0 / 1.054 GB, free: 17.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.001122/4.052, allocations: 261.3 kB / 1.054 GB, free: 17.39 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/4.052, allocations: 81.09 kB / 1.054 GB, free: 17.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.802e-05/4.052, allocations: 101 kB / 1.054 GB, free: 17.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.252e-05/4.052, allocations: 25.7 kB / 1.054 GB, free: 17.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.648e-05/4.052, allocations: 112.4 kB / 1.054 GB, free: 17.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.83e-05/4.052, allocations: 110.5 kB / 1.054 GB, free: 16.94 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.745e-05/4.053, allocations: 0 / 1.054 GB, free: 16.94 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.189e-05/4.053, allocations: 326.8 kB / 1.055 GB, free: 16.61 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002915/4.053, allocations: 100.6 kB / 1.055 GB, free: 16.51 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/4.053, allocations: 191.1 kB / 1.055 GB, free: 16.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004483/4.054, allocations: 119.9 kB / 1.055 GB, free: 16.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/4.054, allocations: 0 / 1.055 GB, free: 16.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001086/4.055, allocations: 341.5 kB / 1.055 GB, free: 15.83 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/4.055, allocations: 4 kB / 1.055 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/4.055, allocations: 4 kB / 1.055 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/4.055, allocations: 4 kB / 1.055 GB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/4.056, allocations: 75.89 kB / 1.055 GB, free: 15.74 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/4.056, allocations: 8.219 kB / 1.055 GB, free: 15.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005954/4.057, allocations: 27.78 kB / 1.055 GB, free: 15.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.683e-05/4.057, allocations: 19.98 kB / 1.055 GB, free: 15.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001527/4.057, allocations: 128.4 kB / 1.056 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/4.057, allocations: 11.91 kB / 1.056 GB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001469/4.059, allocations: 350.2 kB / 1.056 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/4.059, allocations: 7.984 kB / 1.056 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/4.059, allocations: 0 / 1.056 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.766e-06/4.059, allocations: 3.984 kB / 1.056 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000985/4.06, allocations: 320.2 kB / 1.056 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.211e-06/4.06, allocations: 3.906 kB / 1.056 GB, free: 14.83 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008558/4.061, allocations: 63.89 kB / 1.056 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/4.061, allocations: 0 / 1.056 GB, free: 14.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.732e-05/4.061, allocations: 11.98 kB / 1.056 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/4.061, allocations: 4 kB / 1.056 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/4.061, allocations: 0 / 1.056 GB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001164/4.062, allocations: 0.5094 MB / 1.057 GB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001655/4.063, allocations: 1.032 MB / 1.058 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/4.064, allocations: 100.8 kB / 1.058 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.442e-05/4.064, allocations: 4 kB / 1.058 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008132/4.064, allocations: 15.92 kB / 1.058 GB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/4.065, allocations: 15.98 kB / 1.058 GB, free: 13.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-05/4.065, allocations: 15.98 kB / 1.058 GB, free: 12.99 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.152e-05/4.065, allocations: 91.27 kB / 1.058 GB, free: 12.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002776/4.067, allocations: 319.6 kB / 1.058 GB, free: 12.59 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002921/4.07, allocations: 0.8792 MB / 1.059 GB, free: 11.7 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000948/4.071, allocations: 255.8 kB / 1.059 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/4.071, allocations: 0 / 1.059 GB, free: 11.45 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004072/4.072, allocations: 136.5 kB / 1.06 GB, free: 11.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/4.073, allocations: 75.81 kB / 1.06 GB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/4.075, allocations: 0.599 MB / 1.06 GB, free: 10.61 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006153/4.075, allocations: 0.7906 MB / 1.061 GB, free: 9.797 MB / 394.7 MB Notification: Performance of SimCode: time 9.31e-07/4.075, allocations: 4 kB / 1.061 GB, free: 9.793 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat does not exist to compare? outputFormat=mat