Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") translateModel(BuildingSystems.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007625/0.0007627, allocations: 98.09 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.0007873/0.0007874, allocations: 183.7 kB / 16.92 MB, free: 6.895 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001639/0.001639, allocations: 274.8 kB / 292.3 MB, free: 1.797 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9194/0.9194, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004167, allocations: 14.28 kB / 0.5993 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1865, allocations: 88.55 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.WaterProperties): time 0.004783/0.1914, allocations: 4.367 MB / 0.69 GB, free: 10.69 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002755/0.1942, allocations: 2.674 MB / 0.6926 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.784e-05/0.1943, allocations: 0.625 kB / 0.6926 GB, free: 8.023 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.1945, allocations: 47.73 kB / 0.6927 GB, free: 7.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002486/0.1948, allocations: 85.42 kB / 0.6928 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.1959, allocations: 457.1 kB / 0.6932 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.1962, allocations: 307.8 kB / 0.6935 GB, free: 7.148 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.612e-05/0.1963, allocations: 9.562 kB / 0.6935 GB, free: 7.141 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.1964, allocations: 111.5 kB / 0.6936 GB, free: 7.031 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.1966, allocations: 91.66 kB / 0.6937 GB, free: 6.941 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.949e-05/0.1966, allocations: 8 kB / 0.6937 GB, free: 6.934 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000605/0.1972, allocations: 375.2 kB / 0.6941 GB, free: 6.566 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.281e-05/0.1973, allocations: 39.89 kB / 0.6941 GB, free: 6.527 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.849e-05/0.1974, allocations: 113.3 kB / 0.6942 GB, free: 6.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.1978, allocations: 235.8 kB / 0.6944 GB, free: 6.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1978, allocations: 0 / 0.6944 GB, free: 6.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1978, allocations: 3.984 kB / 0.6944 GB, free: 6.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1978, allocations: 0 / 0.6944 GB, free: 6.176 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006422/0.1984, allocations: 481 kB / 0.6949 GB, free: 5.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.1985, allocations: 12.03 kB / 0.6949 GB, free: 5.645 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.1986, allocations: 20.75 kB / 0.6949 GB, free: 5.625 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.1988, allocations: 212.1 kB / 0.6951 GB, free: 5.379 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.1989, allocations: 12.7 kB / 0.6951 GB, free: 5.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.233e-05/0.1989, allocations: 12.38 kB / 0.6951 GB, free: 5.355 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003619/0.1993, allocations: 252.8 kB / 0.6954 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.1993, allocations: 4 kB / 0.6954 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.1993, allocations: 8 kB / 0.6954 GB, free: 5.078 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.286e-05/0.1993, allocations: 4 kB / 0.6954 GB, free: 5.074 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.1998, allocations: 431.3 kB / 0.6958 GB, free: 4.652 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.2009, allocations: 0.9565 MB / 0.6968 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002533/0.2011, allocations: 159 kB / 0.6969 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.38e-05/0.2013, allocations: 60.88 kB / 0.697 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/0.2026, allocations: 1.821 MB / 0.6987 GB, free: 1.203 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/0.2026, allocations: 38.5 kB / 0.6988 GB, free: 1.156 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 8.015e-06/0.2026, allocations: 0 / 0.6988 GB, free: 1.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003148/0.2029, allocations: 151.5 kB / 0.6989 GB, free: 1.004 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.203, allocations: 59.28 kB / 0.699 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.2031, allocations: 180.8 kB / 0.6991 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.2032, allocations: 29.7 kB / 0.6992 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.157e-05/0.2033, allocations: 135.8 kB / 0.6993 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.698e-05/0.2033, allocations: 55.28 kB / 0.6994 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-05/0.2033, allocations: 25.72 kB / 0.6994 GB, free: 500 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2035, allocations: 326.8 kB / 0.6997 GB, free: 164 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.2035, allocations: 35.97 kB / 0.6997 GB, free: 128 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.2037, allocations: 138.9 kB / 0.6999 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000217/0.2039, allocations: 199.7 kB / 0.7001 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.2039, allocations: 4 kB / 0.7001 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002998/0.2042, allocations: 213.1 kB / 0.7003 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.2042, allocations: 8 kB / 0.7003 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.2042, allocations: 4 kB / 0.7003 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.2043, allocations: 4 kB / 0.7003 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001654/0.2044, allocations: 63.84 kB / 0.7003 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.2045, allocations: 8 kB / 0.7003 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001104/0.2046, allocations: 32.16 kB / 0.7004 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.2046, allocations: 12 kB / 0.7004 GB, free: 15.35 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.0001108/0.2047, allocations: 133.7 kB / 0.7005 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.095e-05/0.2048, allocations: 19.8 kB / 0.7005 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000287/0.2051, allocations: 158.9 kB / 0.7007 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.2051, allocations: 3.938 kB / 0.7007 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.2051, allocations: 0 / 0.7007 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2051, allocations: 0 / 0.7007 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002325/0.2053, allocations: 221.5 kB / 0.7009 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.2053, allocations: 0 / 0.7009 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.981e-05/0.2054, allocations: 23.98 kB / 0.7009 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2054, allocations: 4 kB / 0.7009 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.2055, allocations: 4 kB / 0.7009 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2055, allocations: 7.875 kB / 0.7009 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.2055, allocations: 0 / 0.7009 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002497/0.2057, allocations: 216.2 kB / 0.7011 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.259e-05/0.2058, allocations: 112.9 kB / 0.7013 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.2059, allocations: 0 / 0.7013 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002035/0.2061, allocations: 27.86 kB / 0.7013 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.848e-05/0.2061, allocations: 15.97 kB / 0.7013 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.2061, allocations: 8 kB / 0.7013 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.007e-05/0.2062, allocations: 123.2 kB / 0.7014 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2062, allocations: 0 / 0.7014 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003737/0.2066, allocations: 87.92 kB / 0.7015 GB, free: 14.12 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.0003264/0.2069, allocations: 171.1 kB / 0.7017 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002212/0.2072, allocations: 122.2 kB / 0.7018 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2072, allocations: 0 / 0.7018 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.932e-05/0.2072, allocations: 39.98 kB / 0.7018 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000444/0.2077, allocations: 52.64 kB / 0.7019 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006794/0.2084, allocations: 463.1 kB / 0.7023 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.2087, allocations: 0.7131 MB / 0.703 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.2087, allocations: 31.44 kB / 0.703 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of SimCode: time 2.885e-06/0.2087, allocations: 0 / 0.703 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of Templates: time 0.005142/0.2139, allocations: 3.15 MB / 0.7061 GB, free: 9.352 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.makefile make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.WaterProperties.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.WaterPropertiesCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterPropertiesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Media.Examples.WaterPropertiesCalcHelperMain.o] Error 1