Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents.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.TestAllProperties.FlueGasSixComponents,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_FlueGasSixComponents",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.442/2.442, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.224e-05/4.242e-05, allocations: 4 kB / 309.8 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4083/0.4084, allocations: 54.85 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.335/2.744, allocations: 0.8624 GB / 1.219 GB, free: 49.54 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/2.744, allocations: 70.88 kB / 1.219 GB, free: 49.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7106/3.455, allocations: 110.7 MB / 1.327 GB, free: 146.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.004e-06/3.455, allocations: 0 / 1.327 GB, free: 146.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.177e-05/3.455, allocations: 4 kB / 1.327 GB, free: 146.4 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.00513/3.46, allocations: 0.9349 MB / 1.328 GB, free: 145.5 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/3.46, allocations: 16.03 kB / 1.328 GB, free: 145.4 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/3.46, allocations: 82.47 kB / 1.328 GB, free: 145.4 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02315/3.484, allocations: 1.265 MB / 1.329 GB, free: 144.1 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001588/3.485, allocations: 386.3 kB / 1.329 GB, free: 143.7 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002446/3.485, allocations: 139.6 kB / 1.329 GB, free: 143.5 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004884/3.486, allocations: 32 kB / 1.329 GB, free: 143.5 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004789/3.491, allocations: 1.34 MB / 1.331 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/3.491, allocations: 4 kB / 1.331 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000365/3.491, allocations: 12 kB / 1.331 GB, free: 142.1 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001199/3.491, allocations: 56.7 kB / 1.331 GB, free: 142 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008774/3.5, allocations: 2.045 MB / 1.333 GB, free: 140 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.006558/3.507, allocations: 3.021 MB / 1.336 GB, free: 136.7 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003756/3.507, allocations: 102.5 kB / 1.336 GB, free: 136.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/3.507, allocations: 49.06 kB / 1.336 GB, free: 136.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002596/3.51, allocations: 1.176 MB / 1.337 GB, free: 135.2 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/3.51, allocations: 34.56 kB / 1.337 GB, free: 135.1 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 3.336e-06/3.51, allocations: 7.938 kB / 1.337 GB, free: 135.1 MB / 490.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=18): time 0.00294/3.513, allocations: 362.2 kB / 1.337 GB, free: 134.8 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/3.513, allocations: 55.41 kB / 1.337 GB, free: 134.7 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005848/3.514, allocations: 298.4 kB / 1.338 GB, free: 134.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.495e-05/3.514, allocations: 29.7 kB / 1.338 GB, free: 134.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002585/3.514, allocations: 419.8 kB / 1.338 GB, free: 134 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.18e-05/3.514, allocations: 71.09 kB / 1.338 GB, free: 133.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/3.514, allocations: 16 kB / 1.338 GB, free: 133.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/3.514, allocations: 334.8 kB / 1.339 GB, free: 133.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000364/3.515, allocations: 109.5 kB / 1.339 GB, free: 133.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00059/3.515, allocations: 0.5285 MB / 1.339 GB, free: 132.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005982/3.516, allocations: 217.7 kB / 1.339 GB, free: 132.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-05/3.516, allocations: 4 kB / 1.339 GB, free: 132.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001949/3.518, allocations: 0.6343 MB / 1.34 GB, free: 131.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.894e-05/3.518, allocations: 15.95 kB / 1.34 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-05/3.518, allocations: 16 kB / 1.34 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.232e-05/3.518, allocations: 24 kB / 1.34 GB, free: 131.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/3.519, allocations: 175.7 kB / 1.34 GB, free: 131.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004435/3.52, allocations: 0.6174 MB / 1.341 GB, free: 131 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/3.521, allocations: 91.2 kB / 1.341 GB, free: 130.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/3.521, allocations: 64 kB / 1.341 GB, free: 130.8 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001957/3.521, allocations: 164.4 kB / 1.341 GB, free: 130.7 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001569/3.522, allocations: 35.62 kB / 1.341 GB, free: 130.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008344/3.522, allocations: 242.9 kB / 1.341 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/3.522, allocations: 7.938 kB / 1.341 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/3.522, allocations: 0 / 1.341 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/3.523, allocations: 0 / 1.341 GB, free: 130.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001337/3.524, allocations: 0.7919 MB / 1.342 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/3.524, allocations: 0 / 1.342 GB, free: 129.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002912/3.524, allocations: 35.97 kB / 1.342 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.939e-06/3.524, allocations: 4 kB / 1.342 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/3.524, allocations: 4 kB / 1.342 GB, free: 129.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002749/3.525, allocations: 0.5978 MB / 1.343 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/3.525, allocations: 0 / 1.343 GB, free: 128.8 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/3.525, allocations: 348.3 kB / 1.343 GB, free: 128.4 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002028/3.525, allocations: 128.7 kB / 1.343 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.26e-05/3.525, allocations: 0 / 1.343 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004965/3.526, allocations: 19.98 kB / 1.343 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.865e-05/3.526, allocations: 11.98 kB / 1.343 GB, free: 128.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-05/3.526, allocations: 16 kB / 1.343 GB, free: 128.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003012/3.526, allocations: 218.1 kB / 1.344 GB, free: 128 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.51e-07/3.526, allocations: 0 / 1.344 GB, free: 128 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002125/3.528, allocations: 451.5 kB / 1.344 GB, free: 127.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004049/3.532, allocations: 2.247 MB / 1.346 GB, free: 125.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0009319/3.533, allocations: 316.7 kB / 1.346 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.413e-06/3.533, allocations: 1.938 kB / 1.346 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000206/3.534, allocations: 51.92 kB / 1.347 GB, free: 124.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/3.534, allocations: 65.48 kB / 1.347 GB, free: 124.8 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1741/3.709, allocations: 52.35 MB / 1.398 GB, free: 71.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002842/3.709, allocations: 0.8039 MB / 1.399 GB, free: 70.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/3.709, allocations: 135.4 kB / 1.399 GB, free: 70.67 MB / 490.7 MB Notification: Performance of SimCode: time 1.403e-06/3.709, allocations: 0 / 1.399 GB, free: 70.67 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.263/6.972, allocations: 15.21 MB / 1.413 GB, free: 55.43 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.FlueGasSixComponents_res.mat does not exist to compare? outputFormat=mat