Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_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(ModelicaTest): time 2.432/2.432, allocations: 235.1 MB / 242 MB, free: 9.754 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2365/2.668, allocations: 57.19 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/2.968, allocations: 54.85 MB / 354.1 MB, free: 13.33 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.369/4.337, allocations: 455.7 MB / 0.7908 GB, free: 128 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000375/4.338, allocations: 76.83 kB / 0.7908 GB, free: 128 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.1421/4.48, allocations: 29.58 MB / 0.8197 GB, free: 124.4 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/4.48, allocations: 7.812 kB / 0.8197 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004087/4.484, allocations: 217.2 kB / 0.8199 GB, free: 124.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006347/4.485, allocations: 215.8 kB / 0.8201 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.364e-05/4.485, allocations: 3.812 kB / 0.8201 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/4.485, allocations: 7.906 kB / 0.8201 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006705/4.486, allocations: 145 kB / 0.8203 GB, free: 124.2 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003589/4.486, allocations: 139.2 kB / 0.8204 GB, free: 124.1 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/4.486, allocations: 0 / 0.8204 GB, free: 124.1 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/4.486, allocations: 0 / 0.8204 GB, free: 124.1 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/4.486, allocations: 3.906 kB / 0.8204 GB, free: 124.1 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/4.488, allocations: 0.5603 MB / 0.821 GB, free: 123.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/4.488, allocations: 127.3 kB / 0.8211 GB, free: 123.7 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/4.488, allocations: 56.31 kB / 0.8211 GB, free: 123.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/4.488, allocations: 7.531 kB / 0.8212 GB, free: 123.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/4.488, allocations: 34.56 kB / 0.8212 GB, free: 123.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 3.206e-06/4.488, allocations: 0 / 0.8212 GB, free: 123.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=19): time 0.008357/4.497, allocations: 0.8707 MB / 0.822 GB, free: 123.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/4.497, allocations: 55.41 kB / 0.8221 GB, free: 123.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.656e-05/4.497, allocations: 102.4 kB / 0.8222 GB, free: 123.1 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 4.914e-05/4.497, allocations: 25.7 kB / 0.8222 GB, free: 123 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.207e-05/4.497, allocations: 97.25 kB / 0.8223 GB, free: 122.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/4.497, allocations: 61 kB / 0.8224 GB, free: 122.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.049e-05/4.497, allocations: 0 / 0.8224 GB, free: 122.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.453e-05/4.497, allocations: 322.2 kB / 0.8227 GB, free: 122.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/4.498, allocations: 62.67 kB / 0.8227 GB, free: 122.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/4.498, allocations: 97.41 kB / 0.8228 GB, free: 122.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002372/4.498, allocations: 75.62 kB / 0.8229 GB, free: 122.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/4.498, allocations: 3.938 kB / 0.8229 GB, free: 122.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007247/4.499, allocations: 234.4 kB / 0.8231 GB, free: 122.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/4.499, allocations: 7.719 kB / 0.8231 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/4.499, allocations: 1.594 kB / 0.8231 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/4.499, allocations: 41.05 kB / 0.8232 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/4.5, allocations: 52.09 kB / 0.8232 GB, free: 122.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005368/4.5, allocations: 0.5788 MB / 0.8238 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003623/4.501, allocations: 3.906 kB / 0.8238 GB, free: 121.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/4.501, allocations: 23.42 kB / 0.8238 GB, free: 121.9 MB / 474.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.000138/4.501, allocations: 116.4 kB / 0.8239 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.099e-05/4.501, allocations: 11.72 kB / 0.8239 GB, free: 121.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001708/4.503, allocations: 358.8 kB / 0.8243 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.735e-06/4.503, allocations: 3.938 kB / 0.8243 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/4.503, allocations: 0 / 0.8243 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/4.503, allocations: 2.203 kB / 0.8243 GB, free: 121.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/4.504, allocations: 0.5503 MB / 0.8248 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/4.504, allocations: 0 / 0.8248 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000739/4.505, allocations: 62.38 kB / 0.8249 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001366/4.505, allocations: 20.69 kB / 0.8249 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/4.505, allocations: 14.19 kB / 0.8249 GB, free: 121.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001027/4.506, allocations: 1.212 MB / 0.8261 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/4.506, allocations: 4.031 kB / 0.8261 GB, free: 120.2 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009226/4.507, allocations: 446.4 kB / 0.8265 GB, free: 120 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001275/4.508, allocations: 0.9017 MB / 0.8274 GB, free: 119.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/4.509, allocations: 88.83 kB / 0.8275 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/4.509, allocations: 0 / 0.8275 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004618/4.509, allocations: 5.547 kB / 0.8275 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.007e-05/4.509, allocations: 22.56 kB / 0.8275 GB, free: 119.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/4.509, allocations: 23.64 kB / 0.8275 GB, free: 119.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.474e-05/4.509, allocations: 87 kB / 0.8276 GB, free: 119.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001931/4.511, allocations: 149.8 kB / 0.8278 GB, free: 119.2 MB / 474.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.001322/4.513, allocations: 0.6266 MB / 0.8284 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007291/4.513, allocations: 185.4 kB / 0.8286 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/4.513, allocations: 0 / 0.8286 GB, free: 118.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004643/4.514, allocations: 199.9 kB / 0.8287 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006739/4.515, allocations: 37.22 kB / 0.8288 GB, free: 118.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/4.516, allocations: 322.4 kB / 0.8291 GB, free: 118.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008076/4.516, allocations: 0.7872 MB / 0.8299 GB, free: 117.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.152e-06/4.516, allocations: 3.906 kB / 0.8299 GB, free: 117.8 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat