Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008793/0.0008793, allocations: 92.31 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009547/0.0009546, allocations: 181.8 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.337/1.337, allocations: 223.2 MB / 240.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001791/0.001792, allocations: 263 kB / 292.3 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.915/0.915, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004662/0.0004662, allocations: 13.92 kB / 0.5993 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1737, allocations: 88.56 MB / 0.6858 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01549/0.1893, allocations: 13.34 MB / 0.6988 GB, free: 1.676 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002792/0.1921, allocations: 2.648 MB / 0.7014 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.225e-05/0.1922, allocations: 0 / 0.7014 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.1925, allocations: 35.81 kB / 0.7014 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002566/0.1928, allocations: 91.47 kB / 0.7015 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.1939, allocations: 475.2 kB / 0.702 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002864/0.1942, allocations: 295.9 kB / 0.7023 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.1942, allocations: 9.562 kB / 0.7023 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007196/0.2014, allocations: 3.149 MB / 0.7053 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002105/0.2016, allocations: 91.66 kB / 0.7054 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.518e-05/0.2017, allocations: 7.984 kB / 0.7054 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002611/0.2043, allocations: 0.9914 MB / 0.7064 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.13e-05/0.2044, allocations: 35.89 kB / 0.7064 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.2045, allocations: 105.4 kB / 0.7065 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004441/0.205, allocations: 247.4 kB / 0.7068 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.205, allocations: 0 / 0.7068 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.054e-06/0.205, allocations: 4 kB / 0.7068 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.205, allocations: 0 / 0.7068 GB, free: 9.48 MB / 0.4981 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.0007119/0.2057, allocations: 475.3 kB / 0.7072 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.2057, allocations: 11.97 kB / 0.7072 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.2059, allocations: 16.84 kB / 0.7073 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.2061, allocations: 228 kB / 0.7075 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.2062, allocations: 12.69 kB / 0.7075 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.41e-05/0.2062, allocations: 16.38 kB / 0.7075 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003655/0.2066, allocations: 252.8 kB / 0.7077 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2066, allocations: 0 / 0.7077 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.2066, allocations: 8 kB / 0.7077 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-05/0.2066, allocations: 4 kB / 0.7078 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004561/0.2071, allocations: 431.3 kB / 0.7082 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.2082, allocations: 0.9606 MB / 0.7091 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002636/0.2085, allocations: 167.5 kB / 0.7093 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.2086, allocations: 66.19 kB / 0.7093 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001404/0.21, allocations: 1.833 MB / 0.7111 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.2101, allocations: 38.56 kB / 0.7112 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.382e-06/0.2101, allocations: 4 kB / 0.7112 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0003128/0.2104, allocations: 139.8 kB / 0.7113 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.2104, allocations: 63.28 kB / 0.7113 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.2106, allocations: 168.9 kB / 0.7115 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.113e-05/0.2106, allocations: 33.7 kB / 0.7115 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.2107, allocations: 135.8 kB / 0.7117 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.261e-05/0.2108, allocations: 59.17 kB / 0.7117 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.2108, allocations: 25.72 kB / 0.7118 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2109, allocations: 326.8 kB / 0.7121 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.253e-05/0.211, allocations: 35.97 kB / 0.7121 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.2112, allocations: 146.9 kB / 0.7122 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/0.2114, allocations: 199.8 kB / 0.7124 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.2114, allocations: 0 / 0.7124 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002993/0.2117, allocations: 209.2 kB / 0.7126 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.2117, allocations: 4.469 kB / 0.7126 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.2117, allocations: 4 kB / 0.7126 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.2118, allocations: 12 kB / 0.7126 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.2119, allocations: 63.78 kB / 0.7127 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.218e-06/0.2119, allocations: 4 kB / 0.7127 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.2121, allocations: 31.69 kB / 0.7127 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.69e-05/0.2121, allocations: 12 kB / 0.7128 GB, free: 2.629 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.2122, allocations: 129.8 kB / 0.7129 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.2122, allocations: 23.75 kB / 0.7129 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002998/0.2125, allocations: 160.3 kB / 0.7131 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-05/0.2126, allocations: 11.88 kB / 0.7131 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2126, allocations: 0 / 0.7131 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2126, allocations: 0 / 0.7131 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002313/0.2128, allocations: 221.4 kB / 0.7133 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2128, allocations: 0 / 0.7133 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.218e-05/0.2129, allocations: 23.98 kB / 0.7133 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2129, allocations: 3.984 kB / 0.7133 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.2129, allocations: 4 kB / 0.7133 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.213, allocations: 7.938 kB / 0.7133 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.213, allocations: 4 kB / 0.7133 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.2132, allocations: 217.4 kB / 0.7135 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.875e-05/0.2133, allocations: 108.9 kB / 0.7136 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.2133, allocations: 4 kB / 0.7136 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/0.2135, allocations: 23.92 kB / 0.7137 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.46e-05/0.2135, allocations: 11.98 kB / 0.7137 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.2136, allocations: 12 kB / 0.7137 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.048e-05/0.2137, allocations: 127.2 kB / 0.7138 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2137, allocations: 0 / 0.7138 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003724/0.214, allocations: 75.91 kB / 0.7139 GB, free: 1.395 MB / 0.4981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003386/0.2144, allocations: 183.1 kB / 0.714 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002167/0.2146, allocations: 119.8 kB / 0.7142 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.2146, allocations: 0.9375 kB / 0.7142 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.301e-05/0.2147, allocations: 47.86 kB / 0.7142 GB, free: 1.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000454/0.2152, allocations: 47.62 kB / 0.7143 GB, free: 1 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006841/0.2158, allocations: 467.2 kB / 0.7147 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.2161, allocations: 0.7092 MB / 0.7154 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.293e-05/0.2162, allocations: 35.36 kB / 0.7154 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.2162, allocations: 0 / 0.7154 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Templates: time 0.005346/0.2216, allocations: 3.4 MB / 0.7187 GB, free: 12.38 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pTCalcHelperMain.o] Error 1