Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestOnly_FlueGas",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.634/2.634, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.032e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4076, allocations: 54.85 MB / 354.4 MB, free: 15.27 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.637/3.044, allocations: 0.7588 GB / 1.105 GB, free: 103.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003/3.044, allocations: 68.52 kB / 1.105 GB, free: 103.5 MB / 490.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/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: Performance of FrontEnd - DAE generated: time 0.296/3.34, allocations: 61.12 MB / 1.165 GB, free: 50.01 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.345e-06/3.341, allocations: 0 / 1.165 GB, free: 50.01 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.203e-05/3.341, allocations: 4 kB / 1.165 GB, free: 50.01 MB / 490.7 MB 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.001243/3.342, allocations: 467 kB / 1.165 GB, free: 49.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.444e-05/3.342, allocations: 16.03 kB / 1.165 GB, free: 49.49 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.827e-05/3.342, allocations: 50.48 kB / 1.165 GB, free: 49.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/3.361, allocations: 0.698 MB / 1.166 GB, free: 48.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/3.362, allocations: 286.6 kB / 1.166 GB, free: 48.41 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/3.362, allocations: 8.328 kB / 1.166 GB, free: 48.4 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003539/3.363, allocations: 12 kB / 1.166 GB, free: 48.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003488/3.366, allocations: 0.6445 MB / 1.167 GB, free: 47.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00179/3.368, allocations: 412.4 kB / 1.167 GB, free: 47.33 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/3.368, allocations: 0 / 1.167 GB, free: 47.33 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001574/3.368, allocations: 7.984 kB / 1.167 GB, free: 47.32 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-05/3.368, allocations: 4 kB / 1.167 GB, free: 47.32 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008674/3.377, allocations: 1.334 MB / 1.169 GB, free: 45.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/3.379, allocations: 321.1 kB / 1.169 GB, free: 45.61 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009089/3.379, allocations: 225.6 kB / 1.169 GB, free: 45.38 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001445/3.381, allocations: 254.1 kB / 1.169 GB, free: 45.1 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.941e-05/3.381, allocations: 38.84 kB / 1.169 GB, free: 45.05 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 5.29e-06/3.381, allocations: 0 / 1.169 GB, free: 45.05 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.002662/3.384, allocations: 439.4 kB / 1.17 GB, free: 44.62 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/3.384, allocations: 89.06 kB / 1.17 GB, free: 44.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/3.384, allocations: 113 kB / 1.17 GB, free: 44.39 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001351/3.384, allocations: 29.7 kB / 1.17 GB, free: 44.36 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.793e-05/3.384, allocations: 112.5 kB / 1.17 GB, free: 44.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002263/3.384, allocations: 102.5 kB / 1.17 GB, free: 44.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/3.385, allocations: 0 / 1.17 GB, free: 44.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001089/3.385, allocations: 326.8 kB / 1.17 GB, free: 43.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009231/3.386, allocations: 195.9 kB / 1.171 GB, free: 43.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/3.387, allocations: 296.8 kB / 1.171 GB, free: 43.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001147/3.388, allocations: 227.8 kB / 1.171 GB, free: 43.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.426e-06/3.388, allocations: 4 kB / 1.171 GB, free: 43.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.002821/3.391, allocations: 0.5224 MB / 1.172 GB, free: 42.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/3.391, allocations: 4 kB / 1.172 GB, free: 42.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/3.391, allocations: 4 kB / 1.172 GB, free: 42.53 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.207e-05/3.391, allocations: 8 kB / 1.172 GB, free: 42.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002064/3.393, allocations: 88.28 kB / 1.172 GB, free: 42.43 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.972e-05/3.393, allocations: 11.98 kB / 1.172 GB, free: 42.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/3.395, allocations: 43.56 kB / 1.172 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/3.395, allocations: 23.98 kB / 1.172 GB, free: 42.36 MB / 490.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.000334/3.395, allocations: 108.9 kB / 1.172 GB, free: 42.24 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003778/3.396, allocations: 19.8 kB / 1.172 GB, free: 42.22 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003062/3.399, allocations: 0.5236 MB / 1.172 GB, free: 41.7 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/3.399, allocations: 4 kB / 1.172 GB, free: 41.69 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/3.399, allocations: 4 kB / 1.172 GB, free: 41.69 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/3.399, allocations: 4 kB / 1.172 GB, free: 41.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002096/3.401, allocations: 0.4991 MB / 1.173 GB, free: 41.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/3.401, allocations: 0 / 1.173 GB, free: 41.14 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/3.403, allocations: 71.88 kB / 1.173 GB, free: 41.07 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.259e-05/3.403, allocations: 4 kB / 1.173 GB, free: 41.07 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/3.403, allocations: 11.98 kB / 1.173 GB, free: 41.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/3.403, allocations: 0 / 1.173 GB, free: 41.06 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/3.403, allocations: 0 / 1.173 GB, free: 41.06 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/3.405, allocations: 0.7302 MB / 1.174 GB, free: 40.3 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.054e-05/3.405, allocations: 96.94 kB / 1.174 GB, free: 40.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001322/3.405, allocations: 0 / 1.174 GB, free: 40.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/3.406, allocations: 27.91 kB / 1.174 GB, free: 40.16 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/3.407, allocations: 19.94 kB / 1.174 GB, free: 40.14 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/3.407, allocations: 23.91 kB / 1.174 GB, free: 40.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 8.854e-05/3.407, allocations: 103.7 kB / 1.174 GB, free: 40.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.12e-07/3.407, allocations: 0 / 1.174 GB, free: 40.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001493/3.408, allocations: 191.9 kB / 1.174 GB, free: 39.83 MB / 490.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.004832/3.413, allocations: 2.059 MB / 1.176 GB, free: 37.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001505/3.415, allocations: 471.7 kB / 1.177 GB, free: 37.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/3.415, allocations: 0.8125 kB / 1.177 GB, free: 37.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007029/3.415, allocations: 235.9 kB / 1.177 GB, free: 37.05 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/3.417, allocations: 83.78 kB / 1.177 GB, free: 36.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003307/3.42, allocations: 0.903 MB / 1.178 GB, free: 36.02 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002863/3.421, allocations: 0.7408 MB / 1.179 GB, free: 35.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002111/3.423, allocations: 126.3 kB / 1.179 GB, free: 35.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005687/3.423, allocations: 63.39 kB / 1.179 GB, free: 35.07 MB / 490.7 MB Notification: Performance of SimCode: time 1.693e-06/3.423, allocations: 0 / 1.179 GB, free: 35.07 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08155/3.505, allocations: 13.71 MB / 1.192 GB, free: 21.39 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003148/3.505, allocations: 124.4 kB / 1.192 GB, free: 21.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.665/7.17, allocations: 0 / 1.192 GB, free: 21.2 MB / 490.7 MB