Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_IdealGases_Nitrogen",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.987/1.987, allocations: 209.3 MB / 216.3 MB, free: 4.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1561/2.144, allocations: 51.04 MB / 267.3 MB, free: 1.254 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.25/2.394, allocations: 48.69 MB / 316 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/3.694, allocations: 0.496 GB / 0.8046 GB, free: 97.57 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003858/3.694, allocations: 86.66 kB / 0.8047 GB, free: 97.54 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.9627/4.657, allocations: 217.9 MB / 1.018 GB, free: 55.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/4.657, allocations: 8 kB / 1.018 GB, free: 55.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001431/4.658, allocations: 139 kB / 1.018 GB, free: 55.63 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001723/4.66, allocations: 0.5547 MB / 1.018 GB, free: 55.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/4.66, allocations: 88.39 kB / 1.018 GB, free: 54.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/4.66, allocations: 28 kB / 1.018 GB, free: 54.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001573/4.662, allocations: 0.5372 MB / 1.019 GB, free: 54.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/4.664, allocations: 0.7382 MB / 1.02 GB, free: 53.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.233e-05/4.664, allocations: 3.938 kB / 1.02 GB, free: 53.56 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001126/4.664, allocations: 4 kB / 1.02 GB, free: 53.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/4.664, allocations: 36.98 kB / 1.02 GB, free: 53.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006903/4.671, allocations: 4.019 MB / 1.024 GB, free: 49.3 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006073/4.671, allocations: 198.4 kB / 1.024 GB, free: 49.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/4.672, allocations: 125.3 kB / 1.024 GB, free: 48.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.637e-05/4.672, allocations: 24.88 kB / 1.024 GB, free: 48.95 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/4.672, allocations: 46.73 kB / 1.024 GB, free: 48.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.446e-06/4.672, allocations: 0 / 1.024 GB, free: 48.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=32): time 0.009705/4.682, allocations: 1.414 MB / 1.025 GB, free: 47.41 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.352e-05/4.682, allocations: 136.5 kB / 1.025 GB, free: 47.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008739/4.683, allocations: 474.1 kB / 1.026 GB, free: 46.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.627e-05/4.683, allocations: 29.7 kB / 1.026 GB, free: 46.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002037/4.683, allocations: 342.7 kB / 1.026 GB, free: 46.39 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000125/4.683, allocations: 118.3 kB / 1.026 GB, free: 46.28 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/4.683, allocations: 0 / 1.026 GB, free: 46.28 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/4.683, allocations: 370.8 kB / 1.027 GB, free: 45.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/4.684, allocations: 185.4 kB / 1.027 GB, free: 45.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006379/4.684, allocations: 0.5171 MB / 1.027 GB, free: 45.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/4.686, allocations: 339.2 kB / 1.028 GB, free: 44.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.595e-06/4.686, allocations: 8 kB / 1.028 GB, free: 44.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002621/4.688, allocations: 0.8376 MB / 1.029 GB, free: 43.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/4.688, allocations: 4 kB / 1.029 GB, free: 43.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/4.688, allocations: 12 kB / 1.029 GB, free: 43.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002033/4.69, allocations: 272.1 kB / 1.029 GB, free: 43.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/4.691, allocations: 135.7 kB / 1.029 GB, free: 43.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/4.693, allocations: 0.9425 MB / 1.03 GB, free: 42.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/4.694, allocations: 40.05 kB / 1.03 GB, free: 42.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/4.694, allocations: 67.98 kB / 1.03 GB, free: 42.38 MB / 426.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.0002331/4.695, allocations: 137 kB / 1.03 GB, free: 42.23 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/4.695, allocations: 63.25 kB / 1.03 GB, free: 42.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/4.697, allocations: 0.555 MB / 1.031 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/4.697, allocations: 4 kB / 1.031 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/4.697, allocations: 0 / 1.031 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/4.697, allocations: 3.984 kB / 1.031 GB, free: 41.61 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002363/4.699, allocations: 0.972 MB / 1.032 GB, free: 40.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/4.699, allocations: 0 / 1.032 GB, free: 40.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001911/4.701, allocations: 195.7 kB / 1.032 GB, free: 40.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001423/4.701, allocations: 20.84 kB / 1.032 GB, free: 40.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.428e-05/4.701, allocations: 8 kB / 1.032 GB, free: 40.37 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/4.704, allocations: 2.58 MB / 1.034 GB, free: 37.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/4.704, allocations: 4.031 kB / 1.034 GB, free: 37.55 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001573/4.705, allocations: 0.6812 MB / 1.035 GB, free: 36.85 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002162/4.707, allocations: 1.288 MB / 1.036 GB, free: 35.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004337/4.708, allocations: 172.3 kB / 1.036 GB, free: 35.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/4.708, allocations: 128 / 1.036 GB, free: 35.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007725/4.709, allocations: 23.92 kB / 1.036 GB, free: 35.32 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/4.709, allocations: 31.88 kB / 1.037 GB, free: 35.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.552e-05/4.709, allocations: 35.98 kB / 1.037 GB, free: 35.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0006373/4.71, allocations: 350.9 kB / 1.037 GB, free: 34.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003061/4.713, allocations: 439.4 kB / 1.037 GB, free: 34.48 MB / 426.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.002644/4.715, allocations: 1.184 MB / 1.038 GB, free: 33.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001636/4.717, allocations: 492.2 kB / 1.039 GB, free: 32.94 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/4.717, allocations: 4 kB / 1.039 GB, free: 32.93 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002017/4.719, allocations: 394 kB / 1.039 GB, free: 32.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/4.722, allocations: 234.4 kB / 1.04 GB, free: 32.31 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/4.733, allocations: 2.341 MB / 1.042 GB, free: 29.98 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001352/4.734, allocations: 1.073 MB / 1.043 GB, free: 28.88 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/4.734, allocations: 0 / 1.043 GB, free: 28.88 MB / 426.7 MB