Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_SimpleNaturalGasFixedComposition",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.796/1.796, allocations: 194.9 MB / 202.6 MB, free: 6.902 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2233/2.02, allocations: 46.84 MB / 249.4 MB, free: 5.336 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09265/2.113, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.671/3.784, allocations: 0.7077 GB / 0.9947 GB, free: 72.67 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/3.784, allocations: 83.44 kB / 0.9948 GB, free: 72.62 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: 93 * Number of variables: 93 Notification: Performance of Generate backend data structure: time 2.712/6.496, allocations: 0.5743 GB / 1.569 GB, free: 70 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/6.496, allocations: 10.69 kB / 1.569 GB, free: 70 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/6.497, allocations: 128.2 kB / 1.569 GB, free: 69.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009234/6.498, allocations: 371.8 kB / 1.57 GB, free: 69.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/6.498, allocations: 13.34 kB / 1.57 GB, free: 69.77 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-05/6.498, allocations: 21.72 kB / 1.57 GB, free: 69.77 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/6.499, allocations: 400.7 kB / 1.57 GB, free: 69.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/6.5, allocations: 495.1 kB / 1.57 GB, free: 69.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/6.5, allocations: 9.312 kB / 1.57 GB, free: 69.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/6.5, allocations: 3.094 kB / 1.57 GB, free: 69.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/6.5, allocations: 9.406 kB / 1.57 GB, free: 69.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00472/6.505, allocations: 1.985 MB / 1.572 GB, free: 68.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002899/6.505, allocations: 108.6 kB / 1.573 GB, free: 68.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001888/6.506, allocations: 80.23 kB / 1.573 GB, free: 68.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/6.506, allocations: 10.19 kB / 1.573 GB, free: 68.54 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/6.506, allocations: 34.38 kB / 1.573 GB, free: 68.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=18): time 2.856e-06/6.506, allocations: 0 / 1.573 GB, free: 68.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.008695/6.514, allocations: 1.121 MB / 1.574 GB, free: 67.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.342e-05/6.515, allocations: 54.69 kB / 1.574 GB, free: 67.89 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006514/6.515, allocations: 403 kB / 1.574 GB, free: 67.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.547e-05/6.515, allocations: 29.64 kB / 1.574 GB, free: 67.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001592/6.515, allocations: 295.8 kB / 1.574 GB, free: 67.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.907e-05/6.515, allocations: 83.52 kB / 1.575 GB, free: 67.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.622e-05/6.516, allocations: 0 / 1.575 GB, free: 67.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.804e-05/6.516, allocations: 347.9 kB / 1.575 GB, free: 67.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/6.516, allocations: 116.8 kB / 1.575 GB, free: 67.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/6.516, allocations: 420.3 kB / 1.575 GB, free: 66.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/6.517, allocations: 213.3 kB / 1.576 GB, free: 66.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/6.517, allocations: 3.188 kB / 1.576 GB, free: 66.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001502/6.519, allocations: 0.5466 MB / 1.576 GB, free: 66.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/6.519, allocations: 5.5 kB / 1.576 GB, free: 66.75 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/6.519, allocations: 11.5 kB / 1.576 GB, free: 66.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002801/6.519, allocations: 61.27 kB / 1.576 GB, free: 66.74 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/6.52, allocations: 138.7 kB / 1.576 GB, free: 66.74 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001538/6.521, allocations: 1.795 MB / 1.578 GB, free: 65.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009501/6.522, allocations: 27.27 kB / 1.578 GB, free: 65.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.608e-05/6.523, allocations: 38.92 kB / 1.578 GB, free: 65.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 71 * 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.000171/6.523, allocations: 128.3 kB / 1.578 GB, free: 64.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001121/6.523, allocations: 43.53 kB / 1.578 GB, free: 64.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009276/6.524, allocations: 273.4 kB / 1.579 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/6.524, allocations: 3.562 kB / 1.579 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.303e-06/6.524, allocations: 3.406 kB / 1.579 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000561/6.524, allocations: 0.5058 MB / 1.579 GB, free: 64.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001367/6.526, allocations: 0.6388 MB / 1.58 GB, free: 64.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/6.526, allocations: 0 / 1.58 GB, free: 64.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/6.526, allocations: 62.19 kB / 1.58 GB, free: 64.08 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001227/6.527, allocations: 20.42 kB / 1.58 GB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.835e-05/6.527, allocations: 3.703 kB / 1.58 GB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009422/6.528, allocations: 1.213 MB / 1.581 GB, free: 62.88 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/6.528, allocations: 0 / 1.581 GB, free: 62.88 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008515/6.528, allocations: 419.8 kB / 1.581 GB, free: 62.7 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001223/6.53, allocations: 0.8949 MB / 1.582 GB, free: 62.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001816/6.53, allocations: 123.4 kB / 1.582 GB, free: 62.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001257/6.53, allocations: 3.719 kB / 1.582 GB, free: 62.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005934/6.531, allocations: 16.09 kB / 1.582 GB, free: 62.03 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/6.531, allocations: 11.47 kB / 1.582 GB, free: 62.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.916e-05/6.531, allocations: 17.23 kB / 1.582 GB, free: 62.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0004755/6.531, allocations: 287.6 kB / 1.583 GB, free: 61.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002793/6.534, allocations: 334.6 kB / 1.583 GB, free: 61.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005024/6.539, allocations: 1.336 MB / 1.584 GB, free: 61.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/6.54, allocations: 417.9 kB / 1.585 GB, free: 61.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/6.54, allocations: 3.531 kB / 1.585 GB, free: 61.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/6.541, allocations: 193.3 kB / 1.585 GB, free: 61.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/6.543, allocations: 167.3 kB / 1.585 GB, free: 61.49 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001846/6.544, allocations: 0.6086 MB / 1.586 GB, free: 61.31 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006572/6.545, allocations: 0.8901 MB / 1.587 GB, free: 60.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.343e-06/6.545, allocations: 0 / 1.587 GB, free: 60.59 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.SimpleNaturalGasFixedComposition_res.mat does not exist to compare? outputFormat=mat