Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterProperties.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.WaterProperties,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_WaterProperties",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.01056/0.01056, allocations: 106 kB / 15.06 MB, free: 6.027 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.0012/0.0012, allocations: 181 kB / 15.95 MB, free: 5.953 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.302/2.302, allocations: 194.5 MB / 211.2 MB, free: 11.07 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.419/2.419, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000742/0.0007422, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7156/0.7164, allocations: 98.72 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.006486/0.723, allocations: 3.875 MB / 0.6872 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.003591/0.7266, allocations: 2.148 MB / 0.6893 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002311/0.7269, allocations: 1.125 kB / 0.6893 GB, free: 12.5 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0003303/0.7273, allocations: 37.97 kB / 0.6893 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.7276, allocations: 78.73 kB / 0.6894 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001931/0.7295, allocations: 376 kB / 0.6898 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0004129/0.73, allocations: 143.3 kB / 0.6899 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 8.744e-05/0.7301, allocations: 16.73 kB / 0.6899 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002954/0.7304, allocations: 103.8 kB / 0.69 GB, free: 12.08 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.7306, allocations: 69.48 kB / 0.6901 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.7306, allocations: 6.094 kB / 0.6901 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001328/0.7319, allocations: 279.5 kB / 0.6904 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 9.261e-05/0.7321, allocations: 32.7 kB / 0.6904 GB, free: 11.95 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 8.12e-05/0.7322, allocations: 57.67 kB / 0.6905 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0006903/0.7329, allocations: 197 kB / 0.6906 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.7329, allocations: 1.469 kB / 0.6906 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.043e-06/0.7329, allocations: 0 / 0.6906 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.7329, allocations: 0 / 0.6906 GB, free: 11.86 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008321/0.7337, allocations: 480.7 kB / 0.6911 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.7338, allocations: 9.219 kB / 0.6911 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.778e-05/0.7339, allocations: 48.73 kB / 0.6912 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.7341, allocations: 22.19 kB / 0.6912 GB, free: 11.36 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.7344, allocations: 209.9 kB / 0.6914 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.7344, allocations: 11.05 kB / 0.6914 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.7344, allocations: 13.5 kB / 0.6914 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005364/0.735, allocations: 240.9 kB / 0.6916 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.735, allocations: 0 / 0.6916 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.502e-05/0.7351, allocations: 15.42 kB / 0.6916 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.006e-05/0.7351, allocations: 10.22 kB / 0.6917 GB, free: 10.97 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000861/0.736, allocations: 433.9 kB / 0.6921 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001556/0.7376, allocations: 1.024 MB / 0.6931 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005196/0.7381, allocations: 165.9 kB / 0.6932 GB, free: 9.902 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001611/0.7397, allocations: 1.842 MB / 0.695 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.944e-05/0.7398, allocations: 37.56 kB / 0.6951 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.194e-06/0.7398, allocations: 0 / 0.6951 GB, free: 7.812 MB / 0.5261 GB Notification: Performance of matching and sorting (n=15): time 0.0005362/0.7404, allocations: 141.1 kB / 0.6952 GB, free: 7.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.7404, allocations: 53.56 kB / 0.6952 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002158/0.7406, allocations: 166.7 kB / 0.6954 GB, free: 7.562 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.917e-05/0.7407, allocations: 31.7 kB / 0.6954 GB, free: 7.527 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.092e-05/0.7408, allocations: 138 kB / 0.6956 GB, free: 7.402 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.481e-05/0.7408, allocations: 58.8 kB / 0.6956 GB, free: 7.355 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.409e-05/0.7409, allocations: 5.188 kB / 0.6956 GB, free: 7.352 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.814e-05/0.7409, allocations: 326.7 kB / 0.6959 GB, free: 7.031 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001136/0.7411, allocations: 30.11 kB / 0.696 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.7413, allocations: 147.1 kB / 0.6961 GB, free: 6.875 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001639/0.7414, allocations: 61.42 kB / 0.6962 GB, free: 6.848 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.7415, allocations: 5.359 kB / 0.6962 GB, free: 6.844 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005425/0.742, allocations: 204.7 kB / 0.6964 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.7e-05/0.7421, allocations: 6.719 kB / 0.6964 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.7421, allocations: 3.25 kB / 0.6964 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.7421, allocations: 6.141 kB / 0.6964 GB, free: 6.754 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003939/0.7425, allocations: 56.44 kB / 0.6964 GB, free: 6.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.894e-05/0.7426, allocations: 10.55 kB / 0.6964 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000231/0.7428, allocations: 33.14 kB / 0.6965 GB, free: 6.723 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.7428, allocations: 19.5 kB / 0.6965 GB, free: 6.715 MB / 0.5261 GB 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.00015/0.743, allocations: 131.4 kB / 0.6966 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.319e-05/0.7431, allocations: 21.03 kB / 0.6966 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004977/0.7436, allocations: 153.4 kB / 0.6968 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.788e-05/0.7436, allocations: 2.188 kB / 0.6968 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.7436, allocations: 2.266 kB / 0.6968 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.652e-06/0.7436, allocations: 0.75 kB / 0.6968 GB, free: 6.496 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003556/0.744, allocations: 211.3 kB / 0.697 GB, free: 6.285 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.744, allocations: 4 kB / 0.697 GB, free: 6.281 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.7443, allocations: 39.98 kB / 0.697 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/0.7443, allocations: 1.031 kB / 0.697 GB, free: 6.27 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.7443, allocations: 7.484 kB / 0.697 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.7443, allocations: 1.25 kB / 0.697 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7444, allocations: 0 / 0.697 GB, free: 6.266 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.7447, allocations: 216.5 kB / 0.6973 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.7449, allocations: 116.4 kB / 0.6974 GB, free: 5.992 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.7449, allocations: 9.688 kB / 0.6974 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003369/0.7453, allocations: 13.05 kB / 0.6974 GB, free: 5.98 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.067e-05/0.7453, allocations: 12.92 kB / 0.6974 GB, free: 5.977 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.7454, allocations: 12.36 kB / 0.6974 GB, free: 5.973 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001299/0.7455, allocations: 114.8 kB / 0.6975 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.71e-07/0.7455, allocations: 0 / 0.6975 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006684/0.7462, allocations: 74.45 kB / 0.6976 GB, free: 5.875 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008561/0.7471, allocations: 0.8181 MB / 0.6984 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004165/0.7475, allocations: 118.3 kB / 0.6985 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.87e-06/0.7475, allocations: 3.938 kB / 0.6985 GB, free: 5.121 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.7477, allocations: 46.66 kB / 0.6985 GB, free: 5.109 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000695/0.7484, allocations: 48.86 kB / 0.6986 GB, free: 5.094 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002846/0.7512, allocations: 3.269 MB / 0.7018 GB, free: 2.141 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002393/0.7515, allocations: 0.719 MB / 0.7025 GB, free: 1.441 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003636/0.7519, allocations: 42.95 kB / 0.7025 GB, free: 1.426 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.752, allocations: 41.53 kB / 0.7026 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of SimCode: time 1.823e-06/0.752, allocations: 0 / 0.7026 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03639/0.7884, allocations: 4.577 MB / 0.707 GB, free: 15.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003236/0.7889, allocations: 175.2 kB / 0.7072 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.742/3.531, allocations: 0 / 0.7072 GB, free: 15.45 MB / 0.5417 GB