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.MoistAir.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.MoistAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.016/2.016, allocations: 209.2 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004304/0.0004304, allocations: 8 kB / 282.7 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.109, allocations: 48.7 MB / 331.4 MB, free: 8.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.45/11.56, allocations: 3.661 GB / 3.984 GB, free: 103.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/11.56, allocations: 92.64 kB / 3.984 GB, free: 103.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.342/13.9, allocations: 429.5 MB / 4.404 GB, free: 49.07 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.836e-06/13.9, allocations: 5.875 kB / 4.404 GB, free: 49.07 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.906e-05/13.9, allocations: 20.78 kB / 4.404 GB, free: 49.07 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.01192/13.91, allocations: 2.426 MB / 4.406 GB, free: 47.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/13.91, allocations: 11 kB / 4.406 GB, free: 47.65 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005995/13.91, allocations: 130.5 kB / 4.406 GB, free: 47.61 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006421/13.91, allocations: 124.3 kB / 4.407 GB, free: 47.56 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/13.92, allocations: 0.6293 MB / 4.407 GB, free: 47.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001553/13.92, allocations: 124.9 kB / 4.407 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002222/13.92, allocations: 68.91 kB / 4.407 GB, free: 47.2 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/13.92, allocations: 1.146 MB / 4.408 GB, free: 47.02 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.359e-05/13.92, allocations: 3.938 kB / 4.408 GB, free: 47.01 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/13.92, allocations: 35.38 kB / 4.408 GB, free: 47.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/13.92, allocations: 52.83 kB / 4.409 GB, free: 47.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/13.92, allocations: 1.151 MB / 4.41 GB, free: 46.99 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/13.93, allocations: 4.384 MB / 4.414 GB, free: 44.97 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00265/13.94, allocations: 0.7558 MB / 4.415 GB, free: 44.93 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/13.94, allocations: 1.576 MB / 4.416 GB, free: 43.23 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.753e-05/13.94, allocations: 46.06 kB / 4.416 GB, free: 43.19 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.557e-06/13.94, allocations: 0 / 4.416 GB, free: 43.19 MB / 442.7 MB Notification: Performance of matching and sorting (n=81): time 0.02521/13.96, allocations: 4.189 MB / 4.42 GB, free: 41.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.662e-05/13.96, allocations: 110.5 kB / 4.42 GB, free: 41.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/13.97, allocations: 0.5502 MB / 4.421 GB, free: 41.45 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003239/13.97, allocations: 44.61 kB / 4.421 GB, free: 41.4 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003058/13.97, allocations: 432.4 kB / 4.421 GB, free: 41.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003862/13.97, allocations: 286.4 kB / 4.422 GB, free: 40.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001037/13.97, allocations: 19.34 kB / 4.422 GB, free: 40.8 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000111/13.97, allocations: 354.9 kB / 4.422 GB, free: 40.47 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001641/13.97, allocations: 473 kB / 4.423 GB, free: 40.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001892/13.97, allocations: 0.7867 MB / 4.423 GB, free: 39.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001944/13.97, allocations: 0.5807 MB / 4.424 GB, free: 39.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-06/13.97, allocations: 0 / 4.424 GB, free: 39.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.005635/13.98, allocations: 1.629 MB / 4.425 GB, free: 38.91 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.573e-05/13.98, allocations: 13.34 kB / 4.425 GB, free: 38.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/13.98, allocations: 9.812 kB / 4.425 GB, free: 38.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/13.99, allocations: 1.426 MB / 4.427 GB, free: 38.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/13.99, allocations: 171.8 kB / 4.427 GB, free: 38.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004098/14, allocations: 1.5 MB / 4.429 GB, free: 37.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/14, allocations: 99.44 kB / 4.429 GB, free: 37.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004292/14, allocations: 64.55 kB / 4.429 GB, free: 37.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (95): * Single equations (assignments): 94 * 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 {3 32} Notification: Performance of prepare postOptimizeDAE: time 0.0009849/14, allocations: 301.9 kB / 4.429 GB, free: 37.62 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/14, allocations: 81.92 kB / 4.429 GB, free: 37.58 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005658/14.01, allocations: 1.607 MB / 4.431 GB, free: 36.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.564e-05/14.01, allocations: 7 kB / 4.431 GB, free: 36.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.215e-05/14.01, allocations: 0 / 4.431 GB, free: 36.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/14.01, allocations: 7.875 kB / 4.431 GB, free: 36.95 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007058/14.01, allocations: 2.459 MB / 4.433 GB, free: 35.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/14.01, allocations: 0 / 4.433 GB, free: 35.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002415/14.02, allocations: 262.6 kB / 4.433 GB, free: 35.81 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003344/14.02, allocations: 397.8 kB / 4.434 GB, free: 35.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000237/14.02, allocations: 36.39 kB / 4.434 GB, free: 35.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003462/14.02, allocations: 2.276 MB / 4.436 GB, free: 33.71 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/14.02, allocations: 3.938 kB / 4.436 GB, free: 33.71 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005918/14.03, allocations: 2.007 MB / 4.438 GB, free: 32.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000834/14.03, allocations: 282.5 kB / 4.438 GB, free: 32.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002438/14.03, allocations: 23.22 kB / 4.438 GB, free: 32.58 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/14.03, allocations: 72.12 kB / 4.438 GB, free: 32.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/14.03, allocations: 63.23 kB / 4.438 GB, free: 32.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/14.03, allocations: 51.61 kB / 4.438 GB, free: 32.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008291/14.03, allocations: 448.6 kB / 4.439 GB, free: 32.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/14.03, allocations: 0 / 4.439 GB, free: 32.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003934/14.04, allocations: 0.8228 MB / 4.44 GB, free: 31.61 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],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 (81): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01134/14.05, allocations: 4.439 MB / 4.444 GB, free: 27.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00413/14.05, allocations: 1.211 MB / 4.445 GB, free: 26.71 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/14.05, allocations: 384 / 4.445 GB, free: 26.71 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002986/14.06, allocations: 0.6695 MB / 4.446 GB, free: 26.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003729/14.06, allocations: 424.5 kB / 4.446 GB, free: 25.84 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/14.08, allocations: 13.05 MB / 4.459 GB, free: 13.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/14.08, allocations: 1.061 MB / 4.46 GB, free: 12.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000993/14.08, allocations: 352.3 kB / 4.46 GB, free: 12.05 MB / 442.7 MB Notification: Performance of SimCode: time 9.72e-07/14.08, allocations: 0 / 4.46 GB, free: 12.05 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.173/18.26, allocations: 34.91 MB / 4.494 GB, free: 62.45 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat