Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_FlueGas",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.831/1.831, allocations: 209.3 MB / 216.3 MB, free: 6.777 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2648/2.096, allocations: 51.02 MB / 267.3 MB, free: 5.145 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/2.25, allocations: 48.68 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.955/4.206, allocations: 0.7456 GB / 1.054 GB, free: 75.75 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/4.206, allocations: 79.3 kB / 1.054 GB, free: 75.71 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Media.mo:725:35-725:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.2187/4.425, allocations: 61.47 MB / 1.114 GB, free: 17.61 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/4.425, allocations: 12 kB / 1.114 GB, free: 17.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01064/4.436, allocations: 0.842 MB / 1.115 GB, free: 16.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006762/4.436, allocations: 278.8 kB / 1.115 GB, free: 16.44 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/4.436, allocations: 4 kB / 1.115 GB, free: 16.43 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001831/4.437, allocations: 15.91 kB / 1.115 GB, free: 16.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001963/4.439, allocations: 0.6446 MB / 1.116 GB, free: 15.77 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009791/4.44, allocations: 412.5 kB / 1.116 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/4.44, allocations: 4 kB / 1.116 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/4.44, allocations: 0 / 1.116 GB, free: 15.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/4.44, allocations: 11.94 kB / 1.116 GB, free: 15.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005072/4.445, allocations: 1.317 MB / 1.118 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/4.446, allocations: 324.3 kB / 1.118 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005024/4.446, allocations: 226 kB / 1.118 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008571/4.447, allocations: 250.3 kB / 1.118 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/4.447, allocations: 50.44 kB / 1.119 GB, free: 13.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 3.296e-06/4.447, allocations: 0 / 1.119 GB, free: 13.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=28): time 0.001436/4.449, allocations: 437.3 kB / 1.119 GB, free: 12.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/4.449, allocations: 85.11 kB / 1.119 GB, free: 12.55 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/4.449, allocations: 124.9 kB / 1.119 GB, free: 12.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.761e-05/4.449, allocations: 29.64 kB / 1.119 GB, free: 12.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/4.449, allocations: 108.4 kB / 1.119 GB, free: 12.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000108/4.449, allocations: 102.4 kB / 1.119 GB, free: 12.18 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.616e-05/4.449, allocations: 0 / 1.119 GB, free: 12.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.032e-05/4.449, allocations: 326.8 kB / 1.12 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005039/4.45, allocations: 211.7 kB / 1.12 GB, free: 11.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/4.45, allocations: 300.8 kB / 1.12 GB, free: 11.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006475/4.451, allocations: 241 kB / 1.12 GB, free: 11.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.309e-06/4.451, allocations: 3.938 kB / 1.12 GB, free: 11.06 MB / 426.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001627/4.453, allocations: 0.5333 MB / 1.121 GB, free: 10.52 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.58e-05/4.453, allocations: 4 kB / 1.121 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/4.453, allocations: 4 kB / 1.121 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.306e-05/4.453, allocations: 7.906 kB / 1.121 GB, free: 10.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001306/4.454, allocations: 87.88 kB / 1.121 GB, free: 10.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/4.454, allocations: 8.344 kB / 1.121 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008917/4.455, allocations: 39.67 kB / 1.121 GB, free: 10.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.996e-05/4.455, allocations: 19.98 kB / 1.121 GB, free: 10.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001972/4.455, allocations: 113.6 kB / 1.121 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/4.456, allocations: 15.81 kB / 1.121 GB, free: 10.22 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001854/4.457, allocations: 0.554 MB / 1.122 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/4.457, allocations: 0 / 1.122 GB, free: 9.664 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/4.457, allocations: 4 kB / 1.122 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/4.457, allocations: 0 / 1.122 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/4.459, allocations: 0.5004 MB / 1.122 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/4.459, allocations: 8 kB / 1.122 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/4.46, allocations: 63.88 kB / 1.122 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/4.46, allocations: 0 / 1.122 GB, free: 9.051 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-05/4.46, allocations: 15.98 kB / 1.122 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/4.46, allocations: 0 / 1.122 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/4.46, allocations: 0 / 1.122 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002051/4.462, allocations: 0.7264 MB / 1.123 GB, free: 8.285 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002368/4.465, allocations: 1.367 MB / 1.124 GB, free: 6.895 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.682e-05/4.465, allocations: 96.8 kB / 1.124 GB, free: 6.781 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001214/4.465, allocations: 4 kB / 1.124 GB, free: 6.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/4.466, allocations: 27.91 kB / 1.125 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.351e-05/4.466, allocations: 15.98 kB / 1.125 GB, free: 6.734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/4.466, allocations: 19.97 kB / 1.125 GB, free: 6.715 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.629e-05/4.466, allocations: 95.28 kB / 1.125 GB, free: 6.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002227/4.469, allocations: 255.9 kB / 1.125 GB, free: 6.371 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (state.p,state.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002326/4.471, allocations: 0.868 MB / 1.126 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/4.472, allocations: 484.5 kB / 1.126 GB, free: 5.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/4.472, allocations: 4 kB / 1.126 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000537/4.473, allocations: 231.9 kB / 1.126 GB, free: 4.793 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/4.474, allocations: 75.92 kB / 1.126 GB, free: 4.719 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002544/4.476, allocations: 0.78 MB / 1.127 GB, free: 3.914 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/4.478, allocations: 0.7985 MB / 1.128 GB, free: 3.086 MB / 426.7 MB Notification: Performance of SimCode: time 1.523e-06/4.478, allocations: 3.938 kB / 1.128 GB, free: 3.082 MB / 426.7 MB