Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.MixIdealGasAir,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_MixIdealGasAir",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.567/1.567, allocations: 194.9 MB / 202.5 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.239/1.806, allocations: 46.82 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08627/1.893, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.535/3.427, allocations: 0.7243 GB / 1.011 GB, free: 55.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/3.428, allocations: 65.34 kB / 1.011 GB, free: 55.38 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.1425/3.57, allocations: 39.76 MB / 1.05 GB, free: 21.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/3.57, allocations: 8 kB / 1.05 GB, free: 21.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005536/3.576, allocations: 435 kB / 1.051 GB, free: 21.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005743/3.576, allocations: 258.7 kB / 1.051 GB, free: 21.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/3.576, allocations: 4 kB / 1.051 GB, free: 21.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/3.576, allocations: 15.94 kB / 1.051 GB, free: 21.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001322/3.578, allocations: 481.8 kB / 1.051 GB, free: 20.6 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007009/3.578, allocations: 309.5 kB / 1.052 GB, free: 20.29 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/3.579, allocations: 0 / 1.052 GB, free: 20.29 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.089e-05/3.579, allocations: 4 kB / 1.052 GB, free: 20.28 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.739e-06/3.579, allocations: 8 kB / 1.052 GB, free: 20.27 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003635/3.582, allocations: 0.9723 MB / 1.053 GB, free: 19.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007189/3.583, allocations: 232.2 kB / 1.053 GB, free: 19.02 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004149/3.583, allocations: 129.7 kB / 1.053 GB, free: 18.89 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002538/3.586, allocations: 0.6479 MB / 1.054 GB, free: 18.13 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.985e-05/3.586, allocations: 42.56 kB / 1.054 GB, free: 18.08 MB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 5.29e-06/3.586, allocations: 3.938 kB / 1.054 GB, free: 18.08 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.001476/3.588, allocations: 261.4 kB / 1.054 GB, free: 17.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/3.588, allocations: 77.11 kB / 1.054 GB, free: 17.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001254/3.588, allocations: 109 kB / 1.054 GB, free: 17.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.182e-05/3.588, allocations: 25.7 kB / 1.054 GB, free: 17.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.203e-05/3.588, allocations: 112.4 kB / 1.054 GB, free: 17.46 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001512/3.588, allocations: 102.5 kB / 1.054 GB, free: 17.36 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/3.588, allocations: 0 / 1.054 GB, free: 17.36 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.956e-05/3.588, allocations: 326.8 kB / 1.055 GB, free: 17.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003865/3.589, allocations: 100.6 kB / 1.055 GB, free: 16.93 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/3.589, allocations: 195.1 kB / 1.055 GB, free: 16.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006396/3.59, allocations: 119.9 kB / 1.055 GB, free: 16.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/3.59, allocations: 4 kB / 1.055 GB, free: 16.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00149/3.591, allocations: 330.8 kB / 1.055 GB, free: 16.26 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/3.592, allocations: 8 kB / 1.055 GB, free: 16.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/3.592, allocations: 0 / 1.055 GB, free: 16.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/3.592, allocations: 8 kB / 1.055 GB, free: 16.24 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/3.593, allocations: 71.89 kB / 1.055 GB, free: 16.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.912e-05/3.593, allocations: 12.22 kB / 1.055 GB, free: 16.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007901/3.594, allocations: 23.77 kB / 1.055 GB, free: 16.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/3.594, allocations: 23.98 kB / 1.055 GB, free: 16.11 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000218/3.594, allocations: 124.5 kB / 1.056 GB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000252/3.594, allocations: 11.91 kB / 1.056 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/3.596, allocations: 355.6 kB / 1.056 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/3.596, allocations: 4 kB / 1.056 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/3.596, allocations: 0 / 1.056 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/3.596, allocations: 3.938 kB / 1.056 GB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/3.598, allocations: 320.2 kB / 1.056 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/3.598, allocations: 7.844 kB / 1.056 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007735/3.599, allocations: 55.97 kB / 1.056 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/3.599, allocations: 0 / 1.056 GB, free: 15.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.188e-05/3.599, allocations: 11.98 kB / 1.056 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-06/3.599, allocations: 0 / 1.056 GB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/3.599, allocations: 4 kB / 1.056 GB, free: 15.18 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001082/3.6, allocations: 0.509 MB / 1.057 GB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001465/3.601, allocations: 1.036 MB / 1.058 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/3.601, allocations: 92.86 kB / 1.058 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.646e-05/3.602, allocations: 8.188 kB / 1.058 GB, free: 13.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/3.602, allocations: 19.98 kB / 1.058 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/3.602, allocations: 15.97 kB / 1.058 GB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/3.602, allocations: 15.98 kB / 1.058 GB, free: 13.42 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.766e-05/3.602, allocations: 87.28 kB / 1.058 GB, free: 13.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002331/3.605, allocations: 323.6 kB / 1.058 GB, free: 13.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002323/3.607, allocations: 0.8869 MB / 1.059 GB, free: 12.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007298/3.608, allocations: 259.8 kB / 1.059 GB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/3.608, allocations: 0.625 kB / 1.059 GB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003025/3.608, allocations: 135.9 kB / 1.06 GB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009657/3.609, allocations: 71.86 kB / 1.06 GB, free: 11.66 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001435/3.611, allocations: 0.5873 MB / 1.06 GB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00054/3.611, allocations: 0.7906 MB / 1.061 GB, free: 10.23 MB / 394.7 MB Notification: Performance of SimCode: time 8.41e-07/3.611, allocations: 0 / 1.061 GB, free: 10.23 MB / 394.7 MB