Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0009513/0.0009515, allocations: 102.7 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.001628/0.001629, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.54/1.54, 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/IDEAS 3.0.0/package.mo): time 0.7561/0.7561, allocations: 132.3 MB / 424 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003496, allocations: 8 kB / 0.504 GB, free: 4.23 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5231/0.5235, allocations: 81.58 MB / 0.5837 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.000786/0.5243, allocations: 283.7 kB / 0.584 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.5255, allocations: 0.9732 MB / 0.5849 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.5256, allocations: 1.031 kB / 0.5849 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.048e-05/0.5256, allocations: 0.9688 kB / 0.5849 GB, free: 3.102 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006871/0.5263, allocations: 78.89 kB / 0.585 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.927e-05/0.5263, allocations: 8.453 kB / 0.585 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.025e-05/0.5264, allocations: 6.344 kB / 0.585 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.223e-05/0.5264, allocations: 6.531 kB / 0.585 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.486e-05/0.5265, allocations: 9.984 kB / 0.585 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002497/0.5267, allocations: 31.7 kB / 0.5851 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.5267, allocations: 0 / 0.5851 GB, free: 3.035 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.5269, allocations: 62.47 kB / 0.5851 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.145e-06/0.5269, allocations: 0.6094 kB / 0.5851 GB, free: 3.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.775e-05/0.527, allocations: 26.58 kB / 0.5852 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001292/0.5271, allocations: 44.61 kB / 0.5852 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.5271, allocations: 0.75 kB / 0.5852 GB, free: 2.977 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5271, allocations: 4.969 kB / 0.5852 GB, free: 2.973 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.5271, allocations: 0 / 0.5852 GB, free: 2.973 MB / 430.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.0002676/0.5274, allocations: 331.4 kB / 0.5855 GB, free: 2.613 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5274, allocations: 9.219 kB / 0.5855 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.884e-05/0.5275, allocations: 4.562 kB / 0.5855 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.5276, allocations: 171.5 kB / 0.5857 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.889e-06/0.5276, allocations: 0 / 0.5857 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.5276, allocations: 1.125 kB / 0.5857 GB, free: 2.406 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.783e-05/0.5277, allocations: 32.92 kB / 0.5857 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.5277, allocations: 0 / 0.5857 GB, free: 2.371 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.5277, allocations: 3.938 kB / 0.5857 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.5277, allocations: 1.031 kB / 0.5857 GB, free: 2.367 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.034e-05/0.5278, allocations: 5.656 kB / 0.5857 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003293/0.5281, allocations: 465.1 kB / 0.5862 GB, free: 1.852 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.221e-05/0.5282, allocations: 178.5 kB / 0.5864 GB, free: 1.668 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.793e-05/0.5282, allocations: 80.84 kB / 0.5864 GB, free: 1.586 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.303e-05/0.5282, allocations: 75.28 kB / 0.5865 GB, free: 1.512 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/0.5282, allocations: 107.1 kB / 0.5866 GB, free: 1.398 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.5282, allocations: 0 / 0.5866 GB, free: 1.398 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.424e-05/0.5283, allocations: 32.31 kB / 0.5866 GB, free: 1.363 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/0.5284, allocations: 134.6 kB / 0.5868 GB, free: 1.219 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.31e-05/0.5284, allocations: 106.1 kB / 0.5869 GB, free: 1.113 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.5285, allocations: 25.7 kB / 0.5869 GB, free: 1.082 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.516e-05/0.5285, allocations: 81.52 kB / 0.587 GB, free: 1 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-06/0.5285, allocations: 1.312 kB / 0.587 GB, free: 1 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-06/0.5285, allocations: 0 / 0.587 GB, free: 1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.5286, allocations: 312.3 kB / 0.5873 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.416e-06/0.5286, allocations: 0.7812 kB / 0.5873 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.604e-06/0.5286, allocations: 9.5 kB / 0.5873 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.876e-05/0.5286, allocations: 1.656 kB / 0.5873 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5286, allocations: 0.5625 kB / 0.5873 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.281e-05/0.5287, allocations: 32.92 kB / 0.5873 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.5288, allocations: 6.5 kB / 0.5873 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.5288, allocations: 3.938 kB / 0.5873 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.5288, allocations: 0 / 0.5873 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.826e-05/0.5288, allocations: 5.578 kB / 0.5873 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.5288, allocations: 0 / 0.5873 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.492e-05/0.5288, allocations: 4.984 kB / 0.5873 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.162e-06/0.5288, allocations: 4.938 kB / 0.5873 GB, free: 0.6328 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.459e-05/0.5289, allocations: 187 kB / 0.5875 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.193e-05/0.529, allocations: 106.6 kB / 0.5876 GB, free: 340 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.094e-05/0.529, allocations: 114.6 kB / 0.5877 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.759e-05/0.529, allocations: 178.1 kB / 0.5879 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.209e-05/0.5291, allocations: 182.5 kB / 0.5881 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.498e-05/0.5292, allocations: 185.9 kB / 0.5882 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002367/0.5294, allocations: 409.4 kB / 0.5886 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.818e-05/0.5295, allocations: 110.4 kB / 0.5887 GB, free: 15.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.088e-05/0.5295, allocations: 102.6 kB / 0.5888 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.18e-05/0.5296, allocations: 178.1 kB / 0.589 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.5e-05/0.5297, allocations: 186.1 kB / 0.5892 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.113e-05/0.5297, allocations: 178.1 kB / 0.5894 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.627e-05/0.5298, allocations: 186 kB / 0.5895 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001423/0.5299, allocations: 305.3 kB / 0.5898 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.796e-05/0.53, allocations: 193.6 kB / 0.59 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.48e-05/0.5301, allocations: 179.2 kB / 0.5902 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.704e-05/0.5302, allocations: 106.6 kB / 0.5903 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.811e-05/0.5303, allocations: 178.4 kB / 0.5905 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.418e-05/0.5303, allocations: 101.6 kB / 0.5906 GB, free: 13.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.333e-05/0.5304, allocations: 84.62 kB / 0.5906 GB, free: 13.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.284e-06/0.5304, allocations: 4 kB / 0.5906 GB, free: 13.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.5307, allocations: 23.81 kB / 0.5907 GB, free: 13.07 MB / 446.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 (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.0003787/0.531, allocations: 223.4 kB / 0.5909 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.375e-05/0.5311, allocations: 2.75 kB / 0.5909 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.5311, allocations: 5.062 kB / 0.5909 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.413e-06/0.5311, allocations: 0 / 0.5909 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000353/0.5315, allocations: 0.5288 MB / 0.5914 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003594/0.5319, allocations: 218.9 kB / 0.5916 GB, free: 12.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002279/0.5321, allocations: 0.6769 MB / 0.5923 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.324e-05/0.5321, allocations: 12.84 kB / 0.5923 GB, free: 11.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.5321, allocations: 0.8125 kB / 0.5923 GB, free: 11.43 MB / 446.1 MB Notification: Performance of Templates: time 0.002648/0.5348, allocations: 0.8423 MB / 0.5931 GB, free: 11.36 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f IDEAS_IDEAS.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunctionCalcHelperMain.o] Error 1