Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater.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.SimpleLiquidWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 194.8 MB / 211.1 MB, free: 7.598 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003769, allocations: 8 kB / 264.1 MB, free: 2.523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3161, allocations: 44.49 MB / 308.6 MB, free: 12.57 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9632/1.279, allocations: 268.5 MB / 0.5635 GB, free: 119.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/1.28, allocations: 68.91 kB / 0.5636 GB, free: 119.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03725/1.317, allocations: 9.392 MB / 0.5728 GB, free: 118.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.204e-06/1.317, allocations: 0 / 0.5728 GB, free: 118.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.762e-05/1.317, allocations: 7.094 kB / 0.5728 GB, free: 118.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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001259/1.318, allocations: 461.7 kB / 0.5732 GB, free: 117.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/1.318, allocations: 8.031 kB / 0.5732 GB, free: 117.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.748e-05/1.319, allocations: 50.08 kB / 0.5733 GB, free: 117.9 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002661/1.319, allocations: 27.62 kB / 0.5733 GB, free: 117.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/1.319, allocations: 207.2 kB / 0.5735 GB, free: 117.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/1.319, allocations: 11.5 kB / 0.5735 GB, free: 117.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/1.319, allocations: 12.84 kB / 0.5735 GB, free: 117.7 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/1.32, allocations: 205.6 kB / 0.5737 GB, free: 117.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.435e-05/1.32, allocations: 9.562 kB / 0.5737 GB, free: 117.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/1.32, allocations: 10.78 kB / 0.5737 GB, free: 117.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/1.32, allocations: 2.25 kB / 0.5737 GB, free: 117.6 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005712/1.321, allocations: 143.2 kB / 0.5739 GB, free: 117.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001859/1.322, allocations: 0.9461 MB / 0.5748 GB, free: 116.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000661/1.323, allocations: 146.9 kB / 0.5749 GB, free: 116.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007624/1.324, allocations: 0.5006 MB / 0.5754 GB, free: 116.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/1.324, allocations: 36.39 kB / 0.5754 GB, free: 116.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 4.127e-06/1.324, allocations: 0 / 0.5754 GB, free: 116.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=20): time 0.004228/1.328, allocations: 0.7635 MB / 0.5762 GB, free: 116 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/1.328, allocations: 51.41 kB / 0.5762 GB, free: 115.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/1.329, allocations: 146.7 kB / 0.5764 GB, free: 115.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/1.329, allocations: 25.7 kB / 0.5764 GB, free: 115.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.396e-05/1.329, allocations: 140.8 kB / 0.5765 GB, free: 115.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/1.329, allocations: 75.41 kB / 0.5766 GB, free: 115.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/1.329, allocations: 11.69 kB / 0.5766 GB, free: 115.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.234e-05/1.329, allocations: 329.2 kB / 0.5769 GB, free: 115.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/1.329, allocations: 75.42 kB / 0.577 GB, free: 115.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004551/1.33, allocations: 194.2 kB / 0.5772 GB, free: 115.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/1.33, allocations: 99.34 kB / 0.5773 GB, free: 115.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/1.33, allocations: 0 / 0.5773 GB, free: 115.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00117/1.331, allocations: 322.4 kB / 0.5776 GB, free: 115.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/1.332, allocations: 11.12 kB / 0.5776 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.354e-05/1.332, allocations: 3.438 kB / 0.5776 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.346e-05/1.332, allocations: 10.89 kB / 0.5776 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/1.332, allocations: 84.58 kB / 0.5777 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.629e-05/1.332, allocations: 11.8 kB / 0.5777 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/1.333, allocations: 17.7 kB / 0.5777 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.091e-05/1.333, allocations: 11.72 kB / 0.5777 GB, free: 115.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.0001874/1.333, allocations: 135.5 kB / 0.5779 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.112e-05/1.333, allocations: 15.59 kB / 0.5779 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/1.334, allocations: 242.1 kB / 0.5781 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.155e-06/1.334, allocations: 3.984 kB / 0.5781 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/1.334, allocations: 3.906 kB / 0.5781 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/1.334, allocations: 4 kB / 0.5781 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00201/1.336, allocations: 0.5927 MB / 0.5787 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/1.336, allocations: 4 kB / 0.5787 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005225/1.337, allocations: 58.88 kB / 0.5788 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/1.337, allocations: 0 / 0.5788 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/1.337, allocations: 11.66 kB / 0.5788 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/1.337, allocations: 3.906 kB / 0.5788 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/1.337, allocations: 128 / 0.5788 GB, free: 114.5 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/1.338, allocations: 451.6 kB / 0.5792 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.533e-05/1.338, allocations: 92.5 kB / 0.5793 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/1.338, allocations: 3.875 kB / 0.5793 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004446/1.339, allocations: 22.91 kB / 0.5793 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/1.339, allocations: 15.38 kB / 0.5793 GB, free: 114.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/1.339, allocations: 14.75 kB / 0.5794 GB, free: 114.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000106/1.339, allocations: 108.6 kB / 0.5795 GB, free: 114.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.339, allocations: 0 / 0.5795 GB, free: 114.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000555/1.34, allocations: 65.16 kB / 0.5795 GB, free: 114.1 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (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 (20): * Single equations (assignments): 20 * 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.001796/1.342, allocations: 1.289 MB / 0.5808 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009861/1.343, allocations: 218.3 kB / 0.581 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.343, allocations: 3.688 kB / 0.581 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004004/1.343, allocations: 86.44 kB / 0.5811 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005183/1.344, allocations: 41.53 kB / 0.5811 GB, free: 113 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003951/1.348, allocations: 3.504 MB / 0.5845 GB, free: 110 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002152/1.348, allocations: 0.7212 MB / 0.5852 GB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005014/1.348, allocations: 48.12 kB / 0.5853 GB, free: 109.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001919/1.349, allocations: 54.44 kB / 0.5853 GB, free: 109.3 MB / 410.7 MB Notification: Performance of SimCode: time 1.242e-06/1.349, allocations: 0 / 0.5853 GB, free: 109.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03349/1.382, allocations: 4.41 MB / 0.5896 GB, free: 108.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002991/1.382, allocations: 186.4 kB / 0.5898 GB, free: 108.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.712/4.095, allocations: 0 / 0.5898 GB, free: 108.6 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat