Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Air",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 2.285/2.285, allocations: 234.9 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1925/2.478, allocations: 57.22 MB / 299.1 MB, free: 460 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/2.804, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.961/4.766, allocations: 0.6359 GB / 0.9816 GB, free: 120.4 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/4.766, allocations: 95.95 kB / 0.9817 GB, free: 120.4 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 1.278/6.044, allocations: 229.1 MB / 1.205 GB, free: 87.38 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/6.044, allocations: 9.062 kB / 1.205 GB, free: 87.38 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001481/6.046, allocations: 132.3 kB / 1.206 GB, free: 87.35 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/6.048, allocations: 0.5496 MB / 1.206 GB, free: 87.09 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001221/6.048, allocations: 88.09 kB / 1.206 GB, free: 87.02 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/6.048, allocations: 27.62 kB / 1.206 GB, free: 87.02 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001506/6.05, allocations: 0.5368 MB / 1.207 GB, free: 87.02 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/6.051, allocations: 0.7375 MB / 1.208 GB, free: 86.79 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/6.051, allocations: 2.938 kB / 1.208 GB, free: 86.79 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001091/6.051, allocations: 5.719 kB / 1.208 GB, free: 86.79 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-05/6.052, allocations: 48.58 kB / 1.208 GB, free: 86.79 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006795/6.058, allocations: 3.992 MB / 1.211 GB, free: 84.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000665/6.059, allocations: 200.2 kB / 1.212 GB, free: 84.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003272/6.059, allocations: 131.2 kB / 1.212 GB, free: 84.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.635e-05/6.06, allocations: 29.66 kB / 1.212 GB, free: 84.12 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/6.06, allocations: 38.42 kB / 1.212 GB, free: 84.08 MB / 474.7 MB Notification: Performance of pre-optimization done (n=27): time 3.136e-06/6.06, allocations: 0 / 1.212 GB, free: 84.08 MB / 474.7 MB Notification: Performance of matching and sorting (n=32): time 0.009737/6.069, allocations: 1.419 MB / 1.213 GB, free: 83.52 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/6.069, allocations: 139.3 kB / 1.213 GB, free: 83.37 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008316/6.07, allocations: 472.4 kB / 1.214 GB, free: 83.14 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.842e-05/6.07, allocations: 29.12 kB / 1.214 GB, free: 83.11 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/6.071, allocations: 344.6 kB / 1.214 GB, free: 82.83 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001319/6.071, allocations: 120.4 kB / 1.214 GB, free: 82.74 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.24e-05/6.071, allocations: 0 / 1.214 GB, free: 82.74 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/6.071, allocations: 367.8 kB / 1.215 GB, free: 82.41 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004812/6.071, allocations: 187.5 kB / 1.215 GB, free: 82.34 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006692/6.072, allocations: 0.5105 MB / 1.215 GB, free: 81.85 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/6.073, allocations: 337.8 kB / 1.216 GB, free: 81.76 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.976e-06/6.073, allocations: 3.281 kB / 1.216 GB, free: 81.76 MB / 474.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002411/6.076, allocations: 0.8439 MB / 1.216 GB, free: 81.47 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/6.076, allocations: 5.562 kB / 1.216 GB, free: 81.47 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/6.076, allocations: 11.06 kB / 1.216 GB, free: 81.47 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00202/6.078, allocations: 268.5 kB / 1.217 GB, free: 81.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008491/6.079, allocations: 134 kB / 1.217 GB, free: 81.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001668/6.08, allocations: 0.941 MB / 1.218 GB, free: 80.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001191/6.082, allocations: 37.81 kB / 1.218 GB, free: 80.74 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001761/6.082, allocations: 66.84 kB / 1.218 GB, free: 80.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003676/6.082, allocations: 144.6 kB / 1.218 GB, free: 80.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001952/6.082, allocations: 61.72 kB / 1.218 GB, free: 80.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/6.085, allocations: 0.5573 MB / 1.219 GB, free: 80.39 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/6.085, allocations: 0 / 1.219 GB, free: 80.39 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/6.085, allocations: 6.031 kB / 1.219 GB, free: 80.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.004e-06/6.085, allocations: 0 / 1.219 GB, free: 80.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/6.087, allocations: 0.9674 MB / 1.22 GB, free: 79.88 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/6.087, allocations: 2.594 kB / 1.22 GB, free: 79.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00202/6.089, allocations: 187.2 kB / 1.22 GB, free: 79.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000136/6.09, allocations: 25.14 kB / 1.22 GB, free: 79.86 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/6.09, allocations: 19.3 kB / 1.22 GB, free: 79.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002185/6.092, allocations: 2.58 MB / 1.222 GB, free: 77.29 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/6.092, allocations: 3.938 kB / 1.222 GB, free: 77.29 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001671/6.094, allocations: 0.6757 MB / 1.223 GB, free: 76.93 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002737/6.096, allocations: 1.302 MB / 1.224 GB, free: 76.07 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/6.097, allocations: 167.4 kB / 1.224 GB, free: 75.92 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001763/6.097, allocations: 3.281 kB / 1.224 GB, free: 75.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007906/6.098, allocations: 22.84 kB / 1.224 GB, free: 75.92 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.651e-05/6.098, allocations: 25.16 kB / 1.224 GB, free: 75.92 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.815e-05/6.098, allocations: 35.48 kB / 1.224 GB, free: 75.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.000666/6.099, allocations: 348.7 kB / 1.225 GB, free: 75.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003059/6.102, allocations: 438.8 kB / 1.225 GB, free: 75.58 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002889/6.105, allocations: 1.201 MB / 1.226 GB, free: 75.34 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001721/6.107, allocations: 489.9 kB / 1.227 GB, free: 75.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/6.107, allocations: 0 / 1.227 GB, free: 75.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002137/6.109, allocations: 394.4 kB / 1.227 GB, free: 75.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/6.111, allocations: 235.5 kB / 1.227 GB, free: 74.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0121/6.123, allocations: 2.347 MB / 1.23 GB, free: 74.32 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001457/6.125, allocations: 1.08 MB / 1.231 GB, free: 73.58 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/6.125, allocations: 0 / 1.231 GB, free: 73.58 MB / 474.7 MB