Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_2_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 2.234/2.234, allocations: 235 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1962/2.431, allocations: 57.2 MB / 299.1 MB, free: 496 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2748/2.706, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.825/4.531, allocations: 0.7588 GB / 1.104 GB, free: 25.68 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/4.531, allocations: 69.84 kB / 1.104 GB, free: 25.64 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.4618/4.993, allocations: 61.74 MB / 1.165 GB, free: 156.6 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.892e-05/4.993, allocations: 9.641 kB / 1.165 GB, free: 156.6 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01697/5.01, allocations: 0.8358 MB / 1.166 GB, free: 156.2 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/5.012, allocations: 278.6 kB / 1.166 GB, free: 155.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/5.012, allocations: 5.406 kB / 1.166 GB, free: 155.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003688/5.012, allocations: 18.03 kB / 1.166 GB, free: 155.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003628/5.016, allocations: 0.646 MB / 1.167 GB, free: 155.6 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002081/5.018, allocations: 420.2 kB / 1.167 GB, free: 155.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/5.018, allocations: 0 / 1.167 GB, free: 155.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001414/5.018, allocations: 0.9688 kB / 1.167 GB, free: 155.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/5.018, allocations: 11.84 kB / 1.167 GB, free: 155.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008369/5.027, allocations: 1.319 MB / 1.168 GB, free: 154.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/5.028, allocations: 316.2 kB / 1.169 GB, free: 154 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007805/5.029, allocations: 233.6 kB / 1.169 GB, free: 153.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001264/5.03, allocations: 250 kB / 1.169 GB, free: 153.4 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/5.03, allocations: 42.55 kB / 1.169 GB, free: 153.4 MB / 474.7 MB Notification: Performance of pre-optimization done (n=28): time 4.999e-06/5.03, allocations: 7.938 kB / 1.169 GB, free: 153.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=28): time 0.002387/5.032, allocations: 440.2 kB / 1.169 GB, free: 152.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/5.033, allocations: 77.11 kB / 1.17 GB, free: 152.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000184/5.033, allocations: 121 kB / 1.17 GB, free: 152.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/5.033, allocations: 25.7 kB / 1.17 GB, free: 152.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/5.033, allocations: 112.4 kB / 1.17 GB, free: 152.6 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/5.033, allocations: 106.5 kB / 1.17 GB, free: 152.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.489e-05/5.033, allocations: 4 kB / 1.17 GB, free: 152.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.114e-05/5.033, allocations: 322.8 kB / 1.17 GB, free: 152.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000748/5.034, allocations: 199.9 kB / 1.17 GB, free: 152 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008261/5.035, allocations: 313.8 kB / 1.171 GB, free: 151.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009675/5.036, allocations: 227.8 kB / 1.171 GB, free: 151.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/5.036, allocations: 4 kB / 1.171 GB, free: 151.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002363/5.038, allocations: 0.5342 MB / 1.171 GB, free: 150.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.031e-05/5.039, allocations: 5.969 kB / 1.171 GB, free: 150.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.833e-05/5.039, allocations: 8.156 kB / 1.171 GB, free: 150.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.562e-05/5.039, allocations: 8 kB / 1.171 GB, free: 150.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001729/5.04, allocations: 79.88 kB / 1.172 GB, free: 150.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.915e-05/5.04, allocations: 11.98 kB / 1.172 GB, free: 150.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/5.042, allocations: 35.67 kB / 1.172 GB, free: 150.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/5.042, allocations: 19.98 kB / 1.172 GB, free: 150.7 MB / 474.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.0003167/5.042, allocations: 124.7 kB / 1.172 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/5.043, allocations: 11.91 kB / 1.172 GB, free: 150.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002862/5.046, allocations: 0.5485 MB / 1.172 GB, free: 150 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/5.046, allocations: 4 kB / 1.172 GB, free: 150 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.147e-05/5.046, allocations: 3.938 kB / 1.172 GB, free: 150 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/5.046, allocations: 0 / 1.172 GB, free: 150 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/5.048, allocations: 0.5123 MB / 1.173 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/5.048, allocations: 0 / 1.173 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001685/5.049, allocations: 67.88 kB / 1.173 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.575e-05/5.049, allocations: 4 kB / 1.173 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/5.05, allocations: 7.984 kB / 1.173 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/5.05, allocations: 0 / 1.173 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/5.05, allocations: 4 kB / 1.173 GB, free: 149.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002626/5.052, allocations: 0.7342 MB / 1.174 GB, free: 148.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003685/5.056, allocations: 1.363 MB / 1.175 GB, free: 147.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001343/5.056, allocations: 92.95 kB / 1.175 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001811/5.056, allocations: 7.906 kB / 1.175 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001529/5.058, allocations: 19.95 kB / 1.175 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/5.058, allocations: 11.98 kB / 1.175 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001595/5.058, allocations: 23.97 kB / 1.175 GB, free: 147 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0001069/5.058, allocations: 95.28 kB / 1.175 GB, free: 146.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003908/5.062, allocations: 255.8 kB / 1.175 GB, free: 146.7 MB / 474.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.003704/5.066, allocations: 0.8582 MB / 1.176 GB, free: 145.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002004/5.068, allocations: 479.7 kB / 1.177 GB, free: 145.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/5.068, allocations: 0 / 1.177 GB, free: 145.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008482/5.069, allocations: 235.9 kB / 1.177 GB, free: 145.2 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/5.071, allocations: 81.36 kB / 1.177 GB, free: 145.1 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003327/5.074, allocations: 0.792 MB / 1.178 GB, free: 144.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001248/5.075, allocations: 0.8063 MB / 1.179 GB, free: 143.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.285e-06/5.076, allocations: 0 / 1.179 GB, free: 143.5 MB / 474.7 MB