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.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.MoistAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_MoistAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 194.9 MB / 211.7 MB, free: 2.988 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003487, allocations: 8 kB / 264 MB, free: 13.48 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09172/0.09211, allocations: 44.5 MB / 308.5 MB, free: 0.9062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.47/10.56, allocations: 3.699 GB / 4 GB, free: 23.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/10.56, allocations: 72.03 kB / 4 GB, free: 23.33 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4394/11, allocations: 48.75 MB / 4.048 GB, free: 133.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.755e-06/11, allocations: 0 / 4.048 GB, free: 133.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.435e-05/11, allocations: 3.25 kB / 4.048 GB, free: 133.3 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.002593/11.01, allocations: 0.6357 MB / 4.049 GB, free: 132.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/11.01, allocations: 11.69 kB / 4.049 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001026/11.01, allocations: 51.62 kB / 4.049 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001911/11.01, allocations: 19.44 kB / 4.049 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/11.01, allocations: 213.2 kB / 4.049 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/11.01, allocations: 12.3 kB / 4.049 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.765e-05/11.01, allocations: 17.38 kB / 4.049 GB, free: 132.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008089/11.01, allocations: 262.9 kB / 4.049 GB, free: 132.5 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/11.01, allocations: 0 / 4.049 GB, free: 132.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/11.01, allocations: 10.33 kB / 4.049 GB, free: 132.5 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.495e-05/11.01, allocations: 5.375 kB / 4.049 GB, free: 132.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/11.01, allocations: 262.1 kB / 4.05 GB, free: 132.5 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.001889/11.01, allocations: 0.6894 MB / 4.05 GB, free: 132.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009734/11.01, allocations: 217.3 kB / 4.05 GB, free: 132 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/11.01, allocations: 357 kB / 4.051 GB, free: 131.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.067e-05/11.01, allocations: 36.66 kB / 4.051 GB, free: 131.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 3.246e-06/11.01, allocations: 0 / 4.051 GB, free: 131.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.004132/11.02, allocations: 0.6782 MB / 4.051 GB, free: 131.5 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/11.02, allocations: 79.64 kB / 4.052 GB, free: 131.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/11.02, allocations: 112.1 kB / 4.052 GB, free: 131.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.836e-05/11.02, allocations: 40.27 kB / 4.052 GB, free: 131.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.74e-05/11.02, allocations: 174.3 kB / 4.052 GB, free: 131.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/11.02, allocations: 127.8 kB / 4.052 GB, free: 131.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.595e-05/11.02, allocations: 3.625 kB / 4.052 GB, free: 131.1 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.068e-05/11.02, allocations: 336.7 kB / 4.052 GB, free: 130.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/11.02, allocations: 135.1 kB / 4.052 GB, free: 130.7 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/11.02, allocations: 207.9 kB / 4.053 GB, free: 130.7 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000697/11.02, allocations: 154.3 kB / 4.053 GB, free: 130.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/11.02, allocations: 3.375 kB / 4.053 GB, free: 130.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001604/11.02, allocations: 404.5 kB / 4.053 GB, free: 130.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/11.02, allocations: 3.906 kB / 4.053 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/11.02, allocations: 2.938 kB / 4.053 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/11.02, allocations: 6.703 kB / 4.053 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/11.02, allocations: 93.38 kB / 4.053 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/11.02, allocations: 3.25 kB / 4.053 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/11.02, allocations: 31.06 kB / 4.053 GB, free: 130.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.486e-05/11.02, allocations: 13.12 kB / 4.053 GB, free: 130.6 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.000212/11.02, allocations: 143.8 kB / 4.053 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.253e-05/11.02, allocations: 20.62 kB / 4.053 GB, free: 130.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006026/11.02, allocations: 180 kB / 4.054 GB, free: 130.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/11.02, allocations: 10.58 kB / 4.054 GB, free: 130.4 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/11.02, allocations: 0 / 4.054 GB, free: 130.4 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/11.02, allocations: 4 kB / 4.054 GB, free: 130.4 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00244/11.03, allocations: 0.7494 MB / 4.054 GB, free: 130 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.466e-06/11.03, allocations: 3.312 kB / 4.054 GB, free: 130 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008378/11.03, allocations: 78.11 kB / 4.054 GB, free: 130 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/11.03, allocations: 5.188 kB / 4.054 GB, free: 130 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.003e-05/11.03, allocations: 20.94 kB / 4.054 GB, free: 130 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.456e-06/11.03, allocations: 6.781 kB / 4.054 GB, free: 130 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/11.03, allocations: 3.594 kB / 4.054 GB, free: 130 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00226/11.03, allocations: 0.7742 MB / 4.055 GB, free: 129.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/11.03, allocations: 120.9 kB / 4.055 GB, free: 129.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.431e-05/11.03, allocations: 6.281 kB / 4.055 GB, free: 129.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/11.03, allocations: 33.03 kB / 4.055 GB, free: 129.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.44e-05/11.03, allocations: 30.39 kB / 4.055 GB, free: 129.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.911e-05/11.03, allocations: 18.06 kB / 4.055 GB, free: 129.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.752e-05/11.03, allocations: 93.62 kB / 4.056 GB, free: 129.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.11e-07/11.03, allocations: 0 / 4.056 GB, free: 129.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001079/11.03, allocations: 183.6 kB / 4.056 GB, free: 129.4 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 (38): * Single equations (assignments): 38 * 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.003887/11.04, allocations: 2.276 MB / 4.058 GB, free: 127.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001495/11.04, allocations: 334.5 kB / 4.058 GB, free: 127.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/11.04, allocations: 0 / 4.058 GB, free: 127.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006725/11.04, allocations: 184.1 kB / 4.058 GB, free: 127.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009888/11.04, allocations: 88.7 kB / 4.059 GB, free: 127.6 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005136/11.04, allocations: 2.818 MB / 4.061 GB, free: 125.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/11.04, allocations: 0.74 MB / 4.062 GB, free: 124.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003271/11.04, allocations: 69.06 kB / 4.062 GB, free: 124.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/11.04, allocations: 0 / 4.062 GB, free: 124.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.837/13.88, allocations: 7.825 MB / 4.07 GB, free: 123.5 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.MoistAir_res.mat does not exist to compare? outputFormat=mat