Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009106/0.0009105, allocations: 102.8 kB / 15.71 MB, free: 460 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.001347/0.001347, allocations: 174.5 kB / 16.58 MB, free: 6.863 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.493/1.493, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.097/1.097, allocations: 143.4 MB / 435.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004023/0.0004026, allocations: 15.98 kB / 0.5167 GB, free: 11.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2296/0.23, allocations: 83.4 MB / 0.5981 GB, free: 7.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.000874/0.2309, allocations: 304 kB / 0.5984 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.2325, allocations: 0.9839 MB / 0.5994 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.2326, allocations: 0 / 0.5994 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.591e-05/0.2326, allocations: 3.938 kB / 0.5994 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008783/0.2335, allocations: 79.84 kB / 0.5994 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.443e-05/0.2336, allocations: 12 kB / 0.5994 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.064e-05/0.2336, allocations: 3.984 kB / 0.5995 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.2337, allocations: 4 kB / 0.5995 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.133e-05/0.2337, allocations: 0 / 0.5995 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003024/0.234, allocations: 40.84 kB / 0.5995 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.234, allocations: 0 / 0.5995 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.2342, allocations: 71.92 kB / 0.5996 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.677e-06/0.2343, allocations: 0 / 0.5996 GB, free: 6.281 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.2343, allocations: 29.69 kB / 0.5996 GB, free: 6.246 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001317/0.2344, allocations: 43.95 kB / 0.5996 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2344, allocations: 0 / 0.5996 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of FrontEnd: time 5.3e-06/0.2344, allocations: 4 kB / 0.5996 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.927e-06/0.2345, allocations: 0 / 0.5996 GB, free: 6.199 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003904/0.2349, allocations: 331.6 kB / 0.6 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.2349, allocations: 12.03 kB / 0.6 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.548e-05/0.235, allocations: 3.953 kB / 0.6 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000181/0.2351, allocations: 163.1 kB / 0.6001 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.2352, allocations: 0 / 0.6001 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/0.2352, allocations: 0 / 0.6001 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.2353, allocations: 33.64 kB / 0.6002 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.2353, allocations: 3.938 kB / 0.6002 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.2353, allocations: 0 / 0.6002 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.2354, allocations: 0 / 0.6002 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.518e-05/0.2354, allocations: 8 kB / 0.6002 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.236, allocations: 468.5 kB / 0.6006 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.2361, allocations: 177.1 kB / 0.6008 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.429e-05/0.2362, allocations: 84.17 kB / 0.6009 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.2362, allocations: 79.28 kB / 0.6009 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.259e-05/0.2363, allocations: 105.8 kB / 0.601 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 3.166e-06/0.2363, allocations: 3.984 kB / 0.601 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.457e-05/0.2364, allocations: 29.64 kB / 0.6011 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.47e-05/0.2365, allocations: 130.6 kB / 0.6012 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.2366, allocations: 105.8 kB / 0.6013 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.337e-05/0.2366, allocations: 25.7 kB / 0.6013 GB, free: 4.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.2367, allocations: 88.08 kB / 0.6014 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.356e-06/0.2367, allocations: 0 / 0.6014 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.2367, allocations: 0 / 0.6014 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.2368, allocations: 310.8 kB / 0.6017 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.056e-05/0.2368, allocations: 4 kB / 0.6017 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-06/0.2368, allocations: 0 / 0.6017 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.464e-05/0.2369, allocations: 4 kB / 0.6017 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.2369, allocations: 0 / 0.6017 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000123/0.237, allocations: 41.75 kB / 0.6017 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.237, allocations: 4 kB / 0.6018 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.237, allocations: 0 / 0.6018 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.2371, allocations: 0 / 0.6018 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.192e-05/0.2371, allocations: 4 kB / 0.6018 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.2371, allocations: 7.953 kB / 0.6018 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.2371, allocations: 0 / 0.6018 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.2371, allocations: 0 / 0.6018 GB, free: 3.777 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001087/0.2372, allocations: 185.1 kB / 0.6019 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.237e-05/0.2373, allocations: 109 kB / 0.602 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.2374, allocations: 112.1 kB / 0.6022 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.102e-05/0.2375, allocations: 180.2 kB / 0.6023 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-05/0.2375, allocations: 176.3 kB / 0.6025 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.31e-05/0.2376, allocations: 188.2 kB / 0.6027 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002736/0.2379, allocations: 409.2 kB / 0.6031 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-05/0.238, allocations: 101 kB / 0.6032 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.238, allocations: 108.9 kB / 0.6033 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-05/0.2381, allocations: 176.3 kB / 0.6034 GB, free: 1.949 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.683e-05/0.2382, allocations: 184.2 kB / 0.6036 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.15e-05/0.2383, allocations: 176.3 kB / 0.6038 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.959e-05/0.2384, allocations: 184.3 kB / 0.6039 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001782/0.2385, allocations: 311.8 kB / 0.6042 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.2387, allocations: 189.9 kB / 0.6044 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.45e-05/0.2388, allocations: 180.3 kB / 0.6046 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.2388, allocations: 109 kB / 0.6047 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.2389, allocations: 184.2 kB / 0.6049 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.239, allocations: 101 kB / 0.605 GB, free: 272 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.387e-05/0.239, allocations: 79.28 kB / 0.6051 GB, free: 192 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.239, allocations: 0 / 0.6051 GB, free: 192 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002897/0.2393, allocations: 24 kB / 0.6051 GB, free: 168 kB / 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3447/0.5841, allocations: 226.6 kB / 0.6053 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001057/0.5842, allocations: 5.562 kB / 0.6053 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.5842, allocations: 0 / 0.6053 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.125e-06/0.5842, allocations: 1.375 kB / 0.6053 GB, free: 41.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.5846, allocations: 0.5213 MB / 0.6058 GB, free: 41.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003852/0.585, allocations: 224.1 kB / 0.606 GB, free: 41.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001354/0.5851, allocations: 0.6746 MB / 0.6067 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.487e-05/0.5852, allocations: 10.16 kB / 0.6067 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.5852, allocations: 0 / 0.6067 GB, free: 40.35 MB / 0.4981 GB Notification: Performance of Templates: time 0.002444/0.5876, allocations: 0.8914 MB / 0.6076 GB, free: 40.31 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o] Error 1