Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_IdealGasN2",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.91/1.91, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2554/2.165, allocations: 51.03 MB / 267.3 MB, free: 5.148 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1418/2.307, allocations: 48.69 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.139/3.447, allocations: 449.1 MB / 0.7471 GB, free: 57.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003957/3.447, allocations: 69.22 kB / 0.7472 GB, free: 57.32 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.1117/3.559, allocations: 29.6 MB / 0.7761 GB, free: 31.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/3.559, allocations: 8 kB / 0.7761 GB, free: 31.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00305/3.562, allocations: 220.5 kB / 0.7763 GB, free: 30.99 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/3.563, allocations: 210.9 kB / 0.7765 GB, free: 30.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.466e-05/3.563, allocations: 0 / 0.7765 GB, free: 30.74 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-05/3.563, allocations: 4 kB / 0.7765 GB, free: 30.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005348/3.563, allocations: 151.9 kB / 0.7767 GB, free: 30.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00033/3.564, allocations: 132.2 kB / 0.7768 GB, free: 30.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/3.564, allocations: 4 kB / 0.7768 GB, free: 30.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/3.564, allocations: 0 / 0.7768 GB, free: 30.44 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/3.564, allocations: 0 / 0.7768 GB, free: 30.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00136/3.565, allocations: 0.5445 MB / 0.7773 GB, free: 29.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000394/3.565, allocations: 118.5 kB / 0.7774 GB, free: 29.73 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001486/3.566, allocations: 56.86 kB / 0.7775 GB, free: 29.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.692e-05/3.566, allocations: 4.156 kB / 0.7775 GB, free: 29.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/3.566, allocations: 42.45 kB / 0.7775 GB, free: 29.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.965e-06/3.566, allocations: 0 / 0.7775 GB, free: 29.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=19): time 0.007339/3.573, allocations: 0.8692 MB / 0.7784 GB, free: 28.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.763e-05/3.573, allocations: 55.41 kB / 0.7784 GB, free: 28.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.385e-05/3.573, allocations: 100.9 kB / 0.7785 GB, free: 28.5 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.514e-05/3.573, allocations: 29.7 kB / 0.7786 GB, free: 28.46 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.08e-05/3.573, allocations: 103.9 kB / 0.7787 GB, free: 28.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.19e-05/3.573, allocations: 59.33 kB / 0.7787 GB, free: 28.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.627e-05/3.573, allocations: 0 / 0.7787 GB, free: 28.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.062e-05/3.574, allocations: 330.7 kB / 0.779 GB, free: 27.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/3.574, allocations: 55.98 kB / 0.7791 GB, free: 27.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/3.574, allocations: 95.47 kB / 0.7792 GB, free: 27.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/3.574, allocations: 72.91 kB / 0.7792 GB, free: 27.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/3.574, allocations: 0 / 0.7792 GB, free: 27.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007512/3.575, allocations: 232.7 kB / 0.7795 GB, free: 27.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/3.575, allocations: 4 kB / 0.7795 GB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/3.575, allocations: 0 / 0.7795 GB, free: 27.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002279/3.575, allocations: 44.92 kB / 0.7795 GB, free: 27.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005966/3.576, allocations: 51.91 kB / 0.7796 GB, free: 27.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00049/3.576, allocations: 0.5796 MB / 0.7801 GB, free: 26.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003069/3.577, allocations: 7.969 kB / 0.7801 GB, free: 26.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.266e-05/3.577, allocations: 20 kB / 0.7802 GB, free: 26.77 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.0001336/3.577, allocations: 121.7 kB / 0.7803 GB, free: 26.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/3.577, allocations: 7.906 kB / 0.7803 GB, free: 26.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001442/3.578, allocations: 355 kB / 0.7806 GB, free: 26.27 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/3.578, allocations: 0 / 0.7806 GB, free: 26.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/3.578, allocations: 11.89 kB / 0.7806 GB, free: 26.26 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/3.578, allocations: 0 / 0.7806 GB, free: 26.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/3.58, allocations: 0.5431 MB / 0.7812 GB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/3.58, allocations: 4.094 kB / 0.7812 GB, free: 25.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/3.58, allocations: 63.89 kB / 0.7812 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001193/3.58, allocations: 24.78 kB / 0.7813 GB, free: 25.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.547e-05/3.581, allocations: 15.98 kB / 0.7813 GB, free: 25.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009058/3.581, allocations: 1.213 MB / 0.7825 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/3.581, allocations: 0 / 0.7825 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008034/3.582, allocations: 441.5 kB / 0.7829 GB, free: 23.75 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001139/3.583, allocations: 0.895 MB / 0.7837 GB, free: 22.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.173e-05/3.584, allocations: 88.92 kB / 0.7838 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/3.584, allocations: 0 / 0.7838 GB, free: 22.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000394/3.584, allocations: 12 kB / 0.7838 GB, free: 22.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/3.584, allocations: 23.97 kB / 0.7839 GB, free: 22.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.369e-05/3.584, allocations: 23.98 kB / 0.7839 GB, free: 22.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.04e-05/3.584, allocations: 91.58 kB / 0.784 GB, free: 22.55 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001596/3.586, allocations: 143.9 kB / 0.7841 GB, free: 22.41 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 (21): * Single equations (assignments): 20 * 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.001149/3.587, allocations: 0.6332 MB / 0.7847 GB, free: 21.77 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006724/3.588, allocations: 180.3 kB / 0.7849 GB, free: 21.59 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/3.588, allocations: 8.188 kB / 0.7849 GB, free: 21.58 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003788/3.588, allocations: 193.8 kB / 0.7851 GB, free: 21.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/3.589, allocations: 39.95 kB / 0.7851 GB, free: 21.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009669/3.59, allocations: 313.3 kB / 0.7854 GB, free: 21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007179/3.59, allocations: 0.7862 MB / 0.7862 GB, free: 20.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.583e-06/3.591, allocations: 0 / 0.7862 GB, free: 20.19 MB / 426.7 MB