Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009149/0.000915, allocations: 97.78 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.0009622/0.0009622, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.361/1.361, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001889/0.001889, allocations: 285 kB / 292.3 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9569/0.9569, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004605/0.0004605, allocations: 19.2 kB / 0.5993 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.1711, allocations: 88.55 MB / 0.6858 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0006771/0.1718, allocations: 285.5 kB / 0.6861 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001165/0.173, allocations: 1.007 MB / 0.6871 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.306e-05/0.173, allocations: 0.75 kB / 0.6871 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.527e-05/0.173, allocations: 0 / 0.6871 GB, free: 13.74 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006372/0.1737, allocations: 85.94 kB / 0.6872 GB, free: 13.66 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.015e-05/0.1737, allocations: 11.94 kB / 0.6872 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.705e-05/0.1737, allocations: 4 kB / 0.6872 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.1738, allocations: 4 kB / 0.6872 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.884e-05/0.1738, allocations: 7.984 kB / 0.6872 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.1741, allocations: 28.97 kB / 0.6872 GB, free: 13.61 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.1741, allocations: 10.31 kB / 0.6872 GB, free: 13.6 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.1742, allocations: 87.91 kB / 0.6873 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.736e-06/0.1743, allocations: 0 / 0.6873 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.733e-05/0.1743, allocations: 25.7 kB / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001146/0.1744, allocations: 59.84 kB / 0.6874 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1744, allocations: 4 kB / 0.6874 GB, free: 13.42 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1744, allocations: 0 / 0.6874 GB, free: 13.42 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.1744, allocations: 2 kB / 0.6874 GB, free: 13.42 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002836/0.1747, allocations: 323.6 kB / 0.6877 GB, free: 13.05 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1748, allocations: 15.95 kB / 0.6877 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.57e-05/0.1748, allocations: 0.9375 kB / 0.6877 GB, free: 13.04 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.1749, allocations: 169 kB / 0.6879 GB, free: 12.84 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.959e-06/0.175, allocations: 4.875 kB / 0.6879 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.395e-06/0.175, allocations: 4.312 kB / 0.6879 GB, free: 12.83 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.61e-05/0.175, allocations: 39.83 kB / 0.6879 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.1751, allocations: 0 / 0.6879 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1751, allocations: 0 / 0.6879 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1751, allocations: 0 / 0.6879 GB, free: 12.79 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.73e-05/0.1751, allocations: 5.609 kB / 0.6879 GB, free: 12.78 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003853/0.1755, allocations: 464.6 kB / 0.6884 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.158e-05/0.1756, allocations: 170.8 kB / 0.6885 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3e-05/0.1756, allocations: 81.84 kB / 0.6886 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1756, allocations: 75.28 kB / 0.6887 GB, free: 11.93 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.483e-05/0.1757, allocations: 111.5 kB / 0.6888 GB, free: 11.81 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.1757, allocations: 0 / 0.6888 GB, free: 11.81 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.431e-05/0.1758, allocations: 29.7 kB / 0.6888 GB, free: 11.77 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.1758, allocations: 133.8 kB / 0.6889 GB, free: 11.63 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.694e-05/0.1759, allocations: 101.8 kB / 0.689 GB, free: 11.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.1759, allocations: 25.7 kB / 0.6891 GB, free: 11.49 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.176, allocations: 88.14 kB / 0.6892 GB, free: 11.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-06/0.176, allocations: 0 / 0.6892 GB, free: 11.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.176, allocations: 9.719 kB / 0.6892 GB, free: 11.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.455e-05/0.1761, allocations: 316.1 kB / 0.6895 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.374e-06/0.1761, allocations: 0 / 0.6895 GB, free: 11.07 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.654e-06/0.1761, allocations: 7.984 kB / 0.6895 GB, free: 11.06 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.1762, allocations: 5.516 kB / 0.6895 GB, free: 11.05 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1762, allocations: 0.875 kB / 0.6895 GB, free: 11.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.122e-05/0.1763, allocations: 42.36 kB / 0.6895 GB, free: 11.01 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1763, allocations: 4 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.1763, allocations: 0.625 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.1763, allocations: 0 / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.488e-05/0.1763, allocations: 1.625 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1763, allocations: 3.984 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.301e-05/0.1764, allocations: 4 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.1764, allocations: 0 / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 8.785e-05/0.1765, allocations: 194.5 kB / 0.6897 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.503e-05/0.1765, allocations: 101 kB / 0.6898 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.1766, allocations: 112 kB / 0.6899 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.303e-05/0.1766, allocations: 176.3 kB / 0.6901 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.999e-05/0.1767, allocations: 188.2 kB / 0.6903 GB, free: 10.2 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.576e-05/0.1768, allocations: 192.2 kB / 0.6905 GB, free: 10.01 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001958/0.177, allocations: 401.1 kB / 0.6908 GB, free: 9.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.302e-05/0.177, allocations: 104.9 kB / 0.6909 GB, free: 9.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.1771, allocations: 109 kB / 0.691 GB, free: 9.336 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.741e-05/0.1771, allocations: 180.3 kB / 0.6912 GB, free: 9.152 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.93e-05/0.1772, allocations: 180.2 kB / 0.6914 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.253e-05/0.1772, allocations: 184.3 kB / 0.6916 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.516e-05/0.1773, allocations: 184.2 kB / 0.6917 GB, free: 8.594 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001181/0.1774, allocations: 307.7 kB / 0.692 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.051e-05/0.1775, allocations: 182.1 kB / 0.6922 GB, free: 8.066 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.484e-05/0.1776, allocations: 184.4 kB / 0.6924 GB, free: 7.879 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.116e-05/0.1776, allocations: 104.9 kB / 0.6925 GB, free: 7.77 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.1777, allocations: 188.2 kB / 0.6927 GB, free: 7.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.58e-05/0.1777, allocations: 108.9 kB / 0.6928 GB, free: 7.465 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.555e-05/0.1778, allocations: 79.28 kB / 0.6928 GB, free: 7.387 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1778, allocations: 0 / 0.6928 GB, free: 7.387 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.178, allocations: 27.92 kB / 0.6929 GB, free: 7.359 MB / 494.1 MB 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 (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.0003536/0.1784, allocations: 234.1 kB / 0.6931 GB, free: 7.129 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.246e-05/0.1785, allocations: 4 kB / 0.6931 GB, free: 7.125 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1785, allocations: 0 / 0.6931 GB, free: 7.125 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.1785, allocations: 0 / 0.6931 GB, free: 7.125 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.1789, allocations: 0.5224 MB / 0.6936 GB, free: 6.598 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003587/0.1792, allocations: 227.5 kB / 0.6938 GB, free: 6.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002088/0.1794, allocations: 0.6692 MB / 0.6945 GB, free: 5.645 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.748e-05/0.1795, allocations: 11.42 kB / 0.6945 GB, free: 5.633 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1795, allocations: 4 kB / 0.6945 GB, free: 5.629 MB / 494.1 MB Notification: Performance of Templates: time 0.002165/0.1816, allocations: 0.8601 MB / 0.6953 GB, free: 4.777 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o] Error 1