Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MixIdealGasAir,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Media_TestOnly_MixIdealGasAir",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.324/2.324, allocations: 235 MB / 241.9 MB, free: 9.75 MB / 194.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2288/2.553, allocations: 57.19 MB / 299.1 MB, free: 0.9336 MB / 242.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/2.871, allocations: 54.85 MB / 354 MB, free: 1.586 MB / 290.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.834/4.706, allocations: 0.7334 GB / 1.079 GB, free: 137.8 MB / 482.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002871/4.706, allocations: 72.52 kB / 1.079 GB, free: 137.8 MB / 482.8 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Media.mo:684:27-684:37: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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.1555/4.862, allocations: 39.46 MB / 1.118 GB, free: 125.6 MB / 482.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/4.862, allocations: 11.94 kB / 1.118 GB, free: 125.6 MB / 482.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005628/4.867, allocations: 437.8 kB / 1.118 GB, free: 125.2 MB / 482.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00055/4.868, allocations: 266 kB / 1.118 GB, free: 125 MB / 482.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.934e-05/4.868, allocations: 8 kB / 1.118 GB, free: 125 MB / 482.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001355/4.868, allocations: 11.91 kB / 1.118 GB, free: 124.9 MB / 482.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001349/4.87, allocations: 475.2 kB / 1.119 GB, free: 124.6 MB / 482.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007408/4.87, allocations: 309.8 kB / 1.119 GB, free: 124.4 MB / 482.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.731e-05/4.87, allocations: 4 kB / 1.119 GB, free: 124.4 MB / 482.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.651e-05/4.87, allocations: 0 / 1.119 GB, free: 124.4 MB / 482.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.098e-05/4.87, allocations: 4 kB / 1.119 GB, free: 124.4 MB / 482.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003618/4.874, allocations: 0.9616 MB / 1.12 GB, free: 123.6 MB / 482.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/4.875, allocations: 217.1 kB / 1.12 GB, free: 123.4 MB / 482.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002986/4.875, allocations: 142.9 kB / 1.12 GB, free: 123.3 MB / 482.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001831/4.877, allocations: 0.6495 MB / 1.121 GB, free: 122.6 MB / 482.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/4.877, allocations: 46 kB / 1.121 GB, free: 122.5 MB / 482.8 MB Notification: Performance of pre-optimization done (n=29): time 2.855e-06/4.877, allocations: 0 / 1.121 GB, free: 122.5 MB / 482.8 MB Notification: Performance of matching and sorting (n=29): time 0.0009872/4.878, allocations: 265.7 kB / 1.121 GB, free: 122.3 MB / 482.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.787e-05/4.878, allocations: 77.11 kB / 1.121 GB, free: 122.2 MB / 482.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.526e-05/4.878, allocations: 108.7 kB / 1.122 GB, free: 122.1 MB / 482.8 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/4.878, allocations: 29.64 kB / 1.122 GB, free: 122.1 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.915e-05/4.878, allocations: 111.6 kB / 1.122 GB, free: 122 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 8.927e-05/4.878, allocations: 101 kB / 1.122 GB, free: 121.9 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/4.878, allocations: 4 kB / 1.122 GB, free: 121.9 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 7.555e-05/4.878, allocations: 325.6 kB / 1.122 GB, free: 121.6 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002564/4.879, allocations: 100.7 kB / 1.122 GB, free: 121.5 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003032/4.879, allocations: 175.6 kB / 1.122 GB, free: 121.3 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003983/4.879, allocations: 132.2 kB / 1.122 GB, free: 121.3 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/4.879, allocations: 0 / 1.122 GB, free: 121.3 MB / 482.8 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009559/4.88, allocations: 332.1 kB / 1.123 GB, free: 121 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/4.88, allocations: 4 kB / 1.123 GB, free: 121 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/4.88, allocations: 4 kB / 1.123 GB, free: 121 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/4.88, allocations: 4 kB / 1.123 GB, free: 121 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007753/4.881, allocations: 75.89 kB / 1.123 GB, free: 120.9 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/4.881, allocations: 4.312 kB / 1.123 GB, free: 120.9 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005109/4.882, allocations: 35.98 kB / 1.123 GB, free: 120.9 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.892e-05/4.882, allocations: 19.62 kB / 1.123 GB, free: 120.9 MB / 482.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0001622/4.882, allocations: 112.9 kB / 1.123 GB, free: 120.8 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/4.882, allocations: 19.8 kB / 1.123 GB, free: 120.7 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001294/4.883, allocations: 362.5 kB / 1.123 GB, free: 120.5 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/4.883, allocations: 4 kB / 1.123 GB, free: 120.4 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/4.884, allocations: 0 / 1.123 GB, free: 120.4 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/4.884, allocations: 7.844 kB / 1.123 GB, free: 120.4 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009053/4.884, allocations: 322.9 kB / 1.124 GB, free: 120.1 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/4.884, allocations: 0 / 1.124 GB, free: 120.1 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007572/4.885, allocations: 51.97 kB / 1.124 GB, free: 120.1 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.327e-06/4.885, allocations: 4 kB / 1.124 GB, free: 120.1 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.308e-05/4.885, allocations: 15.86 kB / 1.124 GB, free: 120.1 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.713e-06/4.885, allocations: 4 kB / 1.124 GB, free: 120.1 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/4.885, allocations: 0 / 1.124 GB, free: 120.1 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001072/4.886, allocations: 0.5183 MB / 1.124 GB, free: 119.6 MB / 482.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001822/4.888, allocations: 1.03 MB / 1.125 GB, free: 118.7 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.275e-05/4.888, allocations: 88.95 kB / 1.125 GB, free: 118.6 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.82e-05/4.888, allocations: 7.875 kB / 1.125 GB, free: 118.6 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007073/4.889, allocations: 15.89 kB / 1.125 GB, free: 118.6 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.626e-05/4.889, allocations: 19.97 kB / 1.125 GB, free: 118.6 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/4.889, allocations: 19.59 kB / 1.125 GB, free: 118.6 MB / 482.8 MB Notification: Performance of sort global known variables: time 5.908e-05/4.889, allocations: 90.7 kB / 1.126 GB, free: 118.5 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.002458/4.892, allocations: 322.5 kB / 1.126 GB, free: 118.3 MB / 482.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium.p,medium.T,medium2.p,medium2.T,medium2.X[1],medium2.X[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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.002429/4.894, allocations: 0.8423 MB / 1.127 GB, free: 117.4 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 0.000755/4.895, allocations: 262.5 kB / 1.127 GB, free: 117.2 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/4.895, allocations: 0 / 1.127 GB, free: 117.2 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/4.895, allocations: 139 kB / 1.127 GB, free: 117.1 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/4.897, allocations: 71.98 kB / 1.127 GB, free: 117.1 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/4.898, allocations: 0.5879 MB / 1.128 GB, free: 116.5 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/4.899, allocations: 0.8014 MB / 1.128 GB, free: 115.7 MB / 482.8 MB Notification: Performance of SimCode: time 1.363e-06/4.899, allocations: 0 / 1.128 GB, free: 115.7 MB / 482.8 MB