Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_DryAirNasa",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.962/1.962, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004693, allocations: 12 kB / 282.7 MB, free: 9.543 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1057, allocations: 48.7 MB / 331.4 MB, free: 8.746 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.023/2.129, allocations: 0.63 GB / 0.9536 GB, free: 52.47 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003257/2.129, allocations: 95.64 kB / 0.9537 GB, free: 52.41 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.08/3.209, allocations: 230.1 MB / 1.178 GB, free: 5.113 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.254e-06/3.209, allocations: 0 / 1.178 GB, free: 5.113 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.691e-05/3.21, allocations: 20.16 kB / 1.178 GB, free: 5.094 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003951/3.214, allocations: 1.236 MB / 1.18 GB, free: 3.809 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/3.214, allocations: 8.031 kB / 1.18 GB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002203/3.214, allocations: 94.52 kB / 1.18 GB, free: 3.699 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00112/3.215, allocations: 139.1 kB / 1.18 GB, free: 3.562 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/3.216, allocations: 0.552 MB / 1.18 GB, free: 2.969 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001127/3.217, allocations: 100.4 kB / 1.18 GB, free: 2.859 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/3.217, allocations: 51.98 kB / 1.181 GB, free: 2.809 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00169/3.218, allocations: 0.8118 MB / 1.181 GB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.92e-05/3.218, allocations: 0 / 1.181 GB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/3.219, allocations: 27.98 kB / 1.181 GB, free: 1.887 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.821e-05/3.219, allocations: 44.86 kB / 1.181 GB, free: 1.844 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/3.22, allocations: 0.6127 MB / 1.182 GB, free: 1.23 MB / 442.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.3352/3.555, allocations: 3.893 MB / 1.186 GB, free: 70.24 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/3.557, allocations: 323.1 kB / 1.186 GB, free: 70.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001628/3.557, allocations: 32.02 kB / 1.186 GB, free: 70.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.291e-05/3.557, allocations: 44.69 kB / 1.186 GB, free: 70.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 4.067e-06/3.557, allocations: 0 / 1.186 GB, free: 70.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=39): time 0.01262/3.57, allocations: 1.621 MB / 1.188 GB, free: 69.71 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.847e-05/3.57, allocations: 133.6 kB / 1.188 GB, free: 69.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/3.571, allocations: 0.5262 MB / 1.188 GB, free: 69.43 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/3.571, allocations: 35.33 kB / 1.188 GB, free: 69.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003753/3.572, allocations: 408.4 kB / 1.189 GB, free: 69.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002442/3.572, allocations: 147.9 kB / 1.189 GB, free: 69.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/3.572, allocations: 16.34 kB / 1.189 GB, free: 69.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001219/3.572, allocations: 341.4 kB / 1.189 GB, free: 68.77 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008424/3.573, allocations: 197.6 kB / 1.19 GB, free: 68.77 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001135/3.574, allocations: 0.5323 MB / 1.19 GB, free: 68.36 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/3.576, allocations: 304.1 kB / 1.19 GB, free: 68.35 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/3.576, allocations: 3.344 kB / 1.19 GB, free: 68.35 MB / 442.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003219/3.579, allocations: 0.8424 MB / 1.191 GB, free: 68.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.803e-05/3.579, allocations: 9.375 kB / 1.191 GB, free: 68.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/3.579, allocations: 10.72 kB / 1.191 GB, free: 68.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003184/3.582, allocations: 313.2 kB / 1.191 GB, free: 68.28 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/3.583, allocations: 135.6 kB / 1.192 GB, free: 68.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/3.585, allocations: 0.8952 MB / 1.192 GB, free: 67.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/3.587, allocations: 47.66 kB / 1.193 GB, free: 67.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002034/3.587, allocations: 67.2 kB / 1.193 GB, free: 67.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0007251/3.588, allocations: 252.8 kB / 1.193 GB, free: 67.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002833/3.588, allocations: 68.66 kB / 1.193 GB, free: 67.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003277/3.591, allocations: 0.6621 MB / 1.194 GB, free: 67.53 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/3.592, allocations: 4.906 kB / 1.194 GB, free: 67.53 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/3.592, allocations: 1.062 kB / 1.194 GB, free: 67.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/3.592, allocations: 2.109 kB / 1.194 GB, free: 67.53 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/3.596, allocations: 1.259 MB / 1.195 GB, free: 67.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/3.596, allocations: 8.719 kB / 1.195 GB, free: 67.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002538/3.598, allocations: 204.4 kB / 1.195 GB, free: 67.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001689/3.599, allocations: 31.09 kB / 1.195 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.351e-05/3.599, allocations: 23.12 kB / 1.195 GB, free: 67.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00235/3.601, allocations: 2.688 MB / 1.198 GB, free: 64.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/3.601, allocations: 0 / 1.198 GB, free: 64.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002122/3.603, allocations: 0.8575 MB / 1.198 GB, free: 64.2 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004586/3.604, allocations: 177.9 kB / 1.199 GB, free: 64.07 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/3.604, allocations: 13.66 kB / 1.199 GB, free: 64.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007753/3.605, allocations: 28.31 kB / 1.199 GB, free: 64.07 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/3.605, allocations: 42.5 kB / 1.199 GB, free: 64.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/3.605, allocations: 40.91 kB / 1.199 GB, free: 64.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.000848/3.606, allocations: 413.9 kB / 1.199 GB, free: 63.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.01e-07/3.606, allocations: 0 / 1.199 GB, free: 63.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002131/3.608, allocations: 386.8 kB / 1.2 GB, free: 63.98 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (volume.medium.p,volume.medium.T) * 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 (39): * Single equations (assignments): 37 * 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: 1 * 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: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005057/3.613, allocations: 2.681 MB / 1.202 GB, free: 62.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002021/3.615, allocations: 0.5417 MB / 1.203 GB, free: 62.73 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.165e-06/3.615, allocations: 1.188 kB / 1.203 GB, free: 62.73 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001499/3.617, allocations: 394.4 kB / 1.203 GB, free: 62.62 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002669/3.619, allocations: 318 kB / 1.203 GB, free: 62.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/3.639, allocations: 12.94 MB / 1.216 GB, free: 53.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006246/3.64, allocations: 0.9464 MB / 1.217 GB, free: 53.14 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009798/3.641, allocations: 278.1 kB / 1.217 GB, free: 53.13 MB / 442.7 MB Notification: Performance of SimCode: time 1.192e-06/3.641, allocations: 2.469 kB / 1.217 GB, free: 53.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.442/7.083, allocations: 23.7 MB / 1.24 GB, free: 52.36 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat does not exist to compare? outputFormat=mat