Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Air,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_Tests_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(Modelica): time 1.675/1.675, allocations: 171.2 MB / 178.1 MB, free: 8.324 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2459/1.921, allocations: 41.12 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09691/2.018, allocations: 38.76 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.589/3.607, allocations: 0.5799 GB / 0.8319 GB, free: 84.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/3.607, allocations: 91.8 kB / 0.832 GB, free: 84.92 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.72/4.327, allocations: 153 MB / 0.9814 GB, free: 66.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/4.327, allocations: 12.84 kB / 0.9814 GB, free: 66.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004854/4.328, allocations: 44.23 kB / 0.9814 GB, free: 66.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005573/4.328, allocations: 276.7 kB / 0.9817 GB, free: 65.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/4.328, allocations: 8.094 kB / 0.9817 GB, free: 65.96 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-05/4.328, allocations: 18.84 kB / 0.9817 GB, free: 65.96 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007374/4.329, allocations: 177.4 kB / 0.9819 GB, free: 65.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001201/4.33, allocations: 271.7 kB / 0.9821 GB, free: 65.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.886e-05/4.33, allocations: 9.219 kB / 0.9821 GB, free: 65.7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001189/4.331, allocations: 3.562 kB / 0.9821 GB, free: 65.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/4.331, allocations: 6.875 kB / 0.9821 GB, free: 65.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004349/4.335, allocations: 1.567 MB / 0.9837 GB, free: 64.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/4.335, allocations: 106.4 kB / 0.9838 GB, free: 64.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/4.336, allocations: 79.41 kB / 0.9839 GB, free: 64.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.916e-05/4.336, allocations: 2.75 kB / 0.9839 GB, free: 64.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/4.336, allocations: 39.38 kB / 0.9839 GB, free: 64.08 MB / 346.7 MB Notification: Performance of pre-optimization done (n=20): time 6.091e-06/4.336, allocations: 2.203 kB / 0.9839 GB, free: 64.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.01281/4.349, allocations: 0.9764 MB / 0.9849 GB, free: 63.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/4.349, allocations: 54.44 kB / 0.9849 GB, free: 63.34 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006267/4.35, allocations: 201.2 kB / 0.9851 GB, free: 63.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.922e-05/4.35, allocations: 25.7 kB / 0.9851 GB, free: 63.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/4.35, allocations: 169.8 kB / 0.9853 GB, free: 63.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.367e-05/4.35, allocations: 89.62 kB / 0.9854 GB, free: 62.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.23e-05/4.35, allocations: 3.531 kB / 0.9854 GB, free: 62.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.039e-05/4.35, allocations: 332.2 kB / 0.9857 GB, free: 62.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002593/4.35, allocations: 81.31 kB / 0.9858 GB, free: 62.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003344/4.351, allocations: 182.8 kB / 0.9859 GB, free: 62.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003266/4.351, allocations: 105.5 kB / 0.986 GB, free: 62.36 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/4.351, allocations: 1.625 kB / 0.986 GB, free: 62.36 MB / 346.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001117/4.352, allocations: 349.9 kB / 0.9864 GB, free: 62.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.434e-05/4.352, allocations: 8.312 kB / 0.9864 GB, free: 62.18 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.627e-05/4.352, allocations: 4.344 kB / 0.9864 GB, free: 62.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003437/4.353, allocations: 65.5 kB / 0.9864 GB, free: 62.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007852/4.353, allocations: 80.92 kB / 0.9865 GB, free: 62.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001817/4.355, allocations: 1.811 MB / 0.9883 GB, free: 60.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005658/4.356, allocations: 13.42 kB / 0.9883 GB, free: 60.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.899e-05/4.356, allocations: 42.59 kB / 0.9883 GB, free: 60.3 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001706/4.356, allocations: 122.1 kB / 0.9885 GB, free: 60.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/4.356, allocations: 31.64 kB / 0.9885 GB, free: 60.17 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001615/4.358, allocations: 382.2 kB / 0.9889 GB, free: 60 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/4.358, allocations: 3.5 kB / 0.9889 GB, free: 60 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/4.358, allocations: 0 / 0.9889 GB, free: 60 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007361/4.359, allocations: 0.5502 MB / 0.9894 GB, free: 59.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/4.36, allocations: 0.6446 MB / 0.99 GB, free: 58.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.486e-06/4.361, allocations: 7.984 kB / 0.99 GB, free: 58.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006426/4.361, allocations: 70.8 kB / 0.9901 GB, free: 58.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001503/4.361, allocations: 21.3 kB / 0.9901 GB, free: 58.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.031e-05/4.361, allocations: 17.05 kB / 0.9901 GB, free: 58.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/4.363, allocations: 1.219 MB / 0.9913 GB, free: 57.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/4.363, allocations: 5.047 kB / 0.9913 GB, free: 57.66 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001141/4.364, allocations: 476.9 kB / 0.9918 GB, free: 57.33 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001358/4.365, allocations: 0.9596 MB / 0.9927 GB, free: 56.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/4.365, allocations: 100.8 kB / 0.9928 GB, free: 56.29 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.068e-05/4.365, allocations: 4 kB / 0.9928 GB, free: 56.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/4.366, allocations: 10.59 kB / 0.9928 GB, free: 56.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.722e-05/4.366, allocations: 27.81 kB / 0.9929 GB, free: 56.25 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.023e-05/4.366, allocations: 35.92 kB / 0.9929 GB, free: 56.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0002298/4.366, allocations: 155.2 kB / 0.993 GB, free: 56.07 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002094/4.368, allocations: 231.9 kB / 0.9933 GB, free: 55.84 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (26): * Single equations (assignments): 25 * 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.001734/4.37, allocations: 0.9246 MB / 0.9942 GB, free: 55.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001025/4.371, allocations: 330.8 kB / 0.9945 GB, free: 54.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/4.371, allocations: 0 / 0.9945 GB, free: 54.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003667/4.372, allocations: 222.1 kB / 0.9947 GB, free: 54.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001478/4.373, allocations: 110.5 kB / 0.9948 GB, free: 54.4 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001582/4.375, allocations: 493.3 kB / 0.9953 GB, free: 53.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009138/4.376, allocations: 0.869 MB / 0.9961 GB, free: 53 MB / 346.7 MB Notification: Performance of SimCode: time 1.392e-06/4.376, allocations: 0 / 0.9961 GB, free: 53 MB / 346.7 MB