Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.686/1.686, allocations: 171.2 MB / 186.7 MB, free: 1.035 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003618/0.0003616, allocations: 8 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1016, allocations: 38.77 MB / 272.1 MB, free: 12.09 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.1/19.2, allocations: 6.524 GB / 6.789 GB, free: 65.43 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002814/19.2, allocations: 74.72 kB / 6.789 GB, free: 65.39 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.843/23.05, allocations: 0.6645 GB / 7.454 GB, free: 38.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.906e-06/23.05, allocations: 0 / 7.454 GB, free: 38.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.488e-05/23.05, allocations: 12.28 kB / 7.454 GB, free: 38.1 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.01198/23.06, allocations: 2.453 MB / 7.456 GB, free: 37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/23.06, allocations: 10.56 kB / 7.456 GB, free: 37 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003089/23.06, allocations: 107.2 kB / 7.456 GB, free: 36.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005537/23.06, allocations: 82.64 kB / 7.456 GB, free: 36.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009375/23.06, allocations: 442.7 kB / 7.457 GB, free: 36.72 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.825e-05/23.06, allocations: 51.34 kB / 7.457 GB, free: 36.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001559/23.06, allocations: 60.94 kB / 7.457 GB, free: 36.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002594/23.06, allocations: 0.7091 MB / 7.458 GB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/23.06, allocations: 2.75 kB / 7.458 GB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001306/23.06, allocations: 28.66 kB / 7.458 GB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.663e-05/23.06, allocations: 13.88 kB / 7.458 GB, free: 36.67 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00263/23.07, allocations: 0.8839 MB / 7.459 GB, free: 36.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02156/23.09, allocations: 12.39 MB / 7.471 GB, free: 25.63 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002236/23.09, allocations: 0.889 MB / 7.472 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05254/23.14, allocations: 30.13 MB / 7.501 GB, free: 27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.034e-05/23.14, allocations: 43.31 kB / 7.501 GB, free: 26.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=78): time 3.186e-06/23.14, allocations: 0 / 7.501 GB, free: 26.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=88): time 0.01608/23.16, allocations: 3.375 MB / 7.504 GB, free: 26.3 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/23.16, allocations: 67.19 kB / 7.504 GB, free: 26.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005448/23.16, allocations: 318.7 kB / 7.505 GB, free: 26.13 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001322/23.16, allocations: 44.11 kB / 7.505 GB, free: 26.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/23.16, allocations: 286.6 kB / 7.505 GB, free: 25.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/23.16, allocations: 305.5 kB / 7.505 GB, free: 25.69 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.689e-05/23.16, allocations: 18.94 kB / 7.505 GB, free: 25.69 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/23.16, allocations: 346.3 kB / 7.506 GB, free: 25.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008226/23.16, allocations: 339 kB / 7.506 GB, free: 25.37 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001247/23.16, allocations: 447.8 kB / 7.506 GB, free: 25.29 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/23.16, allocations: 406.9 kB / 7.507 GB, free: 25.27 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/23.16, allocations: 2.312 kB / 7.507 GB, free: 25.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003433/23.17, allocations: 1.02 MB / 7.508 GB, free: 25.17 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/23.17, allocations: 8.406 kB / 7.508 GB, free: 25.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/23.17, allocations: 2.719 kB / 7.508 GB, free: 25.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/23.17, allocations: 171.2 kB / 7.508 GB, free: 25.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/23.17, allocations: 190 kB / 7.508 GB, free: 25.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/23.17, allocations: 3.925 MB / 7.512 GB, free: 21.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/23.17, allocations: 60.55 kB / 7.512 GB, free: 21.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001203/23.17, allocations: 44.25 kB / 7.512 GB, free: 21.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005709/23.17, allocations: 229.8 kB / 7.512 GB, free: 21.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005879/23.17, allocations: 68.27 kB / 7.512 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003365/23.18, allocations: 1.121 MB / 7.513 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/23.18, allocations: 12.34 kB / 7.513 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/23.18, allocations: 1.5 kB / 7.513 GB, free: 21.18 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002761/23.18, allocations: 1.342 MB / 7.515 GB, free: 20.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005205/23.19, allocations: 2.071 MB / 7.517 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.386e-06/23.19, allocations: 2.812 kB / 7.517 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/23.19, allocations: 183.2 kB / 7.517 GB, free: 20.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00279/23.19, allocations: 299 kB / 7.517 GB, free: 20.1 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/23.19, allocations: 36.75 kB / 7.517 GB, free: 20.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001117/23.19, allocations: 1.296 MB / 7.519 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/23.19, allocations: 1.531 kB / 7.519 GB, free: 18.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004028/23.2, allocations: 1.519 MB / 7.52 GB, free: 18.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/23.2, allocations: 147 kB / 7.52 GB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001689/23.2, allocations: 22.72 kB / 7.52 GB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/23.2, allocations: 51.69 kB / 7.52 GB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001475/23.2, allocations: 62.58 kB / 7.52 GB, free: 18.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001302/23.2, allocations: 52.5 kB / 7.52 GB, free: 18.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004115/23.2, allocations: 260.7 kB / 7.521 GB, free: 18.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.91e-07/23.2, allocations: 0 / 7.521 GB, free: 18.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01079/23.21, allocations: 2.305 MB / 7.523 GB, free: 17.93 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.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 (97): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02314/23.23, allocations: 5.652 MB / 7.528 GB, free: 16.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003226/23.24, allocations: 1.151 MB / 7.53 GB, free: 16.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/23.24, allocations: 3.969 kB / 7.53 GB, free: 16.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001486/23.24, allocations: 0.5081 MB / 7.53 GB, free: 15.98 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/23.24, allocations: 400.6 kB / 7.53 GB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/23.26, allocations: 6.92 MB / 7.537 GB, free: 12.89 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006722/23.26, allocations: 0.9337 MB / 7.538 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007225/23.26, allocations: 246.9 kB / 7.538 GB, free: 12.19 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/23.26, allocations: 1.469 kB / 7.538 GB, free: 12.19 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.9/28.16, allocations: 71.11 MB / 7.608 GB, free: 67.69 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2_res.mat does not exist to compare? outputFormat=mat