Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_MixtureGases",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.782/1.782, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2444/2.026, allocations: 46.82 MB / 249.4 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09389/2.12, allocations: 44.51 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.737/3.857, allocations: 0.7331 GB / 1.02 GB, free: 46.02 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/3.857, allocations: 65.03 kB / 1.02 GB, free: 45.99 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.5656/4.423, allocations: 107.2 MB / 1.125 GB, free: 99.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/4.423, allocations: 8 kB / 1.125 GB, free: 99.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003858/4.427, allocations: 295.2 kB / 1.125 GB, free: 98.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000655/4.428, allocations: 294.5 kB / 1.125 GB, free: 98.46 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/4.428, allocations: 8 kB / 1.125 GB, free: 98.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001478/4.428, allocations: 16 kB / 1.125 GB, free: 98.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001795/4.43, allocations: 0.6104 MB / 1.126 GB, free: 97.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/4.431, allocations: 0.5854 MB / 1.127 GB, free: 97.22 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/4.431, allocations: 0 / 1.127 GB, free: 97.22 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/4.431, allocations: 3.906 kB / 1.127 GB, free: 97.22 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.602e-05/4.431, allocations: 16.42 kB / 1.127 GB, free: 97.2 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006824/4.438, allocations: 1.756 MB / 1.128 GB, free: 95.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/4.439, allocations: 357.1 kB / 1.129 GB, free: 95.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000494/4.44, allocations: 177.7 kB / 1.129 GB, free: 94.84 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002502/4.442, allocations: 0.9283 MB / 1.13 GB, free: 93.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/4.442, allocations: 42.56 kB / 1.13 GB, free: 93.72 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.775e-06/4.442, allocations: 0 / 1.13 GB, free: 93.72 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.01469/4.457, allocations: 2.189 MB / 1.132 GB, free: 91.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.551e-05/4.457, allocations: 81.11 kB / 1.132 GB, free: 91.27 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001814/4.457, allocations: 154.3 kB / 1.132 GB, free: 91.12 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.891e-05/4.457, allocations: 25.7 kB / 1.132 GB, free: 91.09 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001072/4.457, allocations: 184.1 kB / 1.132 GB, free: 90.9 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/4.458, allocations: 169.5 kB / 1.133 GB, free: 90.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.585e-05/4.458, allocations: 0 / 1.133 GB, free: 90.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.172e-05/4.458, allocations: 338.8 kB / 1.133 GB, free: 90.39 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006224/4.459, allocations: 201.3 kB / 1.133 GB, free: 90.2 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006966/4.459, allocations: 352.9 kB / 1.133 GB, free: 89.78 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007704/4.46, allocations: 245.2 kB / 1.134 GB, free: 89.54 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/4.46, allocations: 0 / 1.134 GB, free: 89.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002039/4.462, allocations: 0.6239 MB / 1.134 GB, free: 88.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/4.462, allocations: 7.906 kB / 1.134 GB, free: 88.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/4.462, allocations: 11.94 kB / 1.134 GB, free: 88.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002749/4.462, allocations: 45.69 kB / 1.134 GB, free: 88.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002408/4.465, allocations: 184 kB / 1.134 GB, free: 88.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007793/4.466, allocations: 1.093 MB / 1.136 GB, free: 87.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/4.467, allocations: 31.95 kB / 1.136 GB, free: 87.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/4.467, allocations: 35.98 kB / 1.136 GB, free: 87.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * 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.0002521/4.468, allocations: 128.6 kB / 1.136 GB, free: 87.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/4.468, allocations: 31.72 kB / 1.136 GB, free: 87.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003113/4.471, allocations: 0.6888 MB / 1.136 GB, free: 86.59 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.458e-06/4.471, allocations: 4 kB / 1.136 GB, free: 86.58 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/4.471, allocations: 7.938 kB / 1.136 GB, free: 86.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/4.471, allocations: 3.984 kB / 1.136 GB, free: 86.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004209/4.475, allocations: 1.367 MB / 1.138 GB, free: 85.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/4.475, allocations: 0 / 1.138 GB, free: 85.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002312/4.478, allocations: 147.8 kB / 1.138 GB, free: 84.99 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000208/4.478, allocations: 45.62 kB / 1.138 GB, free: 84.94 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001197/4.478, allocations: 19.97 kB / 1.138 GB, free: 84.92 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/4.48, allocations: 2.421 MB / 1.14 GB, free: 82.27 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.72e-06/4.48, allocations: 8.062 kB / 1.14 GB, free: 82.26 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002444/4.482, allocations: 0.983 MB / 1.141 GB, free: 81.18 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003277/4.486, allocations: 1.611 MB / 1.143 GB, free: 79.48 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/4.486, allocations: 104.8 kB / 1.143 GB, free: 79.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/4.486, allocations: 4 kB / 1.143 GB, free: 79.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/4.488, allocations: 31.95 kB / 1.143 GB, free: 79.32 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.759e-05/4.488, allocations: 39.86 kB / 1.143 GB, free: 79.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001453/4.488, allocations: 35.97 kB / 1.143 GB, free: 79.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001115/4.488, allocations: 116.4 kB / 1.143 GB, free: 79.13 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003473/4.491, allocations: 491.6 kB / 1.144 GB, free: 78.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 46 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006021/4.497, allocations: 1.397 MB / 1.145 GB, free: 77.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001879/4.499, allocations: 0.5104 MB / 1.145 GB, free: 76.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/4.499, allocations: 1.25 kB / 1.146 GB, free: 76.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/4.5, allocations: 467.7 kB / 1.146 GB, free: 76.37 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001185/4.502, allocations: 79.88 kB / 1.146 GB, free: 76.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002628/4.504, allocations: 0.7093 MB / 1.147 GB, free: 75.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001239/4.505, allocations: 0.8844 MB / 1.148 GB, free: 74.62 MB / 394.7 MB Notification: Performance of SimCode: time 1.162e-06/4.506, allocations: 7.938 kB / 1.148 GB, free: 74.62 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.MixtureGases_res.mat does not exist to compare? outputFormat=mat