Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_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(Modelica): time 1.805/1.805, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1945/2, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/2.102, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.989/4.091, allocations: 0.7006 GB / 0.9525 GB, free: 88.55 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/4.091, allocations: 70.92 kB / 0.9526 GB, free: 88.52 MB / 346.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.1199/4.211, allocations: 33.28 MB / 0.9851 GB, free: 62.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/4.211, allocations: 8.219 kB / 0.9851 GB, free: 62.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003273/4.214, allocations: 220.2 kB / 0.9853 GB, free: 62.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/4.215, allocations: 201 kB / 0.9855 GB, free: 62.4 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.692e-05/4.215, allocations: 4 kB / 0.9855 GB, free: 62.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.829e-05/4.215, allocations: 7.906 kB / 0.9855 GB, free: 62.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007298/4.215, allocations: 195.7 kB / 0.9857 GB, free: 62.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/4.216, allocations: 160.3 kB / 0.9859 GB, free: 62.14 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/4.216, allocations: 0 / 0.9859 GB, free: 62.14 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.341e-05/4.216, allocations: 0 / 0.9859 GB, free: 62.14 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/4.216, allocations: 4 kB / 0.9859 GB, free: 62.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00229/4.218, allocations: 0.5944 MB / 0.9865 GB, free: 61.56 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/4.219, allocations: 142.6 kB / 0.9866 GB, free: 61.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001812/4.219, allocations: 76.78 kB / 0.9867 GB, free: 61.34 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003058/4.219, allocations: 89.09 kB / 0.9868 GB, free: 61.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/4.219, allocations: 34.56 kB / 0.9868 GB, free: 61.19 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 3.126e-06/4.219, allocations: 4 kB / 0.9868 GB, free: 61.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.007791/4.227, allocations: 0.9644 MB / 0.9877 GB, free: 60.12 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/4.227, allocations: 59.39 kB / 0.9878 GB, free: 60.05 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.005e-05/4.227, allocations: 97 kB / 0.9879 GB, free: 59.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/4.227, allocations: 25.7 kB / 0.9879 GB, free: 59.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.625e-05/4.227, allocations: 108.2 kB / 0.988 GB, free: 59.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.318e-05/4.227, allocations: 59.11 kB / 0.9881 GB, free: 59.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.686e-05/4.227, allocations: 0 / 0.9881 GB, free: 59.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.469e-05/4.228, allocations: 322.7 kB / 0.9884 GB, free: 59.42 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/4.228, allocations: 72 kB / 0.9884 GB, free: 59.35 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/4.228, allocations: 95.61 kB / 0.9885 GB, free: 59.25 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/4.228, allocations: 89.02 kB / 0.9886 GB, free: 59.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/4.228, allocations: 0 / 0.9886 GB, free: 59.16 MB / 346.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007436/4.229, allocations: 238.2 kB / 0.9888 GB, free: 58.92 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/4.229, allocations: 4 kB / 0.9889 GB, free: 58.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/4.229, allocations: 4 kB / 0.9889 GB, free: 58.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/4.229, allocations: 20.78 kB / 0.9889 GB, free: 58.89 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/4.23, allocations: 56.06 kB / 0.9889 GB, free: 58.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004362/4.231, allocations: 0.5444 MB / 0.9895 GB, free: 58.26 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00046/4.231, allocations: 4.031 kB / 0.9895 GB, free: 58.26 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-05/4.231, allocations: 11.98 kB / 0.9895 GB, free: 58.25 MB / 346.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.0002051/4.231, allocations: 109 kB / 0.9896 GB, free: 58.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001494/4.232, allocations: 19.8 kB / 0.9896 GB, free: 58.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/4.233, allocations: 266.3 kB / 0.9899 GB, free: 57.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/4.233, allocations: 0 / 0.9899 GB, free: 57.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/4.233, allocations: 4 kB / 0.9899 GB, free: 57.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/4.233, allocations: 3.984 kB / 0.9899 GB, free: 57.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001344/4.234, allocations: 0.5909 MB / 0.9904 GB, free: 57.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/4.234, allocations: 0 / 0.9904 GB, free: 57.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007124/4.235, allocations: 51.95 kB / 0.9905 GB, free: 57.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001197/4.235, allocations: 20.84 kB / 0.9905 GB, free: 57.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/4.235, allocations: 4 kB / 0.9905 GB, free: 57.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009197/4.236, allocations: 1.22 MB / 0.9917 GB, free: 55.78 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/4.236, allocations: 3.984 kB / 0.9917 GB, free: 55.77 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008904/4.237, allocations: 427.8 kB / 0.9921 GB, free: 55.31 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001231/4.238, allocations: 0.9026 MB / 0.993 GB, free: 54.36 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.793e-05/4.238, allocations: 89 kB / 0.9931 GB, free: 54.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.84e-05/4.238, allocations: 0 / 0.9931 GB, free: 54.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004839/4.239, allocations: 4 kB / 0.9931 GB, free: 54.25 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.808e-05/4.239, allocations: 15.89 kB / 0.9931 GB, free: 54.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/4.239, allocations: 11.98 kB / 0.9931 GB, free: 54.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.972e-05/4.239, allocations: 87.28 kB / 0.9932 GB, free: 54.13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001949/4.241, allocations: 207.8 kB / 0.9934 GB, free: 53.93 MB / 346.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.002162/4.243, allocations: 0.7304 MB / 0.9941 GB, free: 53.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000745/4.244, allocations: 194.2 kB / 0.9943 GB, free: 53.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/4.244, allocations: 4 kB / 0.9943 GB, free: 53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004031/4.244, allocations: 198.1 kB / 0.9945 GB, free: 52.8 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006223/4.245, allocations: 39.86 kB / 0.9945 GB, free: 52.76 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000888/4.246, allocations: 304.6 kB / 0.9948 GB, free: 52.42 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004374/4.246, allocations: 0.7507 MB / 0.9955 GB, free: 51.65 MB / 346.7 MB Notification: Performance of SimCode: time 1.222e-06/4.246, allocations: 0 / 0.9955 GB, free: 51.65 MB / 346.7 MB