Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.238/4.238, allocations: 433.2 MB / 440.7 MB, free: 4.543 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.761e-05/2.773e-05, allocations: 2.969 kB / 0.5325 GB, free: 12.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2802, allocations: 98.73 MB / 0.6289 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.427, allocations: 361.4 MB / 0.9818 GB, free: 7.246 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/1.427, allocations: 69.39 kB / 0.9818 GB, free: 7.211 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.04078/1.468, allocations: 11.43 MB / 0.993 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.074e-06/1.468, allocations: 4 kB / 0.993 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.226e-06/1.468, allocations: 0 / 0.993 GB, free: 14.46 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000416/1.469, allocations: 330.5 kB / 0.9933 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/1.469, allocations: 8.031 kB / 0.9933 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/1.469, allocations: 3.953 kB / 0.9933 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001457/1.469, allocations: 166.6 kB / 0.9935 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.318e-05/1.469, allocations: 29.7 kB / 0.9935 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/1.469, allocations: 0 / 0.9935 GB, free: 13.85 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.636e-05/1.469, allocations: 11.98 kB / 0.9935 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.901e-05/1.469, allocations: 45.06 kB / 0.9936 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/1.469, allocations: 0 / 0.9936 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/1.469, allocations: 0 / 0.9936 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/1.469, allocations: 7.891 kB / 0.9936 GB, free: 13.78 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005502/1.47, allocations: 309.5 kB / 0.9939 GB, free: 13.43 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.308e-05/1.47, allocations: 18.52 kB / 0.9939 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.062e-05/1.47, allocations: 4.859 kB / 0.9939 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/1.47, allocations: 93.2 kB / 0.994 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/1.47, allocations: 30.56 kB / 0.994 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 4.118e-06/1.47, allocations: 0 / 0.994 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002195/1.47, allocations: 37.59 kB / 0.9941 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/1.471, allocations: 55.22 kB / 0.9941 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.509e-05/1.471, allocations: 92.98 kB / 0.9942 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.12e-05/1.471, allocations: 29.7 kB / 0.9942 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.003e-05/1.471, allocations: 88.08 kB / 0.9943 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.287e-06/1.471, allocations: 7.094 kB / 0.9943 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/1.471, allocations: 0 / 0.9943 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.471, allocations: 310.8 kB / 0.9946 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.729e-05/1.471, allocations: 7.938 kB / 0.9946 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.458e-05/1.471, allocations: 21.27 kB / 0.9947 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.655e-05/1.471, allocations: 8 kB / 0.9947 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.471, allocations: 0 / 0.9947 GB, free: 12.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001704/1.471, allocations: 45.69 kB / 0.9947 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/1.471, allocations: 4 kB / 0.9947 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.471, allocations: 0 / 0.9947 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/1.471, allocations: 0 / 0.9947 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.09e-05/1.471, allocations: 11.92 kB / 0.9947 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.051e-06/1.471, allocations: 4 kB / 0.9947 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.242e-05/1.472, allocations: 3.953 kB / 0.9947 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/1.472, allocations: 0 / 0.9947 GB, free: 12.49 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.34e-05/1.472, allocations: 114 kB / 0.9948 GB, free: 12.38 MB / 0.7448 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000109/1.472, allocations: 29.7 kB / 0.9949 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/1.472, allocations: 4 kB / 0.9949 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001567/1.472, allocations: 129.4 kB / 0.995 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.548e-05/1.472, allocations: 180.2 kB / 0.9952 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.016e-05/1.472, allocations: 183.7 kB / 0.9953 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.811e-05/1.472, allocations: 184.2 kB / 0.9955 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000259/1.473, allocations: 377.8 kB / 0.9959 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.353e-05/1.473, allocations: 101 kB / 0.996 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.848e-05/1.473, allocations: 112.9 kB / 0.9961 GB, free: 11.01 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-05/1.473, allocations: 183.6 kB / 0.9963 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.753e-05/1.473, allocations: 184.5 kB / 0.9964 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.725e-05/1.473, allocations: 180.2 kB / 0.9966 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.968e-05/1.473, allocations: 176.3 kB / 0.9968 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001752/1.473, allocations: 311.2 kB / 0.9971 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/1.473, allocations: 194 kB / 0.9972 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.764e-05/1.473, allocations: 184.2 kB / 0.9974 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/1.474, allocations: 104.9 kB / 0.9975 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/1.474, allocations: 180.3 kB / 0.9977 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.927e-05/1.474, allocations: 101 kB / 0.9978 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.985e-05/1.474, allocations: 86.77 kB / 0.9979 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.31e-07/1.474, allocations: 4 kB / 0.9979 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003586/1.474, allocations: 19.89 kB / 0.9979 GB, free: 9.047 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0006335/1.475, allocations: 0.8396 MB / 0.9987 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 9.66e-05/1.475, allocations: 7.438 kB / 0.9987 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 8.225e-06/1.475, allocations: 4 kB / 0.9987 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-06/1.475, allocations: 0 / 0.9987 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004423/1.475, allocations: 0.5225 MB / 0.9992 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/1.476, allocations: 164.7 kB / 0.9994 GB, free: 7.453 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/1.476, allocations: 0.6768 MB / 1 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.531e-05/1.476, allocations: 4 kB / 1 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.273e-05/1.476, allocations: 11.44 kB / 1 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of SimCode: time 1.482e-06/1.476, allocations: 0 / 1 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03701/1.513, allocations: 1.072 MB / 1.001 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004393/1.514, allocations: 148.6 kB / 1.001 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.364/3.878, allocations: 3.938 kB / 1.001 GB, free: 5.477 MB / 0.7448 GB