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.0007313/0.0007311, allocations: 98.88 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.0007901/0.0007901, allocations: 183.7 kB / 16.92 MB, free: 6.77 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7585/0.7585, allocations: 132.3 MB / 424.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003652/0.0003652, allocations: 16 kB / 0.5047 GB, free: 3.867 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4883, allocations: 81.58 MB / 0.5843 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.0008135/0.4892, allocations: 290.6 kB / 0.5846 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.4905, allocations: 0.9982 MB / 0.5856 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.4906, allocations: 0 / 0.5856 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.298e-05/0.4906, allocations: 0 / 0.5856 GB, free: 3.133 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006969/0.4913, allocations: 77.5 kB / 0.5857 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.144e-05/0.4914, allocations: 4.922 kB / 0.5857 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.865e-05/0.4914, allocations: 7.578 kB / 0.5857 GB, free: 3.094 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.519e-05/0.4915, allocations: 9.547 kB / 0.5857 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.372e-05/0.4915, allocations: 3 kB / 0.5857 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002702/0.4918, allocations: 31.19 kB / 0.5857 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.4918, allocations: 4 kB / 0.5857 GB, free: 3.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.492, allocations: 82.3 kB / 0.5858 GB, free: 3.047 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.492, allocations: 5.516 kB / 0.5858 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.984e-05/0.492, allocations: 31.25 kB / 0.5858 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00014/0.4922, allocations: 54.12 kB / 0.5859 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4922, allocations: 0 / 0.5859 GB, free: 2.992 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4922, allocations: 1.031 kB / 0.5859 GB, free: 2.992 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.4922, allocations: 0 / 0.5859 GB, free: 2.992 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.0002755/0.4925, allocations: 323 kB / 0.5862 GB, free: 2.641 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.4925, allocations: 13.94 kB / 0.5862 GB, free: 2.637 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.4926, allocations: 9.5 kB / 0.5862 GB, free: 2.629 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.538e-05/0.4927, allocations: 163.4 kB / 0.5864 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.298e-05/0.4927, allocations: 2.062 kB / 0.5864 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.4927, allocations: 4.719 kB / 0.5864 GB, free: 2.43 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.582e-05/0.4928, allocations: 32.59 kB / 0.5864 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.4928, allocations: 3.938 kB / 0.5864 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.4928, allocations: 0 / 0.5864 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.4928, allocations: 0.6875 kB / 0.5864 GB, free: 2.391 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.053e-05/0.4929, allocations: 9.969 kB / 0.5864 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000334/0.4932, allocations: 464.5 kB / 0.5869 GB, free: 1.871 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.426e-05/0.4933, allocations: 166.6 kB / 0.587 GB, free: 1.699 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.648e-05/0.4933, allocations: 80.8 kB / 0.5871 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.4933, allocations: 75.84 kB / 0.5872 GB, free: 1.543 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.631e-05/0.4933, allocations: 115.2 kB / 0.5873 GB, free: 1.422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.4933, allocations: 1.219 kB / 0.5873 GB, free: 1.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=0): time 6.357e-05/0.4934, allocations: 31.31 kB / 0.5873 GB, free: 1.387 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.4935, allocations: 126.7 kB / 0.5874 GB, free: 1.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.4935, allocations: 97.56 kB / 0.5875 GB, free: 1.152 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.351e-06/0.4936, allocations: 27.11 kB / 0.5875 GB, free: 1.121 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.593e-05/0.4936, allocations: 88.94 kB / 0.5876 GB, free: 1.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-06/0.4936, allocations: 3.938 kB / 0.5876 GB, free: 1.027 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.873e-05/0.4936, allocations: 10.5 kB / 0.5876 GB, free: 1.012 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.304e-05/0.4937, allocations: 316.7 kB / 0.5879 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.597e-06/0.4937, allocations: 0.5 kB / 0.5879 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.4937, allocations: 2.156 kB / 0.588 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.279e-05/0.4937, allocations: 10.83 kB / 0.588 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4937, allocations: 0 / 0.588 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001002/0.4939, allocations: 41.27 kB / 0.588 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.4939, allocations: 6.25 kB / 0.588 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4939, allocations: 3.984 kB / 0.588 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.4939, allocations: 0.9688 kB / 0.588 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.467e-05/0.4939, allocations: 0.5625 kB / 0.588 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.4939, allocations: 1.188 kB / 0.588 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.341e-05/0.4939, allocations: 0.7031 kB / 0.588 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.494, allocations: 1.031 kB / 0.588 GB, free: 0.6406 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.152e-05/0.494, allocations: 194.6 kB / 0.5882 GB, free: 452 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.907e-05/0.4941, allocations: 111.9 kB / 0.5883 GB, free: 336 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.794e-05/0.4941, allocations: 106.2 kB / 0.5884 GB, free: 224 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/0.4941, allocations: 181.8 kB / 0.5886 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.11e-05/0.4942, allocations: 185.9 kB / 0.5888 GB, free: 15.85 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.971e-05/0.4943, allocations: 178.3 kB / 0.5889 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002451/0.4945, allocations: 409.9 kB / 0.5893 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.749e-05/0.4946, allocations: 101.8 kB / 0.5894 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.2e-05/0.4946, allocations: 110.9 kB / 0.5895 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.799e-05/0.4947, allocations: 178.6 kB / 0.5897 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.886e-05/0.4948, allocations: 182.3 kB / 0.5899 GB, free: 14.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-05/0.4949, allocations: 184.9 kB / 0.59 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.001e-05/0.495, allocations: 186.2 kB / 0.5902 GB, free: 14.26 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001514/0.4951, allocations: 308.8 kB / 0.5905 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.352e-05/0.4952, allocations: 182.5 kB / 0.5907 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.271e-05/0.4953, allocations: 183.1 kB / 0.5909 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.4954, allocations: 105.6 kB / 0.591 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.4955, allocations: 189.7 kB / 0.5911 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.269e-05/0.4956, allocations: 103.1 kB / 0.5912 GB, free: 13.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.279e-05/0.4956, allocations: 80.14 kB / 0.5913 GB, free: 13.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.874e-06/0.4956, allocations: 0 / 0.5913 GB, free: 13.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.4959, allocations: 27.94 kB / 0.5913 GB, free: 13.06 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 (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.0004264/0.4963, allocations: 234.8 kB / 0.5916 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.401e-05/0.4964, allocations: 2.547 kB / 0.5916 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4964, allocations: 0 / 0.5916 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.075e-06/0.4964, allocations: 4.969 kB / 0.5916 GB, free: 12.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000406/0.4968, allocations: 0.5252 MB / 0.5921 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.4972, allocations: 219.3 kB / 0.5923 GB, free: 12.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.4975, allocations: 0.6715 MB / 0.593 GB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.4976, allocations: 9.688 kB / 0.593 GB, free: 11.43 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4976, allocations: 0 / 0.593 GB, free: 11.43 MB / 446.1 MB Notification: Performance of Templates: time 0.002875/0.5005, allocations: 0.8455 MB / 0.5938 GB, free: 11.35 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++ -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/IDEAS 3.0.0/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/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