Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2Mix,fileNamePrefix="ModelicaTest_3_2_2_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 2.138/2.138, allocations: 234.9 MB / 241.9 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1789/2.317, allocations: 57.21 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/2.64, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.923/4.563, allocations: 0.7216 GB / 1.067 GB, free: 62.57 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003868/4.564, allocations: 68.22 kB / 1.067 GB, free: 62.53 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.1346/4.698, allocations: 33.2 MB / 1.1 GB, free: 35.22 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/4.698, allocations: 8 kB / 1.1 GB, free: 35.21 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003133/4.701, allocations: 228.3 kB / 1.1 GB, free: 35.01 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003478/4.702, allocations: 200.9 kB / 1.1 GB, free: 34.79 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/4.702, allocations: 4 kB / 1.1 GB, free: 34.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.585e-05/4.702, allocations: 8 kB / 1.1 GB, free: 34.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000699/4.703, allocations: 193.2 kB / 1.1 GB, free: 34.66 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004072/4.703, allocations: 151.2 kB / 1.101 GB, free: 34.54 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/4.703, allocations: 3.938 kB / 1.101 GB, free: 34.54 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/4.703, allocations: 11.98 kB / 1.101 GB, free: 34.52 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/4.703, allocations: 0 / 1.101 GB, free: 34.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002276/4.705, allocations: 0.5853 MB / 1.101 GB, free: 34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/4.706, allocations: 144.9 kB / 1.101 GB, free: 33.9 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/4.706, allocations: 74.22 kB / 1.101 GB, free: 33.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000311/4.706, allocations: 92.59 kB / 1.101 GB, free: 33.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.206e-05/4.706, allocations: 38.5 kB / 1.101 GB, free: 33.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 3.046e-06/4.706, allocations: 0 / 1.101 GB, free: 33.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=19): time 0.009277/4.716, allocations: 0.9818 MB / 1.102 GB, free: 32.76 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/4.716, allocations: 55.41 kB / 1.102 GB, free: 32.69 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/4.716, allocations: 100.9 kB / 1.103 GB, free: 32.59 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.55e-05/4.716, allocations: 25.7 kB / 1.103 GB, free: 32.56 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/4.716, allocations: 100.1 kB / 1.103 GB, free: 32.46 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/4.716, allocations: 65.78 kB / 1.103 GB, free: 32.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/4.716, allocations: 3.938 kB / 1.103 GB, free: 32.39 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.961e-05/4.716, allocations: 330.1 kB / 1.103 GB, free: 32.07 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/4.717, allocations: 64.38 kB / 1.103 GB, free: 32.04 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/4.717, allocations: 95.42 kB / 1.103 GB, free: 31.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003375/4.717, allocations: 82.16 kB / 1.103 GB, free: 31.91 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/4.717, allocations: 0 / 1.103 GB, free: 31.91 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0009907/4.718, allocations: 232.8 kB / 1.103 GB, free: 31.73 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/4.718, allocations: 10.81 kB / 1.104 GB, free: 31.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/4.718, allocations: 0 / 1.104 GB, free: 31.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002004/4.719, allocations: 20.16 kB / 1.104 GB, free: 31.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007158/4.719, allocations: 51.95 kB / 1.104 GB, free: 31.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004716/4.72, allocations: 0.5506 MB / 1.104 GB, free: 31.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004236/4.72, allocations: 4.031 kB / 1.104 GB, free: 31.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/4.72, allocations: 8 kB / 1.104 GB, free: 31.08 MB / 474.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.0001406/4.721, allocations: 109 kB / 1.104 GB, free: 30.97 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/4.721, allocations: 15.81 kB / 1.104 GB, free: 30.95 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/4.722, allocations: 269.5 kB / 1.104 GB, free: 30.74 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/4.722, allocations: 4 kB / 1.104 GB, free: 30.74 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.348e-06/4.722, allocations: 0 / 1.104 GB, free: 30.74 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/4.722, allocations: 0 / 1.104 GB, free: 30.74 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001413/4.723, allocations: 0.5979 MB / 1.105 GB, free: 30.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.742e-06/4.723, allocations: 4 kB / 1.105 GB, free: 30.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007095/4.724, allocations: 43.91 kB / 1.105 GB, free: 30.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/4.724, allocations: 24.41 kB / 1.105 GB, free: 30.11 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.38e-05/4.724, allocations: 3.984 kB / 1.105 GB, free: 30.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009587/4.725, allocations: 1.209 MB / 1.106 GB, free: 28.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/4.725, allocations: 0 / 1.106 GB, free: 28.82 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000911/4.726, allocations: 433.8 kB / 1.107 GB, free: 28.43 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001298/4.728, allocations: 0.9001 MB / 1.108 GB, free: 27.62 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.906e-05/4.728, allocations: 85.08 kB / 1.108 GB, free: 27.52 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/4.728, allocations: 4 kB / 1.108 GB, free: 27.52 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/4.728, allocations: 7.984 kB / 1.108 GB, free: 27.51 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.206e-05/4.728, allocations: 19.83 kB / 1.108 GB, free: 27.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-05/4.728, allocations: 7.438 kB / 1.108 GB, free: 27.48 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.34e-05/4.728, allocations: 95.19 kB / 1.108 GB, free: 27.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001836/4.73, allocations: 202.2 kB / 1.108 GB, free: 27.27 MB / 474.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.002047/4.732, allocations: 0.7374 MB / 1.109 GB, free: 26.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007489/4.733, allocations: 188.1 kB / 1.109 GB, free: 26.41 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/4.733, allocations: 0 / 1.109 GB, free: 26.41 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003962/4.734, allocations: 202.1 kB / 1.109 GB, free: 26.24 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/4.734, allocations: 43.81 kB / 1.109 GB, free: 26.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009312/4.735, allocations: 301 kB / 1.109 GB, free: 25.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004502/4.736, allocations: 0.7467 MB / 1.11 GB, free: 25.12 MB / 474.7 MB Notification: Performance of SimCode: time 1.693e-06/4.736, allocations: 0 / 1.11 GB, free: 25.12 MB / 474.7 MB