Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_2_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.905/1.905, allocations: 194.9 MB / 202.5 MB, free: 6.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2138/2.119, allocations: 46.82 MB / 249.3 MB, free: 5.312 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/2.218, allocations: 44.51 MB / 293.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.604/3.822, allocations: 0.7125 GB / 0.9994 GB, free: 66.15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/3.822, allocations: 70.58 kB / 0.9995 GB, free: 66.11 MB / 394.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.1135/3.936, allocations: 33.47 MB / 1.032 GB, free: 38.54 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/3.936, allocations: 9.531 kB / 1.032 GB, free: 38.53 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003117/3.939, allocations: 216.4 kB / 1.032 GB, free: 38.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/3.939, allocations: 205.1 kB / 1.033 GB, free: 38.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/3.939, allocations: 4 kB / 1.033 GB, free: 38.11 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.546e-05/3.94, allocations: 8 kB / 1.033 GB, free: 38.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007248/3.94, allocations: 191.8 kB / 1.033 GB, free: 37.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003946/3.941, allocations: 156 kB / 1.033 GB, free: 37.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/3.941, allocations: 0 / 1.033 GB, free: 37.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/3.941, allocations: 4 kB / 1.033 GB, free: 37.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/3.941, allocations: 0 / 1.033 GB, free: 37.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002121/3.943, allocations: 0.5967 MB / 1.034 GB, free: 37.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/3.943, allocations: 148.7 kB / 1.034 GB, free: 37.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001838/3.943, allocations: 70.09 kB / 1.034 GB, free: 37.17 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002831/3.944, allocations: 96.59 kB / 1.034 GB, free: 37.06 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/3.944, allocations: 34.56 kB / 1.034 GB, free: 37.02 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.645e-06/3.944, allocations: 0 / 1.034 GB, free: 37.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.007281/3.951, allocations: 0.9834 MB / 1.035 GB, free: 36.08 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.142e-05/3.951, allocations: 55.41 kB / 1.035 GB, free: 36.01 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.534e-05/3.951, allocations: 96.62 kB / 1.035 GB, free: 35.91 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.321e-05/3.951, allocations: 29.7 kB / 1.035 GB, free: 35.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/3.951, allocations: 103.4 kB / 1.035 GB, free: 35.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/3.951, allocations: 62.58 kB / 1.035 GB, free: 35.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.662e-05/3.951, allocations: 0 / 1.035 GB, free: 35.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.872e-05/3.952, allocations: 321.9 kB / 1.035 GB, free: 35.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001922/3.952, allocations: 71.73 kB / 1.036 GB, free: 35.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/3.952, allocations: 103.5 kB / 1.036 GB, free: 35.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002443/3.952, allocations: 77.66 kB / 1.036 GB, free: 35.23 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/3.952, allocations: 3.938 kB / 1.036 GB, free: 35.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006944/3.953, allocations: 235.2 kB / 1.036 GB, free: 35.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/3.953, allocations: 8 kB / 1.036 GB, free: 35.04 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/3.953, allocations: 0 / 1.036 GB, free: 35.04 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/3.953, allocations: 27.66 kB / 1.036 GB, free: 35.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007049/3.954, allocations: 54.41 kB / 1.036 GB, free: 34.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000384/3.954, allocations: 0.5354 MB / 1.037 GB, free: 34.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003913/3.955, allocations: 11.92 kB / 1.037 GB, free: 34.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.134e-05/3.955, allocations: 9.375 kB / 1.037 GB, free: 34.39 MB / 394.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.0001211/3.955, allocations: 113.4 kB / 1.037 GB, free: 34.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.364e-05/3.955, allocations: 12.66 kB / 1.037 GB, free: 34.26 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001004/3.956, allocations: 264.7 kB / 1.037 GB, free: 34.06 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/3.956, allocations: 4 kB / 1.037 GB, free: 34.06 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.353e-06/3.956, allocations: 0 / 1.037 GB, free: 34.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.585e-06/3.956, allocations: 3.984 kB / 1.037 GB, free: 34.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/3.957, allocations: 0.5829 MB / 1.038 GB, free: 33.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/3.957, allocations: 7.938 kB / 1.038 GB, free: 33.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007017/3.958, allocations: 44.7 kB / 1.038 GB, free: 33.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001153/3.958, allocations: 23.66 kB / 1.038 GB, free: 33.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/3.958, allocations: 8.609 kB / 1.038 GB, free: 33.43 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008729/3.959, allocations: 1.221 MB / 1.039 GB, free: 32.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/3.959, allocations: 4.156 kB / 1.039 GB, free: 32.11 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000859/3.96, allocations: 427.8 kB / 1.039 GB, free: 31.65 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00119/3.961, allocations: 0.9049 MB / 1.04 GB, free: 30.7 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.48e-05/3.961, allocations: 85.02 kB / 1.04 GB, free: 30.6 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.717e-05/3.961, allocations: 3.906 kB / 1.04 GB, free: 30.6 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004679/3.962, allocations: 4 kB / 1.04 GB, free: 30.59 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.315e-05/3.962, allocations: 15.97 kB / 1.04 GB, free: 30.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.888e-05/3.962, allocations: 8 kB / 1.04 GB, free: 30.57 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.563e-05/3.962, allocations: 91.27 kB / 1.04 GB, free: 30.48 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001772/3.964, allocations: 203.9 kB / 1.04 GB, free: 30.28 MB / 394.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.001656/3.966, allocations: 0.7284 MB / 1.041 GB, free: 29.54 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006764/3.966, allocations: 199.6 kB / 1.041 GB, free: 29.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/3.966, allocations: 192 / 1.041 GB, free: 29.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003808/3.967, allocations: 197.7 kB / 1.042 GB, free: 29.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/3.967, allocations: 36.19 kB / 1.042 GB, free: 29.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009073/3.968, allocations: 312.8 kB / 1.042 GB, free: 28.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004336/3.969, allocations: 0.7544 MB / 1.043 GB, free: 27.99 MB / 394.7 MB Notification: Performance of SimCode: time 9.81e-07/3.969, allocations: 0 / 1.043 GB, free: 27.99 MB / 394.7 MB