Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_IdealGasN2Mix",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(ModelicaTest): time 1.895/1.895, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2545/2.149, allocations: 51.03 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/2.289, allocations: 48.68 MB / 316 MB, free: 4.371 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.896/4.185, allocations: 0.7086 GB / 1.017 GB, free: 111.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/4.185, allocations: 74.34 kB / 1.017 GB, free: 111.9 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.1257/4.311, allocations: 33.03 MB / 1.049 GB, free: 84.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/4.311, allocations: 12 kB / 1.049 GB, free: 84.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00313/4.314, allocations: 220.4 kB / 1.05 GB, free: 83.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003158/4.315, allocations: 203 kB / 1.05 GB, free: 83.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/4.315, allocations: 7.906 kB / 1.05 GB, free: 83.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.372e-05/4.315, allocations: 4 kB / 1.05 GB, free: 83.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006542/4.315, allocations: 192.3 kB / 1.05 GB, free: 83.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000389/4.316, allocations: 154.8 kB / 1.05 GB, free: 83.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/4.316, allocations: 4 kB / 1.05 GB, free: 83.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.263e-05/4.316, allocations: 0 / 1.05 GB, free: 83.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/4.316, allocations: 1.859 kB / 1.05 GB, free: 83.39 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002148/4.318, allocations: 0.5939 MB / 1.051 GB, free: 82.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003725/4.319, allocations: 142.5 kB / 1.051 GB, free: 82.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001856/4.319, allocations: 64.86 kB / 1.051 GB, free: 82.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002808/4.319, allocations: 101 kB / 1.051 GB, free: 82.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.891e-05/4.319, allocations: 34.81 kB / 1.051 GB, free: 82.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.076e-06/4.319, allocations: 0 / 1.051 GB, free: 82.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.01104/4.33, allocations: 0.9798 MB / 1.052 GB, free: 81.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/4.33, allocations: 55.34 kB / 1.052 GB, free: 81.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/4.33, allocations: 104.9 kB / 1.052 GB, free: 81.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.682e-05/4.331, allocations: 25.7 kB / 1.052 GB, free: 81.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/4.331, allocations: 100.3 kB / 1.052 GB, free: 80.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/4.331, allocations: 63.09 kB / 1.052 GB, free: 80.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.773e-05/4.331, allocations: 0 / 1.052 GB, free: 80.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.382e-05/4.331, allocations: 326.7 kB / 1.053 GB, free: 80.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/4.331, allocations: 68 kB / 1.053 GB, free: 80.53 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002925/4.332, allocations: 107.5 kB / 1.053 GB, free: 80.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003315/4.332, allocations: 77.03 kB / 1.053 GB, free: 80.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/4.332, allocations: 0 / 1.053 GB, free: 80.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001298/4.333, allocations: 234.3 kB / 1.053 GB, free: 80.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.559e-05/4.333, allocations: 8 kB / 1.053 GB, free: 80.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/4.333, allocations: 0 / 1.053 GB, free: 80.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002512/4.334, allocations: 24.84 kB / 1.053 GB, free: 80.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009832/4.335, allocations: 55.95 kB / 1.053 GB, free: 80.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005441/4.335, allocations: 0.5445 MB / 1.054 GB, free: 79.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005764/4.336, allocations: 0 / 1.054 GB, free: 79.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.571e-05/4.336, allocations: 12 kB / 1.054 GB, free: 79.43 MB / 426.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.0001884/4.336, allocations: 112.8 kB / 1.054 GB, free: 79.31 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001516/4.336, allocations: 11.89 kB / 1.054 GB, free: 79.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/4.338, allocations: 265 kB / 1.054 GB, free: 79.03 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/4.338, allocations: 4 kB / 1.054 GB, free: 79.03 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/4.338, allocations: 7.906 kB / 1.054 GB, free: 79.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/4.338, allocations: 0 / 1.054 GB, free: 79.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/4.34, allocations: 0.5856 MB / 1.055 GB, free: 78.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/4.34, allocations: 4 kB / 1.055 GB, free: 78.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001648/4.342, allocations: 47.97 kB / 1.055 GB, free: 78.33 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001569/4.342, allocations: 24.94 kB / 1.055 GB, free: 78.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/4.342, allocations: 7.984 kB / 1.055 GB, free: 78.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000983/4.343, allocations: 1.212 MB / 1.056 GB, free: 76.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/4.343, allocations: 0 / 1.056 GB, free: 76.97 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001164/4.344, allocations: 427.7 kB / 1.056 GB, free: 76.51 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001777/4.346, allocations: 0.9026 MB / 1.057 GB, free: 75.55 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/4.346, allocations: 85.02 kB / 1.057 GB, free: 75.45 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/4.346, allocations: 0 / 1.057 GB, free: 75.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006882/4.347, allocations: 11.89 kB / 1.057 GB, free: 75.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/4.347, allocations: 16.05 kB / 1.057 GB, free: 75.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.182e-05/4.347, allocations: 12 kB / 1.057 GB, free: 75.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.733e-05/4.347, allocations: 83.27 kB / 1.058 GB, free: 75.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002891/4.35, allocations: 207.8 kB / 1.058 GB, free: 75.13 MB / 426.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 (19): * Single equations (assignments): 18 * 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.002604/4.353, allocations: 0.7243 MB / 1.058 GB, free: 74.39 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009791/4.354, allocations: 202.4 kB / 1.059 GB, free: 74.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/4.354, allocations: 0 / 1.059 GB, free: 74.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005414/4.354, allocations: 205.6 kB / 1.059 GB, free: 73.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008133/4.355, allocations: 36.16 kB / 1.059 GB, free: 73.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/4.356, allocations: 308.5 kB / 1.059 GB, free: 73.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007352/4.357, allocations: 0.7429 MB / 1.06 GB, free: 72.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/4.357, allocations: 3.938 kB / 1.06 GB, free: 72.84 MB / 426.7 MB