Running command: "" <> buildModelFMU(Modelica.Media.Examples.MixtureGases,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_MixtureGases",fmuType="me",version="2.0",platforms={"static"}) [: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.6/1.6, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2061/1.806, allocations: 46.82 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08729/1.894, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.564/3.458, allocations: 0.7331 GB / 1.02 GB, free: 46.24 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/3.458, allocations: 61.31 kB / 1.02 GB, free: 46.21 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.5132/3.971, allocations: 107.2 MB / 1.125 GB, free: 98.62 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/3.971, allocations: 11.98 kB / 1.125 GB, free: 98.61 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003277/3.975, allocations: 295.2 kB / 1.125 GB, free: 98.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005535/3.975, allocations: 294.2 kB / 1.125 GB, free: 97.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/3.975, allocations: 8 kB / 1.125 GB, free: 97.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/3.975, allocations: 16 kB / 1.125 GB, free: 97.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001541/3.977, allocations: 0.6104 MB / 1.126 GB, free: 97.36 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001323/3.978, allocations: 0.5853 MB / 1.127 GB, free: 96.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.405e-05/3.978, allocations: 0 / 1.127 GB, free: 96.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/3.978, allocations: 3.906 kB / 1.127 GB, free: 96.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.238e-05/3.978, allocations: 16.42 kB / 1.127 GB, free: 96.74 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005832/3.984, allocations: 1.759 MB / 1.128 GB, free: 94.92 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008234/3.985, allocations: 364.1 kB / 1.129 GB, free: 94.55 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004252/3.986, allocations: 181.6 kB / 1.129 GB, free: 94.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00219/3.988, allocations: 0.9204 MB / 1.13 GB, free: 93.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/3.988, allocations: 42.56 kB / 1.13 GB, free: 93.25 MB / 394.7 MB Notification: Performance of pre-optimization done (n=35): time 2.915e-06/3.988, allocations: 0 / 1.13 GB, free: 93.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.01298/4.001, allocations: 2.198 MB / 1.132 GB, free: 90.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/4.001, allocations: 81.11 kB / 1.132 GB, free: 90.8 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/4.001, allocations: 154.3 kB / 1.132 GB, free: 90.64 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.289e-05/4.001, allocations: 25.7 kB / 1.132 GB, free: 90.61 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.138e-05/4.001, allocations: 180.1 kB / 1.132 GB, free: 90.43 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001571/4.001, allocations: 173.5 kB / 1.132 GB, free: 90.26 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.542e-05/4.001, allocations: 0 / 1.132 GB, free: 90.26 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.414e-05/4.002, allocations: 338.8 kB / 1.133 GB, free: 89.92 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005349/4.002, allocations: 201.3 kB / 1.133 GB, free: 89.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006039/4.003, allocations: 348.9 kB / 1.133 GB, free: 89.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/4.003, allocations: 241.2 kB / 1.134 GB, free: 89.08 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/4.003, allocations: 0 / 1.134 GB, free: 89.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001811/4.005, allocations: 0.6215 MB / 1.134 GB, free: 88.45 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/4.005, allocations: 15.89 kB / 1.134 GB, free: 88.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/4.005, allocations: 8.031 kB / 1.134 GB, free: 88.42 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002471/4.006, allocations: 45.7 kB / 1.134 GB, free: 88.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002045/4.008, allocations: 179.7 kB / 1.134 GB, free: 88.2 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000685/4.008, allocations: 1.093 MB / 1.135 GB, free: 87.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001394/4.01, allocations: 40.08 kB / 1.135 GB, free: 87.01 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/4.01, allocations: 35.98 kB / 1.136 GB, free: 86.98 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.0002589/4.01, allocations: 124.5 kB / 1.136 GB, free: 86.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/4.01, allocations: 31.7 kB / 1.136 GB, free: 86.82 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00281/4.013, allocations: 0.6849 MB / 1.136 GB, free: 86.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/4.013, allocations: 4 kB / 1.136 GB, free: 86.12 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/4.013, allocations: 11.94 kB / 1.136 GB, free: 86.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/4.013, allocations: 3.984 kB / 1.136 GB, free: 86.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003646/4.017, allocations: 1.364 MB / 1.138 GB, free: 84.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/4.017, allocations: 4 kB / 1.138 GB, free: 84.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001972/4.019, allocations: 144 kB / 1.138 GB, free: 84.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001802/4.019, allocations: 45.69 kB / 1.138 GB, free: 84.47 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/4.019, allocations: 15.97 kB / 1.138 GB, free: 84.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001589/4.021, allocations: 2.421 MB / 1.14 GB, free: 81.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/4.021, allocations: 4 kB / 1.14 GB, free: 81.8 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002191/4.023, allocations: 0.9793 MB / 1.141 GB, free: 80.73 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002848/4.026, allocations: 1.611 MB / 1.143 GB, free: 79.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.711e-05/4.026, allocations: 112.8 kB / 1.143 GB, free: 78.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001549/4.026, allocations: 4 kB / 1.143 GB, free: 78.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/4.028, allocations: 35.89 kB / 1.143 GB, free: 78.85 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.135e-05/4.028, allocations: 35.86 kB / 1.143 GB, free: 78.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001386/4.028, allocations: 35.97 kB / 1.143 GB, free: 78.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0001124/4.028, allocations: 120.4 kB / 1.143 GB, free: 78.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003115/4.031, allocations: 487.7 kB / 1.144 GB, free: 78.19 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.005109/4.036, allocations: 1.395 MB / 1.145 GB, free: 76.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001633/4.038, allocations: 0.5228 MB / 1.145 GB, free: 76.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/4.038, allocations: 4 kB / 1.145 GB, free: 76.37 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008805/4.039, allocations: 456.7 kB / 1.146 GB, free: 75.9 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009901/4.04, allocations: 79.83 kB / 1.146 GB, free: 75.82 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/4.042, allocations: 0.7092 MB / 1.147 GB, free: 75.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001067/4.043, allocations: 0.8844 MB / 1.148 GB, free: 74.16 MB / 394.7 MB Notification: Performance of SimCode: time 1.823e-06/4.043, allocations: 0 / 1.148 GB, free: 74.16 MB / 394.7 MB