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.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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 194.9 MB / 211.7 MB, free: 2.996 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003792/0.0003791, allocations: 12 kB / 264 MB, free: 13.47 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09839/0.0988, allocations: 44.51 MB / 308.5 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.73/19.82, allocations: 6.611 GB / 6.913 GB, free: 21.8 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002393/19.83, allocations: 78.83 kB / 6.913 GB, free: 21.76 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096/20.92, allocations: 191.3 MB / 7.1 GB, free: 4.09 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/20.92, allocations: 0 / 7.1 GB, free: 4.09 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/20.92, allocations: 0 / 7.1 GB, free: 4.09 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.00755/20.93, allocations: 1.477 MB / 7.101 GB, free: 2.559 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/20.93, allocations: 11.97 kB / 7.101 GB, free: 2.547 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.138e-05/20.93, allocations: 58.48 kB / 7.101 GB, free: 2.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/20.93, allocations: 19.81 kB / 7.101 GB, free: 2.461 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002694/20.93, allocations: 210.9 kB / 7.101 GB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/20.93, allocations: 12.33 kB / 7.101 GB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.007e-05/20.93, allocations: 12 kB / 7.101 GB, free: 2.191 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009825/20.93, allocations: 265.4 kB / 7.102 GB, free: 1.922 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/20.93, allocations: 4 kB / 7.102 GB, free: 1.918 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.08e-05/20.93, allocations: 4 kB / 7.102 GB, free: 1.914 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.468e-05/20.93, allocations: 12 kB / 7.102 GB, free: 1.902 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/20.93, allocations: 279.6 kB / 7.102 GB, free: 1.629 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001706/20.93, allocations: 0.6794 MB / 7.102 GB, free: 0.875 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000983/20.93, allocations: 322.9 kB / 7.103 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3184/21.25, allocations: 10.05 MB / 7.113 GB, free: 42.11 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/21.25, allocations: 34.06 kB / 7.113 GB, free: 42.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 4.619e-06/21.25, allocations: 0 / 7.113 GB, free: 42.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.004693/21.26, allocations: 0.6943 MB / 7.113 GB, free: 42.03 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/21.26, allocations: 83.11 kB / 7.113 GB, free: 41.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/21.26, allocations: 113.5 kB / 7.114 GB, free: 41.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/21.26, allocations: 33.27 kB / 7.114 GB, free: 41.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/21.26, allocations: 179.5 kB / 7.114 GB, free: 41.65 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/21.26, allocations: 127.5 kB / 7.114 GB, free: 41.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/21.26, allocations: 7.625 kB / 7.114 GB, free: 41.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.827e-05/21.26, allocations: 326.6 kB / 7.114 GB, free: 41.28 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007009/21.26, allocations: 133.3 kB / 7.114 GB, free: 41.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000835/21.26, allocations: 204.8 kB / 7.114 GB, free: 41.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008315/21.26, allocations: 160.7 kB / 7.115 GB, free: 41.21 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/21.26, allocations: 0.5938 kB / 7.115 GB, free: 41.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001903/21.26, allocations: 413.7 kB / 7.115 GB, free: 41.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.792e-05/21.26, allocations: 8.281 kB / 7.115 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/21.26, allocations: 5.062 kB / 7.115 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/21.26, allocations: 4.406 kB / 7.115 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008576/21.26, allocations: 92.61 kB / 7.115 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/21.26, allocations: 3.375 kB / 7.115 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/21.26, allocations: 32.12 kB / 7.115 GB, free: 41.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.955e-05/21.26, allocations: 23.19 kB / 7.115 GB, free: 41.16 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002025/21.26, allocations: 141.1 kB / 7.115 GB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001879/21.27, allocations: 18.75 kB / 7.115 GB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007373/21.27, allocations: 189.9 kB / 7.116 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/21.27, allocations: 5.562 kB / 7.116 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/21.27, allocations: 1.344 kB / 7.116 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.588e-06/21.27, allocations: 3.703 kB / 7.116 GB, free: 41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00318/21.27, allocations: 0.9646 MB / 7.116 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/21.27, allocations: 1.25 kB / 7.116 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007919/21.27, allocations: 89.41 kB / 7.117 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-05/21.27, allocations: 3.312 kB / 7.117 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/21.27, allocations: 15.41 kB / 7.117 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.039e-05/21.27, allocations: 5.906 kB / 7.117 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/21.27, allocations: 1.219 kB / 7.117 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00257/21.27, allocations: 0.8067 MB / 7.117 GB, free: 40.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/21.27, allocations: 120.7 kB / 7.117 GB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.825e-05/21.27, allocations: 11.41 kB / 7.117 GB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000583/21.27, allocations: 21.81 kB / 7.118 GB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.062e-05/21.27, allocations: 23.95 kB / 7.118 GB, free: 40.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.633e-05/21.27, allocations: 19.03 kB / 7.118 GB, free: 40.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.111e-05/21.27, allocations: 97.44 kB / 7.118 GB, free: 40.03 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/21.27, allocations: 0 / 7.118 GB, free: 40.03 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006032/21.28, allocations: 1.087 MB / 7.119 GB, free: 40.03 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (medium.p,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 (39): * Single equations (assignments): 39 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01416/21.29, allocations: 3.246 MB / 7.122 GB, free: 38.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001837/21.3, allocations: 348.4 kB / 7.122 GB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/21.3, allocations: 0 / 7.122 GB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008405/21.3, allocations: 181.9 kB / 7.122 GB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/21.3, allocations: 96.23 kB / 7.122 GB, free: 38.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009105/21.31, allocations: 3.211 MB / 7.126 GB, free: 36.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001166/21.31, allocations: 0.7445 MB / 7.126 GB, free: 52.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/21.31, allocations: 73.52 kB / 7.126 GB, free: 52.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.292e-06/21.31, allocations: 0 / 7.126 GB, free: 52.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.652/24.96, allocations: 27.21 MB / 7.153 GB, free: 50.25 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir_res.mat does not exist to compare? outputFormat=mat