Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_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(Modelica): time 1.745/1.745, allocations: 194.9 MB / 202.5 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2204/1.965, allocations: 46.82 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09035/2.055, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9743/3.03, allocations: 446.3 MB / 0.7228 GB, free: 53.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/3.03, allocations: 71.84 kB / 0.7229 GB, free: 53.71 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.09854/3.129, allocations: 29.54 MB / 0.7517 GB, free: 29.58 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/3.129, allocations: 11.98 kB / 0.7517 GB, free: 29.57 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003281/3.132, allocations: 222 kB / 0.7519 GB, free: 29.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/3.132, allocations: 204.9 kB / 0.7521 GB, free: 29.14 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/3.132, allocations: 7.906 kB / 0.7522 GB, free: 29.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.956e-05/3.132, allocations: 5.094 kB / 0.7522 GB, free: 29.13 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005539/3.133, allocations: 149.6 kB / 0.7523 GB, free: 29.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002954/3.133, allocations: 133.6 kB / 0.7524 GB, free: 28.92 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/3.133, allocations: 0 / 0.7524 GB, free: 28.92 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/3.133, allocations: 4 kB / 0.7524 GB, free: 28.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/3.133, allocations: 4 kB / 0.7524 GB, free: 28.91 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001322/3.135, allocations: 0.543 MB / 0.753 GB, free: 28.38 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003525/3.135, allocations: 137.8 kB / 0.7531 GB, free: 28.27 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/3.135, allocations: 62.23 kB / 0.7532 GB, free: 28.23 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.827e-05/3.135, allocations: 0 / 0.7532 GB, free: 28.23 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/3.135, allocations: 31.06 kB / 0.7532 GB, free: 28.19 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 1.833e-06/3.135, allocations: 4 kB / 0.7532 GB, free: 28.18 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.006858/3.142, allocations: 0.8615 MB / 0.754 GB, free: 27.35 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/3.142, allocations: 59.34 kB / 0.7541 GB, free: 27.29 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.526e-05/3.142, allocations: 96.5 kB / 0.7542 GB, free: 27.19 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/3.142, allocations: 25.7 kB / 0.7542 GB, free: 27.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.346e-05/3.143, allocations: 95.88 kB / 0.7543 GB, free: 27.06 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.006e-05/3.143, allocations: 69.95 kB / 0.7544 GB, free: 27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/3.143, allocations: 0 / 0.7544 GB, free: 27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 5.775e-05/3.143, allocations: 322.1 kB / 0.7547 GB, free: 26.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001657/3.143, allocations: 61.3 kB / 0.7547 GB, free: 26.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/3.143, allocations: 92.73 kB / 0.7548 GB, free: 26.56 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/3.143, allocations: 73.78 kB / 0.7549 GB, free: 26.52 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/3.143, allocations: 0 / 0.7549 GB, free: 26.52 MB / 394.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005811/3.144, allocations: 230.5 kB / 0.7551 GB, free: 26.33 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/3.144, allocations: 4 kB / 0.7551 GB, free: 26.33 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/3.144, allocations: 7.938 kB / 0.7551 GB, free: 26.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002014/3.144, allocations: 40.58 kB / 0.7552 GB, free: 26.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005684/3.145, allocations: 55.81 kB / 0.7552 GB, free: 26.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005001/3.145, allocations: 0.5738 MB / 0.7558 GB, free: 25.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000303/3.146, allocations: 4.031 kB / 0.7558 GB, free: 25.64 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/3.146, allocations: 31.66 kB / 0.7558 GB, free: 25.61 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.0001236/3.146, allocations: 120.7 kB / 0.7559 GB, free: 25.48 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/3.146, allocations: 11.89 kB / 0.7559 GB, free: 25.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/3.147, allocations: 355.3 kB / 0.7563 GB, free: 25.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.123e-06/3.147, allocations: 8 kB / 0.7563 GB, free: 25.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/3.147, allocations: 0 / 0.7563 GB, free: 25.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.223e-06/3.147, allocations: 3.984 kB / 0.7563 GB, free: 25.17 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/3.148, allocations: 0.5568 MB / 0.7568 GB, free: 24.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/3.149, allocations: 0 / 0.7568 GB, free: 24.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006499/3.149, allocations: 63.92 kB / 0.7569 GB, free: 24.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001252/3.149, allocations: 32.69 kB / 0.7569 GB, free: 24.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.441e-05/3.149, allocations: 11.3 kB / 0.7569 GB, free: 24.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008853/3.15, allocations: 1.207 MB / 0.7581 GB, free: 23.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/3.15, allocations: 3.984 kB / 0.7581 GB, free: 23.24 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000839/3.151, allocations: 438.2 kB / 0.7585 GB, free: 22.84 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001167/3.152, allocations: 0.9027 MB / 0.7594 GB, free: 22.01 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.492e-05/3.152, allocations: 85.64 kB / 0.7595 GB, free: 21.91 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/3.152, allocations: 4 kB / 0.7595 GB, free: 21.91 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/3.153, allocations: 4 kB / 0.7595 GB, free: 21.9 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/3.153, allocations: 30.42 kB / 0.7595 GB, free: 21.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001063/3.153, allocations: 29.61 kB / 0.7596 GB, free: 21.85 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.352e-05/3.153, allocations: 86.47 kB / 0.7596 GB, free: 21.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001789/3.155, allocations: 147.9 kB / 0.7598 GB, free: 21.68 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 (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.001131/3.156, allocations: 0.6222 MB / 0.7604 GB, free: 21.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006291/3.157, allocations: 184.2 kB / 0.7606 GB, free: 20.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/3.157, allocations: 0 / 0.7606 GB, free: 20.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003896/3.157, allocations: 202 kB / 0.7608 GB, free: 20.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005805/3.158, allocations: 39.89 kB / 0.7608 GB, free: 20.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009099/3.159, allocations: 325.2 kB / 0.7611 GB, free: 20.27 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006633/3.159, allocations: 0.7978 MB / 0.7619 GB, free: 19.45 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/3.159, allocations: 0 / 0.7619 GB, free: 19.45 MB / 394.7 MB