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.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.639/1.639, allocations: 171.1 MB / 186.7 MB, free: 1.043 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 8 kB / 233.3 MB, free: 2.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08477/0.08515, allocations: 38.78 MB / 272.1 MB, free: 12.08 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.1/19.19, allocations: 6.524 GB / 6.789 GB, free: 64.74 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/19.19, allocations: 80.14 kB / 6.789 GB, free: 64.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.511/23.7, allocations: 0.8379 GB / 7.627 GB, free: 16.89 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.124e-06/23.7, allocations: 0 / 7.627 GB, free: 16.89 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.002e-05/23.7, allocations: 10.45 kB / 7.627 GB, free: 16.89 MB / 394.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.01399/23.71, allocations: 2.941 MB / 7.63 GB, free: 15.35 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/23.71, allocations: 6.812 kB / 7.63 GB, free: 15.35 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002637/23.71, allocations: 78.09 kB / 7.63 GB, free: 15.31 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006238/23.71, allocations: 65.42 kB / 7.63 GB, free: 15.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008464/23.72, allocations: 355.4 kB / 7.631 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/23.72, allocations: 32.84 kB / 7.631 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/23.72, allocations: 47.42 kB / 7.631 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002484/23.72, allocations: 0.5141 MB / 7.631 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/23.72, allocations: 0.6875 kB / 7.631 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/23.72, allocations: 18.31 kB / 7.631 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.219e-05/23.72, allocations: 13.19 kB / 7.631 GB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002552/23.72, allocations: 0.631 MB / 7.632 GB, free: 15 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05233/23.77, allocations: 11.68 MB / 7.643 GB, free: 20.22 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006409/23.78, allocations: 0.643 MB / 7.644 GB, free: 20 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04552/23.82, allocations: 20.09 MB / 7.664 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.209e-05/23.83, allocations: 42.69 kB / 7.664 GB, free: 15.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.267e-06/23.83, allocations: 0 / 7.664 GB, free: 15.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.009801/23.83, allocations: 2.082 MB / 7.666 GB, free: 15.07 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.547e-05/23.84, allocations: 58.75 kB / 7.666 GB, free: 15 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/23.84, allocations: 294.4 kB / 7.666 GB, free: 14.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001171/23.84, allocations: 36.39 kB / 7.666 GB, free: 14.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001675/23.84, allocations: 255.5 kB / 7.666 GB, free: 14.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/23.84, allocations: 189 kB / 7.666 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.995e-05/23.84, allocations: 10.88 kB / 7.666 GB, free: 14.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/23.84, allocations: 329.1 kB / 7.667 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005512/23.84, allocations: 220.8 kB / 7.667 GB, free: 14.24 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009174/23.84, allocations: 308.9 kB / 7.667 GB, free: 14.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008814/23.84, allocations: 259.5 kB / 7.667 GB, free: 14.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/23.84, allocations: 0 / 7.667 GB, free: 14.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002492/23.84, allocations: 0.6819 MB / 7.668 GB, free: 14.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/23.84, allocations: 5.469 kB / 7.668 GB, free: 14.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/23.84, allocations: 14.81 kB / 7.668 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007569/23.84, allocations: 105.9 kB / 7.668 GB, free: 14.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009793/23.84, allocations: 121.9 kB / 7.668 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/23.85, allocations: 3.283 MB / 7.672 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008327/23.85, allocations: 43.5 kB / 7.672 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.572e-05/23.85, allocations: 37.34 kB / 7.672 GB, free: 10.9 MB / 426.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.0004574/23.85, allocations: 195.9 kB / 7.672 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/23.85, allocations: 47.62 kB / 7.672 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002331/23.85, allocations: 0.7178 MB / 7.673 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/23.85, allocations: 9.172 kB / 7.673 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/23.85, allocations: 0 / 7.673 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001762/23.85, allocations: 0.7852 MB / 7.673 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003788/23.86, allocations: 1.408 MB / 7.675 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/23.86, allocations: 3.812 kB / 7.675 GB, free: 9.918 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000931/23.86, allocations: 117.5 kB / 7.675 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/23.86, allocations: 146.8 kB / 7.675 GB, free: 9.902 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.857e-05/23.86, allocations: 27.31 kB / 7.675 GB, free: 9.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006182/23.86, allocations: 0.6585 MB / 7.676 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/23.86, allocations: 2.656 kB / 7.676 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003331/23.86, allocations: 1.005 MB / 7.677 GB, free: 9.027 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003446/23.86, allocations: 125.4 kB / 7.677 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/23.86, allocations: 20.08 kB / 7.677 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/23.86, allocations: 41.2 kB / 7.677 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/23.86, allocations: 38.59 kB / 7.677 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.996e-05/23.86, allocations: 32.17 kB / 7.677 GB, free: 8.902 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004158/23.87, allocations: 239.3 kB / 7.677 GB, free: 8.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/23.87, allocations: 3.469 kB / 7.677 GB, free: 8.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00993/23.88, allocations: 1.962 MB / 7.679 GB, free: 8.434 MB / 426.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.02705/23.9, allocations: 4.862 MB / 7.684 GB, free: 22.74 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003149/23.91, allocations: 0.7965 MB / 7.685 GB, free: 22.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.978e-06/23.91, allocations: 0 / 7.685 GB, free: 22.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001371/23.91, allocations: 315.7 kB / 7.685 GB, free: 22.46 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/23.91, allocations: 282.9 kB / 7.685 GB, free: 22.43 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/23.93, allocations: 5.37 MB / 7.69 GB, free: 19.57 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/23.93, allocations: 0.8544 MB / 7.691 GB, free: 18.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000582/23.93, allocations: 168.8 kB / 7.691 GB, free: 18.86 MB / 442.7 MB Notification: Performance of SimCode: time 1.402e-06/23.93, allocations: 11.81 kB / 7.691 GB, free: 18.84 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.658/28.59, allocations: 57.08 MB / 7.747 GB, free: 63.59 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1_res.mat does not exist to compare? outputFormat=mat