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.22/2.22, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004445, allocations: 16 kB / 314.5 MB, free: 9.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.344, allocations: 54.85 MB / 369.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.632/2.976, allocations: 0.8625 GB / 1.223 GB, free: 135 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/2.976, allocations: 73.92 kB / 1.223 GB, free: 135 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3953/3.371, allocations: 110.7 MB / 1.331 GB, free: 63.52 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/3.372, allocations: 0 / 1.331 GB, free: 63.52 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.769e-05/3.372, allocations: 7.938 kB / 1.331 GB, free: 63.52 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.003524/3.375, allocations: 0.9436 MB / 1.332 GB, free: 62.52 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/3.375, allocations: 8.031 kB / 1.332 GB, free: 62.52 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000178/3.375, allocations: 82.53 kB / 1.332 GB, free: 62.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01589/3.391, allocations: 1.263 MB / 1.334 GB, free: 61.16 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009968/3.392, allocations: 378.4 kB / 1.334 GB, free: 60.75 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/3.392, allocations: 139.8 kB / 1.334 GB, free: 60.59 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002575/3.393, allocations: 28 kB / 1.334 GB, free: 60.56 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/3.397, allocations: 1.423 MB / 1.336 GB, free: 59.1 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/3.397, allocations: 3.953 kB / 1.336 GB, free: 59.1 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002228/3.397, allocations: 20 kB / 1.336 GB, free: 59.08 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.547e-05/3.397, allocations: 52.97 kB / 1.336 GB, free: 59.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006185/3.403, allocations: 2.135 MB / 1.338 GB, free: 56.89 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.004475/3.408, allocations: 3.007 MB / 1.341 GB, free: 53.61 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002626/3.408, allocations: 106.6 kB / 1.341 GB, free: 53.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001782/3.41, allocations: 1.161 MB / 1.342 GB, free: 52.16 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/3.41, allocations: 38.56 kB / 1.342 GB, free: 52.11 MB / 490.7 MB Notification: Performance of pre-optimization done (n=18): time 3.156e-06/3.41, allocations: 0 / 1.342 GB, free: 52.11 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.001921/3.412, allocations: 408.4 kB / 1.342 GB, free: 51.71 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.769e-05/3.412, allocations: 51.41 kB / 1.342 GB, free: 51.64 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003791/3.412, allocations: 307.3 kB / 1.343 GB, free: 51.34 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/3.412, allocations: 37.7 kB / 1.343 GB, free: 51.3 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001754/3.413, allocations: 408 kB / 1.343 GB, free: 50.89 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/3.413, allocations: 75.03 kB / 1.343 GB, free: 50.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/3.413, allocations: 16 kB / 1.343 GB, free: 50.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/3.413, allocations: 338.8 kB / 1.343 GB, free: 50.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/3.413, allocations: 113.9 kB / 1.344 GB, free: 50.35 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/3.414, allocations: 0.5384 MB / 1.344 GB, free: 49.6 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004363/3.414, allocations: 207.7 kB / 1.344 GB, free: 49.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/3.414, allocations: 4 kB / 1.344 GB, free: 49.39 MB / 490.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001311/3.415, allocations: 0.6438 MB / 1.345 GB, free: 48.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.537e-05/3.415, allocations: 12 kB / 1.345 GB, free: 48.73 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/3.415, allocations: 16 kB / 1.345 GB, free: 48.72 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.723e-05/3.415, allocations: 28.03 kB / 1.345 GB, free: 48.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008423/3.416, allocations: 179.7 kB / 1.345 GB, free: 48.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003184/3.417, allocations: 0.6132 MB / 1.346 GB, free: 47.88 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/3.417, allocations: 95.11 kB / 1.346 GB, free: 47.79 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.23e-05/3.417, allocations: 60.09 kB / 1.346 GB, free: 47.73 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 () * Number of clocked 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.0002722/3.418, allocations: 213.3 kB / 1.346 GB, free: 47.51 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/3.418, allocations: 35.62 kB / 1.346 GB, free: 47.47 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007605/3.419, allocations: 239 kB / 1.346 GB, free: 47.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/3.419, allocations: 7.938 kB / 1.346 GB, free: 47.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/3.419, allocations: 0 / 1.346 GB, free: 47.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/3.419, allocations: 0 / 1.346 GB, free: 47.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/3.42, allocations: 0.7838 MB / 1.347 GB, free: 46.32 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.738e-06/3.42, allocations: 4 kB / 1.347 GB, free: 46.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002496/3.42, allocations: 40.16 kB / 1.347 GB, free: 46.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/3.42, allocations: 7.953 kB / 1.347 GB, free: 46.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.886e-05/3.42, allocations: 8 kB / 1.347 GB, free: 46.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002473/3.42, allocations: 0.586 MB / 1.348 GB, free: 45.65 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/3.42, allocations: 0 / 1.348 GB, free: 45.65 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004438/3.421, allocations: 356.5 kB / 1.348 GB, free: 45.23 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002161/3.421, allocations: 132.6 kB / 1.348 GB, free: 45.08 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000119/3.421, allocations: 8 kB / 1.348 GB, free: 45.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005969/3.422, allocations: 11.98 kB / 1.348 GB, free: 45.06 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.581e-05/3.422, allocations: 11.98 kB / 1.348 GB, free: 45.05 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/3.422, allocations: 16 kB / 1.348 GB, free: 45.04 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003745/3.422, allocations: 215 kB / 1.348 GB, free: 44.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/3.422, allocations: 0 / 1.348 GB, free: 44.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002782/3.425, allocations: 463.4 kB / 1.349 GB, free: 44.38 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 () * Number of clocked 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.004975/3.43, allocations: 2.228 MB / 1.351 GB, free: 42.09 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001162/3.431, allocations: 334.7 kB / 1.351 GB, free: 41.77 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/3.431, allocations: 0 / 1.351 GB, free: 41.77 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000237/3.432, allocations: 51.86 kB / 1.351 GB, free: 41.71 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008734/3.433, allocations: 61.73 kB / 1.352 GB, free: 41.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5283/3.961, allocations: 64.2 MB / 1.414 GB, free: 109 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003095/3.961, allocations: 0.8001 MB / 1.415 GB, free: 108.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004289/3.962, allocations: 129.7 kB / 1.415 GB, free: 108.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.192e-06/3.962, allocations: 0 / 1.415 GB, free: 108.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.101/7.063, allocations: 15.19 MB / 1.43 GB, free: 107.9 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