Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_TestOnly_IdealGasN2",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.847/1.847, allocations: 194.9 MB / 202.6 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2325/2.079, allocations: 46.82 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09559/2.175, allocations: 44.5 MB / 293.9 MB, free: 10.88 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.106/3.28, allocations: 446.3 MB / 0.7229 GB, free: 81.82 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/3.281, allocations: 72.66 kB / 0.7229 GB, free: 81.79 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.115/3.396, allocations: 29.56 MB / 0.7518 GB, free: 57.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/3.396, allocations: 12 kB / 0.7518 GB, free: 57.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/3.399, allocations: 218.3 kB / 0.752 GB, free: 57.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/3.4, allocations: 204.7 kB / 0.7522 GB, free: 57.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/3.4, allocations: 7.906 kB / 0.7522 GB, free: 57.19 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.018e-05/3.4, allocations: 8 kB / 0.7522 GB, free: 57.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005947/3.4, allocations: 151.3 kB / 0.7524 GB, free: 57.09 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003351/3.401, allocations: 126.6 kB / 0.7525 GB, free: 56.97 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/3.401, allocations: 0 / 0.7525 GB, free: 56.97 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/3.401, allocations: 0 / 0.7525 GB, free: 56.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/3.401, allocations: 4 kB / 0.7525 GB, free: 56.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/3.402, allocations: 0.5515 MB / 0.753 GB, free: 56.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004181/3.403, allocations: 118.9 kB / 0.7532 GB, free: 56.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001684/3.403, allocations: 65.53 kB / 0.7532 GB, free: 56.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.221e-05/3.403, allocations: 0 / 0.7532 GB, free: 56.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/3.403, allocations: 46.23 kB / 0.7533 GB, free: 56.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 1.764e-06/3.403, allocations: 0 / 0.7533 GB, free: 56.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.007895/3.411, allocations: 0.8596 MB / 0.7541 GB, free: 55.41 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/3.411, allocations: 63.34 kB / 0.7542 GB, free: 55.34 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.547e-05/3.411, allocations: 96.12 kB / 0.7543 GB, free: 55.24 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.747e-05/3.411, allocations: 25.7 kB / 0.7543 GB, free: 55.21 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.899e-05/3.411, allocations: 102.6 kB / 0.7544 GB, free: 55.11 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.635e-05/3.411, allocations: 64.39 kB / 0.7544 GB, free: 55.05 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/3.411, allocations: 0 / 0.7544 GB, free: 55.05 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.245e-05/3.411, allocations: 318.1 kB / 0.7547 GB, free: 54.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001902/3.412, allocations: 62.8 kB / 0.7548 GB, free: 54.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002103/3.412, allocations: 93.17 kB / 0.7549 GB, free: 54.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/3.412, allocations: 70.22 kB / 0.755 GB, free: 54.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/3.412, allocations: 0 / 0.755 GB, free: 54.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006748/3.413, allocations: 235.1 kB / 0.7552 GB, free: 54.39 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/3.413, allocations: 12.09 kB / 0.7552 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/3.413, allocations: 0 / 0.7552 GB, free: 54.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002231/3.413, allocations: 40.64 kB / 0.7552 GB, free: 54.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006761/3.414, allocations: 55.81 kB / 0.7553 GB, free: 54.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005165/3.414, allocations: 0.5814 MB / 0.7558 GB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/3.415, allocations: 0 / 0.7558 GB, free: 53.69 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.095e-05/3.415, allocations: 31.53 kB / 0.7559 GB, free: 53.66 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.0001285/3.415, allocations: 112.7 kB / 0.756 GB, free: 53.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.906e-05/3.415, allocations: 15.89 kB / 0.756 GB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001619/3.417, allocations: 358 kB / 0.7563 GB, free: 53.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/3.417, allocations: 0 / 0.7563 GB, free: 53.24 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.755e-06/3.417, allocations: 0 / 0.7563 GB, free: 53.24 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/3.417, allocations: 3.984 kB / 0.7563 GB, free: 53.23 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001289/3.418, allocations: 0.5574 MB / 0.7569 GB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/3.418, allocations: 0 / 0.7569 GB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007271/3.419, allocations: 63.89 kB / 0.757 GB, free: 52.64 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001262/3.419, allocations: 28.56 kB / 0.757 GB, free: 52.61 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/3.419, allocations: 11.98 kB / 0.757 GB, free: 52.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009499/3.42, allocations: 1.209 MB / 0.7582 GB, free: 51.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/3.42, allocations: 8.016 kB / 0.7582 GB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009125/3.421, allocations: 441.6 kB / 0.7586 GB, free: 50.9 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001433/3.422, allocations: 0.9102 MB / 0.7595 GB, free: 50.06 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/3.422, allocations: 85.02 kB / 0.7596 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.142e-05/3.423, allocations: 0 / 0.7596 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004636/3.423, allocations: 4 kB / 0.7596 GB, free: 49.96 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.869e-05/3.423, allocations: 23.56 kB / 0.7596 GB, free: 49.94 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.38e-05/3.423, allocations: 27.98 kB / 0.7596 GB, free: 49.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.156e-05/3.423, allocations: 82.78 kB / 0.7597 GB, free: 49.83 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001927/3.425, allocations: 148.2 kB / 0.7598 GB, free: 49.75 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 (21): * Single equations (assignments): 20 * 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.00136/3.427, allocations: 0.6239 MB / 0.7605 GB, free: 49.12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0007741/3.427, allocations: 184 kB / 0.7606 GB, free: 48.99 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/3.427, allocations: 0 / 0.7606 GB, free: 48.99 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004528/3.428, allocations: 195.7 kB / 0.7608 GB, free: 48.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006841/3.429, allocations: 42.06 kB / 0.7609 GB, free: 48.78 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/3.43, allocations: 319.8 kB / 0.7612 GB, free: 48.45 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008115/3.43, allocations: 0.7899 MB / 0.7619 GB, free: 47.64 MB / 410.7 MB Notification: Performance of SimCode: time 1.583e-06/3.43, allocations: 7.938 kB / 0.7619 GB, free: 47.63 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat