Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.TestsWithFluid.MediaTestModels.Air.MoistAir,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Air_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.145e-05/4.167e-05, allocations: 8 kB / 309.8 MB, free: 1.441 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3921, allocations: 54.85 MB / 364.6 MB, free: 5.539 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.33/10.72, allocations: 3.667 GB / 4.024 GB, free: 65.46 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003359/10.72, allocations: 99.55 kB / 4.024 GB, free: 65.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.373/13.09, allocations: 431.8 MB / 4.445 GB, free: 22.02 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.693e-06/13.09, allocations: 0 / 4.445 GB, free: 22.02 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.239e-05/13.09, allocations: 23.98 kB / 4.445 GB, free: 21.99 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.009095/13.1, allocations: 2.341 MB / 4.448 GB, free: 19.61 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/13.1, allocations: 8.031 kB / 4.448 GB, free: 19.6 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002567/13.1, allocations: 122.5 kB / 4.448 GB, free: 19.47 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000591/13.1, allocations: 111 kB / 4.448 GB, free: 19.36 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001901/13.1, allocations: 0.6387 MB / 4.448 GB, free: 18.68 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/13.1, allocations: 113.4 kB / 4.449 GB, free: 18.55 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002341/13.1, allocations: 79.89 kB / 4.449 GB, free: 18.48 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003046/13.11, allocations: 1.12 MB / 4.45 GB, free: 17.3 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.054e-05/13.11, allocations: 7.953 kB / 4.45 GB, free: 17.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001962/13.11, allocations: 39.92 kB / 4.45 GB, free: 17.25 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/13.11, allocations: 53.97 kB / 4.45 GB, free: 17.2 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002929/13.11, allocations: 1.124 MB / 4.451 GB, free: 16.07 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008973/13.12, allocations: 4.648 MB / 4.455 GB, free: 11.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002251/13.12, allocations: 0.7439 MB / 4.456 GB, free: 10.4 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008219/13.12, allocations: 382.4 kB / 4.457 GB, free: 10.03 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001407/13.12, allocations: 1.579 MB / 4.458 GB, free: 8.117 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.541e-05/13.12, allocations: 43.06 kB / 4.458 GB, free: 8.066 MB / 490.7 MB Notification: Performance of pre-optimization done (n=69): time 3.015e-06/13.12, allocations: 0 / 4.458 GB, free: 8.066 MB / 490.7 MB Notification: Performance of matching and sorting (n=81): time 0.01897/13.14, allocations: 3.554 MB / 4.462 GB, free: 4.449 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/13.14, allocations: 119.5 kB / 4.462 GB, free: 4.309 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/13.14, allocations: 0.55 MB / 4.462 GB, free: 3.75 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001212/13.14, allocations: 45.7 kB / 4.462 GB, free: 3.699 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002461/13.15, allocations: 429.7 kB / 4.463 GB, free: 3.273 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/13.15, allocations: 287.9 kB / 4.463 GB, free: 2.988 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.585e-05/13.15, allocations: 20 kB / 4.463 GB, free: 2.969 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.399e-05/13.15, allocations: 350.8 kB / 4.463 GB, free: 2.617 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/13.15, allocations: 430.5 kB / 4.464 GB, free: 2.195 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/13.15, allocations: 0.7319 MB / 4.464 GB, free: 1.324 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/13.15, allocations: 0.5291 MB / 4.465 GB, free: 0.7969 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/13.15, allocations: 11.94 kB / 4.465 GB, free: 0.7852 MB / 490.7 MB Notification: Performance of matching and sorting (n=129) (initialization): time 0.3621/13.51, allocations: 1.483 MB / 4.466 GB, free: 51.75 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.132e-05/13.51, allocations: 9.125 kB / 4.466 GB, free: 51.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/13.51, allocations: 12.03 kB / 4.466 GB, free: 51.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01262/13.52, allocations: 1.324 MB / 4.468 GB, free: 51.74 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001349/13.53, allocations: 168.1 kB / 4.468 GB, free: 51.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00287/13.53, allocations: 1.372 MB / 4.469 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/13.53, allocations: 90.33 kB / 4.469 GB, free: 51.21 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/13.53, allocations: 66.98 kB / 4.469 GB, free: 51.21 MB / 490.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 () * 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.0004272/13.53, allocations: 178.1 kB / 4.47 GB, free: 51.11 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002686/13.53, allocations: 83.36 kB / 4.47 GB, free: 51.11 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004409/13.54, allocations: 1.459 MB / 4.471 GB, free: 51.02 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.419e-05/13.54, allocations: 12.08 kB / 4.471 GB, free: 51.02 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/13.54, allocations: 0 / 4.471 GB, free: 51.02 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.675e-05/13.54, allocations: 9.484 kB / 4.471 GB, free: 51.02 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006009/13.54, allocations: 2.32 MB / 4.473 GB, free: 50.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/13.54, allocations: 0.6562 kB / 4.473 GB, free: 50.66 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002621/13.54, allocations: 259.3 kB / 4.474 GB, free: 50.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002346/13.55, allocations: 316.2 kB / 4.474 GB, free: 50.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002505/13.55, allocations: 31.77 kB / 4.474 GB, free: 50.66 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002354/13.55, allocations: 2.162 MB / 4.476 GB, free: 48.83 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/13.55, allocations: 1.594 kB / 4.476 GB, free: 48.83 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004975/13.55, allocations: 1.818 MB / 4.478 GB, free: 48.54 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/13.56, allocations: 283.8 kB / 4.478 GB, free: 48.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002547/13.56, allocations: 27.89 kB / 4.478 GB, free: 48.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/13.56, allocations: 73.12 kB / 4.478 GB, free: 48.39 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002324/13.56, allocations: 61.48 kB / 4.478 GB, free: 48.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001738/13.56, allocations: 49.66 kB / 4.478 GB, free: 48.39 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0009939/13.56, allocations: 449.8 kB / 4.479 GB, free: 48.3 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.71e-07/13.56, allocations: 0 / 4.479 GB, free: 48.3 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.004141/13.56, allocations: 0.8253 MB / 4.48 GB, free: 48.3 MB / 490.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 () * 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.0104/13.57, allocations: 4.25 MB / 4.484 GB, free: 47.01 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.003725/13.58, allocations: 1.109 MB / 4.485 GB, free: 46.99 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/13.58, allocations: 1.125 kB / 4.485 GB, free: 46.99 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/13.58, allocations: 0.6243 MB / 4.485 GB, free: 46.98 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003807/13.58, allocations: 431.2 kB / 4.486 GB, free: 46.97 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008674/13.59, allocations: 2.202 MB / 4.488 GB, free: 46.62 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006321/13.59, allocations: 1.06 MB / 4.489 GB, free: 45.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009073/13.59, allocations: 348.4 kB / 4.489 GB, free: 45.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.193e-06/13.59, allocations: 0 / 4.489 GB, free: 45.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.782/17.38, allocations: 34.94 MB / 4.523 GB, free: 44.53 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir_res.mat does not exist to compare? outputFormat=mat