Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") translateModel(BuildingSystems.Media.Examples.WaterDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008254/0.0008254, allocations: 91.92 kB / 16.02 MB, free: 80 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.0008316/0.0008316, allocations: 176.8 kB / 16.92 MB, free: 6.652 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.358/1.358, allocations: 223.2 MB / 241 MB, free: 5.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 266.6 kB / 292.3 MB, free: 1.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9765/0.9765, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004438/0.0004438, allocations: 25.12 kB / 0.5993 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1894, allocations: 88.54 MB / 0.6857 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterDerivativeCheck): time 0.001329/0.1907, allocations: 0.9921 MB / 0.6867 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003485/0.1942, allocations: 3.194 MB / 0.6898 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.785e-05/0.1943, allocations: 1.562 kB / 0.6898 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.815e-05/0.1943, allocations: 3.938 kB / 0.6898 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.994e-05/0.1943, allocations: 0 / 0.6898 GB, free: 10.86 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.1948, allocations: 101.8 kB / 0.6899 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.56e-05/0.1949, allocations: 35.89 kB / 0.69 GB, free: 10.73 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.1949, allocations: 4 kB / 0.69 GB, free: 10.72 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.578e-05/0.195, allocations: 23.86 kB / 0.69 GB, free: 10.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.041e-05/0.1951, allocations: 16.95 kB / 0.69 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.027e-05/0.1951, allocations: 0 / 0.69 GB, free: 10.68 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.1953, allocations: 71.12 kB / 0.6901 GB, free: 10.62 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.681e-05/0.1953, allocations: 15.92 kB / 0.6901 GB, free: 10.6 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.1954, allocations: 45.62 kB / 0.6901 GB, free: 10.55 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001204/0.1955, allocations: 44.16 kB / 0.6902 GB, free: 10.51 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1955, allocations: 4 kB / 0.6902 GB, free: 10.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1955, allocations: 0 / 0.6902 GB, free: 10.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.1955, allocations: 0 / 0.6902 GB, free: 10.5 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003612/0.1959, allocations: 331.5 kB / 0.6905 GB, free: 10.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.1959, allocations: 13.25 kB / 0.6905 GB, free: 10.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.196, allocations: 12.83 kB / 0.6905 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001001/0.1962, allocations: 165 kB / 0.6907 GB, free: 9.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.434e-05/0.1962, allocations: 8.375 kB / 0.6907 GB, free: 9.902 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.1962, allocations: 1.25 kB / 0.6907 GB, free: 9.902 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1963, allocations: 57.8 kB / 0.6908 GB, free: 9.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-06/0.1964, allocations: 4.719 kB / 0.6908 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.273e-05/0.1964, allocations: 0 / 0.6908 GB, free: 9.836 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.1964, allocations: 4.625 kB / 0.6908 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.259e-05/0.1964, allocations: 21.7 kB / 0.6908 GB, free: 9.812 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001653/0.1966, allocations: 165.6 kB / 0.6909 GB, free: 9.602 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.304e-05/0.1967, allocations: 54.5 kB / 0.691 GB, free: 9.539 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.1968, allocations: 16.86 kB / 0.691 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/0.1974, allocations: 0.5946 MB / 0.6916 GB, free: 8.816 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.465e-05/0.1975, allocations: 30.56 kB / 0.6916 GB, free: 8.777 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.103e-06/0.1975, allocations: 7.875 kB / 0.6916 GB, free: 8.77 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.00055/0.198, allocations: 306.5 kB / 0.6919 GB, free: 8.418 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.1981, allocations: 55.34 kB / 0.692 GB, free: 8.352 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.715e-05/0.1982, allocations: 101.8 kB / 0.6921 GB, free: 8.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.1982, allocations: 25.7 kB / 0.6921 GB, free: 8.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.153e-05/0.1982, allocations: 88.05 kB / 0.6922 GB, free: 8.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.169e-05/0.1983, allocations: 27.55 kB / 0.6922 GB, free: 8.094 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.1983, allocations: 17.72 kB / 0.6922 GB, free: 8.07 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.1984, allocations: 322.8 kB / 0.6925 GB, free: 7.746 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.548e-05/0.1984, allocations: 15.98 kB / 0.6925 GB, free: 7.73 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.91e-05/0.1985, allocations: 49.14 kB / 0.6926 GB, free: 7.664 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.27e-05/0.1986, allocations: 73.09 kB / 0.6927 GB, free: 7.574 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1986, allocations: 0 / 0.6927 GB, free: 7.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000135/0.1987, allocations: 93.78 kB / 0.6927 GB, free: 7.477 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.1988, allocations: 8 kB / 0.6928 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1988, allocations: 0 / 0.6928 GB, free: 7.469 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1988, allocations: 4.031 kB / 0.6928 GB, free: 7.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.234e-05/0.1989, allocations: 27.92 kB / 0.6928 GB, free: 7.438 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1989, allocations: 4.125 kB / 0.6928 GB, free: 7.434 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.606e-05/0.1989, allocations: 7.938 kB / 0.6928 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.1989, allocations: 8 kB / 0.6928 GB, free: 7.418 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * Array equations: 0 * 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 7.088e-05/0.199, allocations: 111.1 kB / 0.6929 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.676e-05/0.199, allocations: 8 kB / 0.6929 GB, free: 7.293 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.1991, allocations: 11.95 kB / 0.6929 GB, free: 7.285 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1991, allocations: 4 kB / 0.6929 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1991, allocations: 0 / 0.6929 GB, free: 7.281 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1991, allocations: 3.938 kB / 0.6929 GB, free: 7.277 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000215/0.1993, allocations: 173.7 kB / 0.6931 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1993, allocations: 0 / 0.6931 GB, free: 7.059 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.48e-05/0.1994, allocations: 12 kB / 0.6931 GB, free: 7.047 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.1994, allocations: 3.938 kB / 0.6931 GB, free: 7.043 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.1994, allocations: 4.422 kB / 0.6931 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.1994, allocations: 4 kB / 0.6931 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1995, allocations: 0 / 0.6931 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.1996, allocations: 183.3 kB / 0.6933 GB, free: 6.84 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.15e-05/0.1997, allocations: 93.05 kB / 0.6934 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.251e-05/0.1997, allocations: 0 / 0.6934 GB, free: 6.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.1998, allocations: 4 kB / 0.6934 GB, free: 6.727 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.823e-05/0.1998, allocations: 3.984 kB / 0.6934 GB, free: 6.723 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.1999, allocations: 15.88 kB / 0.6934 GB, free: 6.707 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.105e-05/0.1999, allocations: 75.28 kB / 0.6935 GB, free: 6.633 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1999, allocations: 0 / 0.6935 GB, free: 6.633 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.2001, allocations: 12 kB / 0.6935 GB, free: 6.621 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * 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.0001249/0.2003, allocations: 103.2 kB / 0.6936 GB, free: 6.508 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.2004, allocations: 43.92 kB / 0.6936 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.2004, allocations: 0 / 0.6936 GB, free: 6.465 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.321e-05/0.2004, allocations: 19.92 kB / 0.6937 GB, free: 6.445 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.2007, allocations: 8 kB / 0.6937 GB, free: 6.438 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.2013, allocations: 413 kB / 0.6941 GB, free: 6 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.2015, allocations: 0.6926 MB / 0.6947 GB, free: 5.281 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.551e-05/0.2015, allocations: 11.44 kB / 0.6947 GB, free: 5.27 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.2016, allocations: 0 / 0.6947 GB, free: 5.27 MB / 494.1 MB Notification: Performance of Templates: time 0.002139/0.2037, allocations: 0.7613 MB / 0.6955 GB, free: 4.508 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheck.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.Examples.WaterDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterDerivativeCheckCalcHelperMain.o] Error 1