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.00168/0.001681, allocations: 104.1 kB / 15.88 MB, free: 4 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.002778/0.002778, allocations: 196 kB / 16.79 MB, free: 6.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.573/2.573, allocations: 222.9 MB / 240.5 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003736/0.003736, allocations: 286.5 kB / 290.9 MB, free: 2.234 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.897/1.897, allocations: 169.2 MB / 0.4983 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003567/0.003568, allocations: 90.67 kB / 0.5952 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3057, allocations: 86.99 MB / 0.6801 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002819/0.3086, allocations: 0.6202 MB / 0.6807 GB, free: 0.5547 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002194/0.3108, allocations: 1.003 MB / 0.6817 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.716e-05/0.3108, allocations: 0 / 0.6817 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.089e-05/0.3109, allocations: 1.938 kB / 0.6817 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001041/0.3119, allocations: 87.84 kB / 0.6818 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.503e-05/0.312, allocations: 11.92 kB / 0.6818 GB, free: 15.44 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.775e-05/0.3121, allocations: 8 kB / 0.6818 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.3121, allocations: 4 kB / 0.6818 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.3122, allocations: 4.531 kB / 0.6818 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.3125, allocations: 36.89 kB / 0.6819 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.3126, allocations: 4.875 kB / 0.6819 GB, free: 15.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002772/0.3128, allocations: 87.91 kB / 0.6819 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.211e-05/0.3129, allocations: 0 / 0.6819 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.861e-05/0.3129, allocations: 0.625 kB / 0.6819 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001924/0.3131, allocations: 51.88 kB / 0.682 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3131, allocations: 1.406 kB / 0.682 GB, free: 15.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.115e-05/0.3132, allocations: 0 / 0.682 GB, free: 15.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.222e-06/0.3132, allocations: 3.938 kB / 0.682 GB, free: 15.24 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.0005085/0.3137, allocations: 336.2 kB / 0.6823 GB, free: 14.87 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.3138, allocations: 16.03 kB / 0.6823 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.674e-05/0.3138, allocations: 4.875 kB / 0.6823 GB, free: 14.85 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001924/0.314, allocations: 160.4 kB / 0.6825 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.541e-05/0.3141, allocations: 4.375 kB / 0.6825 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.3141, allocations: 384 / 0.6825 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.3142, allocations: 29.83 kB / 0.6825 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3142, allocations: 0 / 0.6825 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.3143, allocations: 0 / 0.6825 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.3143, allocations: 0 / 0.6825 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.044e-05/0.3143, allocations: 11.98 kB / 0.6825 GB, free: 14.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.315, allocations: 460.6 kB / 0.683 GB, free: 14.08 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.3151, allocations: 177.1 kB / 0.6831 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.574e-05/0.3152, allocations: 84.59 kB / 0.6832 GB, free: 13.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.3152, allocations: 75.28 kB / 0.6833 GB, free: 13.74 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.859e-05/0.3153, allocations: 109.8 kB / 0.6834 GB, free: 13.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.583e-06/0.3153, allocations: 0 / 0.6834 GB, free: 13.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001232/0.3154, allocations: 37.55 kB / 0.6834 GB, free: 13.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.3155, allocations: 126.7 kB / 0.6836 GB, free: 13.44 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.3157, allocations: 101.8 kB / 0.6837 GB, free: 13.33 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.142e-05/0.3157, allocations: 25.7 kB / 0.6837 GB, free: 13.3 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.3158, allocations: 84.14 kB / 0.6838 GB, free: 13.21 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.706e-06/0.3158, allocations: 0 / 0.6838 GB, free: 13.21 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.772e-05/0.3159, allocations: 13.72 kB / 0.6838 GB, free: 13.2 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.316, allocations: 322.8 kB / 0.6841 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.542e-05/0.3161, allocations: 0 / 0.6841 GB, free: 12.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.302e-05/0.3161, allocations: 4 kB / 0.6841 GB, free: 12.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.95e-05/0.3161, allocations: 4.859 kB / 0.6841 GB, free: 12.86 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.3162, allocations: 0 / 0.6841 GB, free: 12.86 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001567/0.3163, allocations: 41.7 kB / 0.6841 GB, free: 12.81 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.3164, allocations: 4 kB / 0.6841 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.3164, allocations: 3.938 kB / 0.6841 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.3164, allocations: 0 / 0.6841 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.573e-05/0.3164, allocations: 0 / 0.6841 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.3165, allocations: 4 kB / 0.6841 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.688e-05/0.3165, allocations: 3.984 kB / 0.6841 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3165, allocations: 0 / 0.6841 GB, free: 12.8 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 0.0001551/0.3167, allocations: 194.4 kB / 0.6843 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.773e-05/0.3168, allocations: 105.2 kB / 0.6844 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.3169, allocations: 112 kB / 0.6845 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.864e-05/0.317, allocations: 180.3 kB / 0.6847 GB, free: 12.19 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.402e-05/0.3171, allocations: 184.2 kB / 0.6849 GB, free: 12 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-05/0.3172, allocations: 180.3 kB / 0.6851 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003546/0.3176, allocations: 409.2 kB / 0.6854 GB, free: 11.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.769e-05/0.3177, allocations: 108.9 kB / 0.6856 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.797e-05/0.3177, allocations: 109 kB / 0.6857 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.776e-05/0.3178, allocations: 180.2 kB / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.23e-05/0.3179, allocations: 184.3 kB / 0.686 GB, free: 10.76 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.992e-05/0.318, allocations: 180.2 kB / 0.6862 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.646e-05/0.3182, allocations: 192.2 kB / 0.6864 GB, free: 10.38 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/0.3184, allocations: 307.7 kB / 0.6867 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.3185, allocations: 178.1 kB / 0.6868 GB, free: 9.859 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.3186, allocations: 180.2 kB / 0.687 GB, free: 9.676 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.3188, allocations: 108.9 kB / 0.6871 GB, free: 9.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.876e-05/0.3189, allocations: 180.3 kB / 0.6873 GB, free: 9.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.631e-05/0.319, allocations: 108.9 kB / 0.6874 GB, free: 9.266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.338e-05/0.3191, allocations: 83.28 kB / 0.6875 GB, free: 9.184 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3191, allocations: 0 / 0.6875 GB, free: 9.184 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005232/0.3196, allocations: 27.92 kB / 0.6875 GB, free: 9.156 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.0006177/0.3202, allocations: 221.8 kB / 0.6877 GB, free: 8.938 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.794e-05/0.3203, allocations: 4 kB / 0.6877 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3204, allocations: 0 / 0.6877 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.252e-06/0.3204, allocations: 0 / 0.6877 GB, free: 8.934 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.3211, allocations: 0.5366 MB / 0.6882 GB, free: 8.395 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005893/0.3217, allocations: 223.5 kB / 0.6884 GB, free: 8.141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003885/0.3221, allocations: 0.6692 MB / 0.6891 GB, free: 7.445 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.067e-05/0.3221, allocations: 15.42 kB / 0.6891 GB, free: 7.434 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3221, allocations: 0 / 0.6891 GB, free: 7.434 MB / 494.1 MB Notification: Performance of Templates: time 0.004026/0.3262, allocations: 0.8663 MB / 0.6899 GB, free: 6.574 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