Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.14/2.14, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4e-05/4.007e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1237, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.434/2.557, allocations: 0.7461 GB / 1.06 GB, free: 73.02 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/2.558, allocations: 78 kB / 1.061 GB, free: 72.98 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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: Performance of FrontEnd - DAE generated: time 0.2135/2.771, allocations: 61.62 MB / 1.121 GB, free: 12.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.771, allocations: 3.938 kB / 1.121 GB, free: 12.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/2.771, allocations: 4 kB / 1.121 GB, free: 12.76 MB / 426.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.0008532/2.772, allocations: 474.6 kB / 1.121 GB, free: 12.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/2.772, allocations: 12.03 kB / 1.121 GB, free: 12.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.919e-05/2.772, allocations: 50.55 kB / 1.121 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009642/2.782, allocations: 0.7024 MB / 1.122 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006781/2.783, allocations: 282.7 kB / 1.122 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/2.783, allocations: 12.33 kB / 1.122 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/2.783, allocations: 19.95 kB / 1.122 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/2.785, allocations: 0.6564 MB / 1.123 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/2.785, allocations: 0 / 1.123 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/2.785, allocations: 4 kB / 1.123 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/2.785, allocations: 8 kB / 1.123 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/2.787, allocations: 0.7106 MB / 1.124 GB, free: 9.73 MB / 426.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.004334/2.791, allocations: 1.234 MB / 1.125 GB, free: 8.438 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/2.792, allocations: 281.1 kB / 1.125 GB, free: 8.145 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004297/2.792, allocations: 189.7 kB / 1.125 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008022/2.793, allocations: 262.2 kB / 1.125 GB, free: 7.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/2.793, allocations: 30.56 kB / 1.125 GB, free: 7.621 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 3.346e-06/2.793, allocations: 0 / 1.125 GB, free: 7.621 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.001196/2.795, allocations: 369.7 kB / 1.126 GB, free: 7.254 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.957e-05/2.795, allocations: 85.05 kB / 1.126 GB, free: 7.152 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/2.795, allocations: 120.9 kB / 1.126 GB, free: 7.027 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.069e-05/2.795, allocations: 33.69 kB / 1.126 GB, free: 6.988 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.722e-05/2.795, allocations: 120.2 kB / 1.126 GB, free: 6.867 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001043/2.795, allocations: 94.64 kB / 1.126 GB, free: 6.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.084e-05/2.795, allocations: 12 kB / 1.126 GB, free: 6.762 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.801e-05/2.795, allocations: 322.8 kB / 1.127 GB, free: 6.438 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004261/2.796, allocations: 171.7 kB / 1.127 GB, free: 6.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004824/2.796, allocations: 268.5 kB / 1.127 GB, free: 5.961 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004891/2.797, allocations: 191.8 kB / 1.127 GB, free: 5.773 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/2.797, allocations: 7.953 kB / 1.127 GB, free: 5.766 MB / 426.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001303/2.798, allocations: 476.2 kB / 1.128 GB, free: 5.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/2.798, allocations: 8 kB / 1.128 GB, free: 5.289 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/2.798, allocations: 4 kB / 1.128 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/2.798, allocations: 4 kB / 1.128 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009853/2.799, allocations: 79.88 kB / 1.128 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.589e-05/2.799, allocations: 7.938 kB / 1.128 GB, free: 5.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007347/2.8, allocations: 44.08 kB / 1.128 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.036e-05/2.8, allocations: 23.98 kB / 1.128 GB, free: 5.129 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 (38): * Single equations (assignments): 38 * 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.000182/2.8, allocations: 116.9 kB / 1.128 GB, free: 5.008 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001591/2.8, allocations: 15.86 kB / 1.128 GB, free: 4.992 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001381/2.802, allocations: 462.1 kB / 1.128 GB, free: 4.535 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/2.802, allocations: 4 kB / 1.128 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/2.802, allocations: 0 / 1.128 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/2.802, allocations: 0 / 1.128 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/2.803, allocations: 0.5008 MB / 1.129 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/2.803, allocations: 0 / 1.129 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000945/2.804, allocations: 63.83 kB / 1.129 GB, free: 3.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.257e-06/2.804, allocations: 4 kB / 1.129 GB, free: 3.914 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.918e-05/2.804, allocations: 11.98 kB / 1.129 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/2.804, allocations: 0 / 1.129 GB, free: 3.902 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/2.804, allocations: 8 kB / 1.129 GB, free: 3.895 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001384/2.805, allocations: 0.6342 MB / 1.13 GB, free: 3.23 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.081e-05/2.806, allocations: 88.95 kB / 1.13 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.937e-05/2.806, allocations: 8 kB / 1.13 GB, free: 3.117 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008756/2.807, allocations: 27.97 kB / 1.13 GB, free: 3.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.223e-05/2.807, allocations: 16 kB / 1.13 GB, free: 3.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.228e-05/2.807, allocations: 23.98 kB / 1.13 GB, free: 3.051 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.461e-05/2.807, allocations: 99.27 kB / 1.13 GB, free: 2.953 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.8e-07/2.807, allocations: 0 / 1.13 GB, free: 2.953 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001219/2.808, allocations: 207.9 kB / 1.13 GB, free: 2.75 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 (25): * Single equations (assignments): 25 * 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.003423/2.811, allocations: 1.902 MB / 1.132 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001071/2.813, allocations: 392.1 kB / 1.132 GB, free: 440 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/2.813, allocations: 0 / 1.132 GB, free: 440 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004476/2.813, allocations: 191.8 kB / 1.132 GB, free: 248 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/2.814, allocations: 96.55 kB / 1.133 GB, free: 152 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2766/3.091, allocations: 0.8727 MB / 1.133 GB, free: 120 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/3.091, allocations: 0.742 MB / 1.134 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001313/3.092, allocations: 111.1 kB / 1.134 GB, free: 119.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00037/3.093, allocations: 61.52 kB / 1.134 GB, free: 119.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/3.093, allocations: 0 / 1.134 GB, free: 119.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06567/3.159, allocations: 20.23 MB / 1.154 GB, free: 118.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/3.159, allocations: 137.7 kB / 1.154 GB, free: 118 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.534/6.693, allocations: 0 / 1.154 GB, free: 118 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat