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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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) 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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01159/0.01159, allocations: 107.3 kB / 15.06 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001226/0.001226, allocations: 181.7 kB / 15.95 MB, free: 5.516 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.119/2.119, allocations: 194.6 MB / 211.3 MB, free: 11.02 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.484/2.484, allocations: 236.1 MB / 492.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000537/0.0005373, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.74/0.7406, allocations: 98.73 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005612/0.7463, allocations: 3.339 MB / 0.6867 GB, free: 14.33 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0002531/0.7466, allocations: 134.7 kB / 0.6868 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.713e-05/0.7466, allocations: 0 / 0.6868 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.7468, allocations: 2.203 kB / 0.6868 GB, free: 14.23 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.7468, allocations: 13.09 kB / 0.6868 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.7472, allocations: 52.33 kB / 0.6869 GB, free: 14.2 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.486e-05/0.7473, allocations: 17.83 kB / 0.6869 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 4.957e-05/0.7474, allocations: 6.328 kB / 0.6869 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.079e-05/0.7474, allocations: 7.875 kB / 0.6869 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.888e-05/0.7475, allocations: 13.17 kB / 0.6869 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.615e-05/0.7475, allocations: 1.031 kB / 0.6869 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.7478, allocations: 29.08 kB / 0.6869 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.7478, allocations: 3.719 kB / 0.6869 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.746e-05/0.7479, allocations: 33.25 kB / 0.687 GB, free: 14.13 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.748, allocations: 38.73 kB / 0.687 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.748, allocations: 1.094 kB / 0.687 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/0.748, allocations: 0 / 0.687 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.748, allocations: 0 / 0.687 GB, free: 14.11 MB / 0.5261 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.0003692/0.7484, allocations: 330.3 kB / 0.6873 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.7485, allocations: 8.844 kB / 0.6873 GB, free: 13.76 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.505e-05/0.7485, allocations: 36.34 kB / 0.6874 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.7486, allocations: 1.922 kB / 0.6874 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.7487, allocations: 164.7 kB / 0.6875 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.084e-05/0.7488, allocations: 27.72 kB / 0.6876 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.7488, allocations: 1.031 kB / 0.6876 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.749, allocations: 44.95 kB / 0.6876 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.749, allocations: 0 / 0.6876 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.749, allocations: 4.891 kB / 0.6876 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.63e-05/0.7491, allocations: 1.578 kB / 0.6876 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.582e-05/0.7491, allocations: 20.77 kB / 0.6876 GB, free: 13.44 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004582/0.7496, allocations: 331.5 kB / 0.6879 GB, free: 13.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.7497, allocations: 16.02 kB / 0.688 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.553e-05/0.7498, allocations: 88.88 kB / 0.688 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.7498, allocations: 36.22 kB / 0.6881 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.7498, allocations: 0 / 0.6881 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001694/0.75, allocations: 40.48 kB / 0.6881 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.75, allocations: 57.28 kB / 0.6882 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.302e-05/0.7501, allocations: 100.2 kB / 0.6883 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/0.7501, allocations: 26.86 kB / 0.6883 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.769e-05/0.7502, allocations: 86.34 kB / 0.6884 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.773e-06/0.7502, allocations: 0 / 0.6884 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.7502, allocations: 1.438 kB / 0.6884 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.7503, allocations: 312.2 kB / 0.6887 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.093e-05/0.7503, allocations: 7.266 kB / 0.6887 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.053e-05/0.7504, allocations: 18.31 kB / 0.6887 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.946e-05/0.7504, allocations: 5.203 kB / 0.6887 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.7504, allocations: 0 / 0.6887 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001008/0.7505, allocations: 54.25 kB / 0.6888 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.7506, allocations: 9.672 kB / 0.6888 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.7506, allocations: 1.125 kB / 0.6888 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.7506, allocations: 0.9688 kB / 0.6888 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.13e-05/0.7507, allocations: 10.22 kB / 0.6888 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.7507, allocations: 1.344 kB / 0.6888 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.929e-05/0.7507, allocations: 0 / 0.6888 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.7508, allocations: 2.656 kB / 0.6888 GB, free: 12.2 MB / 0.5261 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 () * Number of clocked 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 6.968e-05/0.7508, allocations: 119.8 kB / 0.6889 GB, free: 12.07 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.277e-05/0.7509, allocations: 9.875 kB / 0.6889 GB, free: 12.06 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.751, allocations: 118.8 kB / 0.689 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/0.7511, allocations: 186.2 kB / 0.6892 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.613e-05/0.7511, allocations: 181 kB / 0.6894 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.495e-05/0.7511, allocations: 178.1 kB / 0.6895 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002/0.7514, allocations: 403.4 kB / 0.6899 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.268e-05/0.7514, allocations: 103.1 kB / 0.69 GB, free: 10.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.396e-05/0.7515, allocations: 110.4 kB / 0.6901 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.735e-05/0.7515, allocations: 182.3 kB / 0.6903 GB, free: 10.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.628e-05/0.7515, allocations: 177 kB / 0.6905 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.738e-05/0.7516, allocations: 186.1 kB / 0.6906 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.578e-05/0.7516, allocations: 178.2 kB / 0.6908 GB, free: 9.996 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.7518, allocations: 318.1 kB / 0.6911 GB, free: 9.668 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 5.967e-05/0.7518, allocations: 180.9 kB / 0.6913 GB, free: 9.469 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.7519, allocations: 183.6 kB / 0.6915 GB, free: 9.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.7521, allocations: 107.9 kB / 0.6916 GB, free: 9.176 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.7521, allocations: 185.8 kB / 0.6918 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.7522, allocations: 106.8 kB / 0.6919 GB, free: 8.879 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.7522, allocations: 82.05 kB / 0.6919 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.3e-07/0.7523, allocations: 0 / 0.6919 GB, free: 8.805 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000357/0.7526, allocations: 16.53 kB / 0.6919 GB, free: 8.801 MB / 0.5261 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 () * Number of clocked 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.0003825/0.753, allocations: 0.8228 MB / 0.6927 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.808e-05/0.7531, allocations: 10.03 kB / 0.6928 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7531, allocations: 0 / 0.6928 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.7532, allocations: 1.625 kB / 0.6928 GB, free: 7.984 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.7535, allocations: 0.5262 MB / 0.6933 GB, free: 7.457 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004678/0.754, allocations: 231.6 kB / 0.6935 GB, free: 7.227 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.7541, allocations: 0.6756 MB / 0.6942 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.079e-05/0.7542, allocations: 8.797 kB / 0.6942 GB, free: 6.527 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.534e-05/0.7543, allocations: 9.578 kB / 0.6942 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of SimCode: time 8.62e-07/0.7543, allocations: 1.125 kB / 0.6942 GB, free: 6.52 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0209/0.7752, allocations: 1.164 MB / 0.6953 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002818/0.7755, allocations: 190.6 kB / 0.6955 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.247, allocations: 1.188 kB / 0.6955 GB, free: 6.07 MB / 0.5261 GB