Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.FlueGas.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.FlueGas,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestOnly_FlueGas",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.385/2.385, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.838e-05/2.827e-05, allocations: 4 kB / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.3595, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.265/2.624, allocations: 0.7588 GB / 1.109 GB, free: 103.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/2.625, allocations: 71.64 kB / 1.109 GB, free: 103.3 MB / 490.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: Performance of FrontEnd - DAE generated: time 0.2054/2.83, allocations: 60.91 MB / 1.168 GB, free: 50.04 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.713e-06/2.83, allocations: 3.938 kB / 1.168 GB, free: 50.03 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.579e-05/2.83, allocations: 8 kB / 1.168 GB, free: 50.02 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.000819/2.831, allocations: 474.5 kB / 1.169 GB, free: 49.51 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/2.831, allocations: 12.03 kB / 1.169 GB, free: 49.5 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009349/2.84, allocations: 0.7019 MB / 1.169 GB, free: 48.8 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006123/2.841, allocations: 286.7 kB / 1.17 GB, free: 48.48 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/2.841, allocations: 4 kB / 1.17 GB, free: 48.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/2.841, allocations: 12 kB / 1.17 GB, free: 48.46 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001664/2.843, allocations: 0.6407 MB / 1.17 GB, free: 47.82 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008532/2.844, allocations: 420.4 kB / 1.171 GB, free: 47.39 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/2.844, allocations: 0 / 1.171 GB, free: 47.39 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/2.844, allocations: 0 / 1.171 GB, free: 47.39 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.633e-05/2.844, allocations: 8 kB / 1.171 GB, free: 47.39 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.004457/2.848, allocations: 1.328 MB / 1.172 GB, free: 46.02 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006617/2.849, allocations: 321 kB / 1.172 GB, free: 45.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004296/2.849, allocations: 225.7 kB / 1.172 GB, free: 45.46 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007785/2.85, allocations: 254.2 kB / 1.173 GB, free: 45.17 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/2.85, allocations: 42.89 kB / 1.173 GB, free: 45.12 MB / 490.7 MB Notification: Performance of pre-optimization done (n=28): time 2.605e-06/2.85, allocations: 4 kB / 1.173 GB, free: 45.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=28): time 0.001225/2.851, allocations: 439 kB / 1.173 GB, free: 44.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/2.852, allocations: 77.11 kB / 1.173 GB, free: 44.59 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/2.852, allocations: 128.9 kB / 1.173 GB, free: 44.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/2.852, allocations: 25.7 kB / 1.173 GB, free: 44.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/2.852, allocations: 178.9 kB / 1.173 GB, free: 44.25 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/2.852, allocations: 102.5 kB / 1.174 GB, free: 44.15 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-05/2.852, allocations: 0 / 1.174 GB, free: 44.15 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.398e-05/2.852, allocations: 330.8 kB / 1.174 GB, free: 43.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004141/2.852, allocations: 199.9 kB / 1.174 GB, free: 43.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004599/2.853, allocations: 292.8 kB / 1.174 GB, free: 43.29 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005407/2.854, allocations: 232.5 kB / 1.175 GB, free: 43.06 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/2.854, allocations: 0 / 1.175 GB, free: 43.06 MB / 490.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001284/2.855, allocations: 0.5224 MB / 1.175 GB, free: 42.54 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/2.855, allocations: 8 kB / 1.175 GB, free: 42.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/2.855, allocations: 3.984 kB / 1.175 GB, free: 42.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.413e-05/2.855, allocations: 8.406 kB / 1.175 GB, free: 42.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/2.856, allocations: 95.81 kB / 1.175 GB, free: 42.42 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.065e-05/2.856, allocations: 4 kB / 1.175 GB, free: 42.42 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007788/2.857, allocations: 39.62 kB / 1.175 GB, free: 42.38 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.42e-05/2.857, allocations: 23.98 kB / 1.175 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.0001775/2.857, allocations: 108.9 kB / 1.175 GB, free: 42.24 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001158/2.858, allocations: 449.2 kB / 1.176 GB, free: 41.8 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001404/2.858, allocations: 11.91 kB / 1.176 GB, free: 41.79 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/2.86, allocations: 0.5205 MB / 1.176 GB, free: 41.26 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/2.86, allocations: 4 kB / 1.176 GB, free: 41.26 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/2.86, allocations: 0 / 1.176 GB, free: 41.26 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/2.86, allocations: 3.984 kB / 1.176 GB, free: 41.25 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/2.861, allocations: 0.5107 MB / 1.177 GB, free: 40.7 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/2.861, allocations: 4 kB / 1.177 GB, free: 40.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/2.862, allocations: 63.88 kB / 1.177 GB, free: 40.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.328e-06/2.862, allocations: 4 kB / 1.177 GB, free: 40.63 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/2.862, allocations: 11.98 kB / 1.177 GB, free: 40.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/2.862, allocations: 0 / 1.177 GB, free: 40.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/2.862, allocations: 4 kB / 1.177 GB, free: 40.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001418/2.864, allocations: 0.7341 MB / 1.178 GB, free: 39.86 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/2.864, allocations: 92.86 kB / 1.178 GB, free: 39.75 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.256e-05/2.864, allocations: 8 kB / 1.178 GB, free: 39.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00085/2.865, allocations: 19.97 kB / 1.178 GB, free: 39.72 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/2.865, allocations: 11.98 kB / 1.178 GB, free: 39.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.507e-05/2.865, allocations: 27.92 kB / 1.178 GB, free: 39.68 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.42e-05/2.865, allocations: 95.27 kB / 1.178 GB, free: 39.59 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.41e-07/2.865, allocations: 4 kB / 1.178 GB, free: 39.59 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001083/2.866, allocations: 192 kB / 1.178 GB, free: 39.4 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.003373/2.87, allocations: 2.06 MB / 1.18 GB, free: 37.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001067/2.871, allocations: 480 kB / 1.181 GB, free: 36.84 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/2.871, allocations: 0 / 1.181 GB, free: 36.84 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004661/2.871, allocations: 231.8 kB / 1.181 GB, free: 36.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/2.872, allocations: 85.69 kB / 1.181 GB, free: 36.53 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002313/2.874, allocations: 0.9237 MB / 1.182 GB, free: 35.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002168/2.875, allocations: 0.7408 MB / 1.182 GB, free: 34.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005142/2.875, allocations: 75.39 kB / 1.183 GB, free: 34.71 MB / 490.7 MB Notification: Performance of SimCode: time 9.92e-07/2.875, allocations: 0 / 1.183 GB, free: 34.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.938/5.813, allocations: 10.71 MB / 1.193 GB, free: 23.98 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestOnly.FlueGas_res.mat does not exist to compare? outputFormat=mat