Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.959/1.959, allocations: 194.8 MB / 211.7 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003494/0.0003493, allocations: 8 kB / 264 MB, free: 13.5 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1018, allocations: 44.51 MB / 308.5 MB, free: 0.918 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.47/19.58, allocations: 6.53 GB / 6.831 GB, free: 90.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002953/19.58, allocations: 83.38 kB / 6.831 GB, free: 90.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.411/23.99, allocations: 0.841 GB / 7.672 GB, free: 27.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.274e-06/23.99, allocations: 0 / 7.672 GB, free: 27.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.538e-05/23.99, allocations: 7.875 kB / 7.672 GB, free: 27.12 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.01407/24, allocations: 2.933 MB / 7.675 GB, free: 25.41 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/24, allocations: 9.969 kB / 7.675 GB, free: 25.41 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002458/24, allocations: 88.11 kB / 7.675 GB, free: 25.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004282/24, allocations: 59.86 kB / 7.675 GB, free: 25.35 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006639/24, allocations: 364.8 kB / 7.675 GB, free: 25.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/24, allocations: 29.22 kB / 7.675 GB, free: 25.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001088/24, allocations: 44.34 kB / 7.675 GB, free: 25.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/24.01, allocations: 0.5132 MB / 7.676 GB, free: 25.07 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.966e-05/24.01, allocations: 0 / 7.676 GB, free: 25.07 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.657e-05/24.01, allocations: 19.47 kB / 7.676 GB, free: 25.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/24.01, allocations: 7.75 kB / 7.676 GB, free: 25.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/24.01, allocations: 0.6356 MB / 7.677 GB, free: 25.06 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02/24.03, allocations: 11.87 MB / 7.688 GB, free: 13.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001745/24.03, allocations: 0.6417 MB / 7.689 GB, free: 13.75 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03767/24.07, allocations: 20.08 MB / 7.708 GB, free: 25.34 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.163e-05/24.07, allocations: 41.12 kB / 7.709 GB, free: 25.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=50): time 3.897e-06/24.07, allocations: 4 kB / 7.709 GB, free: 25.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=55): time 0.01023/24.08, allocations: 2.072 MB / 7.711 GB, free: 24.69 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.834e-05/24.08, allocations: 58.84 kB / 7.711 GB, free: 24.62 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004746/24.08, allocations: 284.2 kB / 7.711 GB, free: 24.53 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001115/24.08, allocations: 41.61 kB / 7.711 GB, free: 24.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/24.08, allocations: 257.1 kB / 7.711 GB, free: 24.29 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/24.08, allocations: 191.7 kB / 7.711 GB, free: 24.17 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.109e-05/24.08, allocations: 14.72 kB / 7.711 GB, free: 24.17 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001618/24.08, allocations: 332.4 kB / 7.712 GB, free: 23.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005568/24.08, allocations: 214.6 kB / 7.712 GB, free: 23.85 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009587/24.08, allocations: 310.2 kB / 7.712 GB, free: 23.76 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/24.08, allocations: 264.9 kB / 7.712 GB, free: 23.75 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/24.08, allocations: 4 kB / 7.712 GB, free: 23.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002623/24.08, allocations: 0.6837 MB / 7.713 GB, free: 23.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/24.08, allocations: 6.656 kB / 7.713 GB, free: 23.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/24.08, allocations: 2.656 kB / 7.713 GB, free: 23.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007323/24.08, allocations: 110.5 kB / 7.713 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009743/24.09, allocations: 119.8 kB / 7.713 GB, free: 23.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/24.09, allocations: 3.29 MB / 7.717 GB, free: 20.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008324/24.09, allocations: 45.39 kB / 7.717 GB, free: 20.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.561e-05/24.09, allocations: 30.7 kB / 7.717 GB, free: 20.49 MB / 474.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 (67): * Single equations (assignments): 64 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {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.0004544/24.09, allocations: 185.7 kB / 7.717 GB, free: 20.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004752/24.09, allocations: 51.69 kB / 7.717 GB, free: 20.35 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002322/24.09, allocations: 0.7158 MB / 7.718 GB, free: 20.25 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/24.09, allocations: 10.28 kB / 7.718 GB, free: 20.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/24.09, allocations: 0 / 7.718 GB, free: 20.25 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001793/24.1, allocations: 0.7917 MB / 7.718 GB, free: 19.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00375/24.1, allocations: 1.401 MB / 7.72 GB, free: 19.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/24.1, allocations: 0 / 7.72 GB, free: 19.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009631/24.1, allocations: 117.8 kB / 7.72 GB, free: 19.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/24.1, allocations: 155.5 kB / 7.72 GB, free: 19.47 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/24.1, allocations: 20.88 kB / 7.72 GB, free: 19.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006396/24.1, allocations: 0.6527 MB / 7.721 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/24.1, allocations: 0 / 7.721 GB, free: 18.88 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002858/24.11, allocations: 1.009 MB / 7.722 GB, free: 18.59 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/24.11, allocations: 130.6 kB / 7.722 GB, free: 18.48 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/24.11, allocations: 15.44 kB / 7.722 GB, free: 18.48 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000798/24.11, allocations: 33.75 kB / 7.722 GB, free: 18.47 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/24.11, allocations: 39.5 kB / 7.722 GB, free: 18.47 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.293e-05/24.11, allocations: 37.53 kB / 7.722 GB, free: 18.47 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003867/24.11, allocations: 232.8 kB / 7.722 GB, free: 18.39 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.21e-07/24.11, allocations: 0 / 7.722 GB, free: 18.39 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01012/24.12, allocations: 1.978 MB / 7.724 GB, free: 18 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (61): * Single equations (assignments): 60 * 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 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02127/24.14, allocations: 4.855 MB / 7.729 GB, free: 16.22 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002438/24.14, allocations: 0.8043 MB / 7.73 GB, free: 15.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/24.14, allocations: 3.75 kB / 7.73 GB, free: 15.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009941/24.14, allocations: 320.2 kB / 7.73 GB, free: 15.93 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002667/24.15, allocations: 284.5 kB / 7.73 GB, free: 15.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01454/24.16, allocations: 5.37 MB / 7.735 GB, free: 13.04 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/24.16, allocations: 0.8559 MB / 7.736 GB, free: 12.33 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005268/24.16, allocations: 168.9 kB / 7.736 GB, free: 12.32 MB / 474.7 MB Notification: Performance of SimCode: time 1.643e-06/24.16, allocations: 0 / 7.736 GB, free: 12.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.812/28.97, allocations: 57.15 MB / 7.792 GB, free: 48.51 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat