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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.38/2.38, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.541e-05, allocations: 0 / 309.8 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4041, allocations: 54.86 MB / 364.6 MB, free: 5.426 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.286/2.691, allocations: 0.7595 GB / 1.116 GB, free: 139.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/2.691, allocations: 72.77 kB / 1.116 GB, free: 139.4 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.2023/2.893, allocations: 61.93 MB / 1.176 GB, free: 98.98 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.655e-06/2.893, allocations: 4 kB / 1.176 GB, free: 98.98 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/2.893, allocations: 3.938 kB / 1.176 GB, free: 98.97 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.0008303/2.894, allocations: 478.6 kB / 1.177 GB, free: 98.47 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/2.894, allocations: 8.031 kB / 1.177 GB, free: 98.46 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.9e-05/2.894, allocations: 55.03 kB / 1.177 GB, free: 98.41 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009367/2.904, allocations: 0.706 MB / 1.177 GB, free: 97.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006562/2.904, allocations: 286.8 kB / 1.178 GB, free: 97.49 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/2.904, allocations: 7.891 kB / 1.178 GB, free: 97.48 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001805/2.905, allocations: 18.38 kB / 1.178 GB, free: 97.47 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/2.906, allocations: 0.6507 MB / 1.178 GB, free: 97.01 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/2.906, allocations: 0 / 1.178 GB, free: 97.01 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/2.907, allocations: 13.06 kB / 1.178 GB, free: 97 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/2.907, allocations: 8 kB / 1.178 GB, free: 96.99 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00186/2.908, allocations: 0.715 MB / 1.179 GB, free: 96.35 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.00405/2.912, allocations: 1.228 MB / 1.18 GB, free: 95.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006874/2.913, allocations: 289 kB / 1.18 GB, free: 94.77 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004221/2.914, allocations: 189.8 kB / 1.181 GB, free: 94.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007872/2.914, allocations: 250.1 kB / 1.181 GB, free: 94.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.191e-05/2.914, allocations: 30.56 kB / 1.181 GB, free: 94.26 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.166e-06/2.914, allocations: 4 kB / 1.181 GB, free: 94.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.001144/2.916, allocations: 374.9 kB / 1.181 GB, free: 93.88 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/2.916, allocations: 85.06 kB / 1.181 GB, free: 93.78 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/2.916, allocations: 132.7 kB / 1.181 GB, free: 93.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/2.916, allocations: 29.7 kB / 1.181 GB, free: 93.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.256e-05/2.916, allocations: 182.9 kB / 1.182 GB, free: 93.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.997e-05/2.916, allocations: 98.55 kB / 1.182 GB, free: 93.33 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.242e-05/2.916, allocations: 15.94 kB / 1.182 GB, free: 93.32 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.57e-05/2.916, allocations: 322.8 kB / 1.182 GB, free: 92.99 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004143/2.917, allocations: 168 kB / 1.182 GB, free: 92.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004649/2.917, allocations: 264.6 kB / 1.182 GB, free: 92.52 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/2.918, allocations: 192.6 kB / 1.183 GB, free: 92.34 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/2.918, allocations: 4 kB / 1.183 GB, free: 92.33 MB / 490.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001227/2.919, allocations: 478 kB / 1.183 GB, free: 91.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/2.919, allocations: 14.84 kB / 1.183 GB, free: 91.85 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/2.919, allocations: 4 kB / 1.183 GB, free: 91.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.353e-05/2.919, allocations: 4 kB / 1.183 GB, free: 91.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009313/2.92, allocations: 83.88 kB / 1.183 GB, free: 91.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.395e-05/2.92, allocations: 7.938 kB / 1.183 GB, free: 91.75 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007029/2.921, allocations: 43.62 kB / 1.183 GB, free: 91.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.558e-05/2.921, allocations: 19.98 kB / 1.183 GB, free: 91.69 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 (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.0001608/2.921, allocations: 124.9 kB / 1.183 GB, free: 91.56 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001488/2.921, allocations: 15.91 kB / 1.183 GB, free: 91.54 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/2.922, allocations: 458.1 kB / 1.184 GB, free: 91.09 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/2.922, allocations: 4 kB / 1.184 GB, free: 91.08 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/2.922, allocations: 0 / 1.184 GB, free: 91.08 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.083e-06/2.922, allocations: 7.984 kB / 1.184 GB, free: 91.07 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/2.924, allocations: 0.501 MB / 1.184 GB, free: 90.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/2.924, allocations: 4 kB / 1.184 GB, free: 90.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009101/2.925, allocations: 59.83 kB / 1.184 GB, free: 90.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/2.925, allocations: 0 / 1.184 GB, free: 90.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.332e-05/2.925, allocations: 15.98 kB / 1.184 GB, free: 90.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/2.925, allocations: 0 / 1.184 GB, free: 90.45 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/2.925, allocations: 0 / 1.184 GB, free: 90.45 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/2.926, allocations: 0.6416 MB / 1.185 GB, free: 89.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.495e-05/2.926, allocations: 92.95 kB / 1.185 GB, free: 89.66 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.193e-05/2.926, allocations: 11.94 kB / 1.185 GB, free: 89.65 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007837/2.927, allocations: 27.92 kB / 1.185 GB, free: 89.62 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/2.927, allocations: 11.98 kB / 1.185 GB, free: 89.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/2.927, allocations: 19.97 kB / 1.185 GB, free: 89.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 7.191e-05/2.927, allocations: 107.2 kB / 1.185 GB, free: 89.49 MB / 490.7 MB Notification: Performance of sort global known variables: time 4e-07/2.927, allocations: 0 / 1.185 GB, free: 89.49 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001185/2.928, allocations: 207.9 kB / 1.186 GB, free: 89.29 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 (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.003413/2.932, allocations: 1.884 MB / 1.187 GB, free: 87.37 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/2.933, allocations: 395.7 kB / 1.188 GB, free: 86.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/2.933, allocations: 4 kB / 1.188 GB, free: 86.98 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004488/2.933, allocations: 195.7 kB / 1.188 GB, free: 86.79 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/2.934, allocations: 88.22 kB / 1.188 GB, free: 86.71 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00228/2.937, allocations: 0.9266 MB / 1.189 GB, free: 85.74 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/2.937, allocations: 0.7445 MB / 1.19 GB, free: 84.96 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/2.937, allocations: 71.39 kB / 1.19 GB, free: 84.89 MB / 490.7 MB Notification: Performance of SimCode: time 9.02e-07/2.937, allocations: 0 / 1.19 GB, free: 84.89 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.798/5.735, allocations: 10.25 MB / 1.2 GB, free: 74.61 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