Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001041/0.001041, allocations: 99.59 kB / 15.71 MB, free: 452 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.001256/0.001256, allocations: 175.6 kB / 16.58 MB, free: 6.422 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.418/1.418, allocations: 223.2 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7674/0.7674, allocations: 132.3 MB / 424 MB, free: 2.117 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003535/0.0003539, allocations: 12 kB / 0.504 GB, free: 4.246 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5443/0.5447, allocations: 81.58 MB / 0.5837 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001522/0.5463, allocations: 1.111 MB / 0.5848 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004536/0.5509, allocations: 2.814 MB / 0.5875 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.651e-05/0.5509, allocations: 0.9688 kB / 0.5875 GB, free: 1.301 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.551, allocations: 7.516 kB / 0.5876 GB, free: 1.297 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.5513, allocations: 32.86 kB / 0.5876 GB, free: 1.277 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.5539, allocations: 0.7566 MB / 0.5883 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001881/0.5541, allocations: 93.72 kB / 0.5884 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.109e-05/0.5542, allocations: 4.312 kB / 0.5884 GB, free: 0.9414 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.654e-05/0.5543, allocations: 46.02 kB / 0.5885 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.5546, allocations: 166.2 kB / 0.5886 GB, free: 0.8906 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.487e-05/0.5547, allocations: 17.69 kB / 0.5886 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002739/0.5574, allocations: 1.294 MB / 0.5899 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003147/0.5578, allocations: 260 kB / 0.5902 GB, free: 500 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001161/0.5579, allocations: 111.7 kB / 0.5903 GB, free: 416 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001737/0.5596, allocations: 0.9713 MB / 0.5912 GB, free: 176 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.5597, allocations: 4 kB / 0.5912 GB, free: 172 kB / 430.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.5597, allocations: 0.9375 kB / 0.5912 GB, free: 172 kB / 430.1 MB Notification: Performance of Transformations before backend: time 8.236e-06/0.5597, allocations: 0 / 0.5912 GB, free: 172 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0073/0.567, allocations: 1.172 MB / 0.5924 GB, free: 15.3 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.567, allocations: 10.06 kB / 0.5924 GB, free: 15.3 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003597/0.5674, allocations: 84.84 kB / 0.5924 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.5679, allocations: 359.5 kB / 0.5928 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.268e-05/0.568, allocations: 3 kB / 0.5928 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/0.568, allocations: 13.03 kB / 0.5928 GB, free: 14.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006232/0.5686, allocations: 388.6 kB / 0.5932 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.5687, allocations: 0 / 0.5932 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/0.5687, allocations: 1.969 kB / 0.5932 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/0.5687, allocations: 0.5625 kB / 0.5932 GB, free: 14.89 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006264/0.5693, allocations: 436.6 kB / 0.5936 GB, free: 14.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008272/0.5702, allocations: 0.633 MB / 0.5942 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006887/0.5709, allocations: 0.5623 MB / 0.5948 GB, free: 14.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/0.5713, allocations: 341.6 kB / 0.5951 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/0.5724, allocations: 1.039 MB / 0.5961 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005262/0.573, allocations: 409.5 kB / 0.5965 GB, free: 13.18 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.213e-06/0.573, allocations: 0 / 0.5965 GB, free: 13.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001593/0.5746, allocations: 1.289 MB / 0.5977 GB, free: 12.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.5746, allocations: 83.53 kB / 0.5978 GB, free: 12.79 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.5761, allocations: 1.195 MB / 0.599 GB, free: 12.09 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.5762, allocations: 27.02 kB / 0.599 GB, free: 12.05 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002028/0.5764, allocations: 261.6 kB / 0.5993 GB, free: 11.82 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.5764, allocations: 27.45 kB / 0.5993 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.57e-05/0.5765, allocations: 4 kB / 0.5993 GB, free: 11.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.5767, allocations: 419.1 kB / 0.5997 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.5782, allocations: 1.362 MB / 0.601 GB, free: 10.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/0.5798, allocations: 1.493 MB / 0.6025 GB, free: 10.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001957/0.5817, allocations: 1.893 MB / 0.6043 GB, free: 9.109 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.656e-06/0.5817, allocations: 1.812 kB / 0.6043 GB, free: 9.109 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00486/0.5866, allocations: 3.939 MB / 0.6082 GB, free: 6.898 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.703e-05/0.5866, allocations: 10.84 kB / 0.6082 GB, free: 6.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/0.5867, allocations: 5.281 kB / 0.6082 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.5867, allocations: 2.062 kB / 0.6082 GB, free: 6.891 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.5868, allocations: 19.64 kB / 0.6082 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.5869, allocations: 0.9688 kB / 0.6082 GB, free: 6.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007185/0.5876, allocations: 230.4 kB / 0.6084 GB, free: 6.695 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.5877, allocations: 27.06 kB / 0.6085 GB, free: 6.688 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003754/0.588, allocations: 241.2 kB / 0.6087 GB, free: 6.453 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.995e-05/0.5881, allocations: 66.72 kB / 0.6088 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002704/0.5884, allocations: 78.84 kB / 0.6088 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.5884, allocations: 0 / 0.6088 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.5884, allocations: 0 / 0.6088 GB, free: 6.297 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.5884, allocations: 3.984 kB / 0.6088 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005234/0.5889, allocations: 0.4967 MB / 0.6093 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.589, allocations: 4 kB / 0.6093 GB, free: 5.746 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.254e-05/0.589, allocations: 4 kB / 0.6093 GB, free: 5.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.589, allocations: 4.031 kB / 0.6093 GB, free: 5.738 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.615e-05/0.5891, allocations: 7.984 kB / 0.6093 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5891, allocations: 0 / 0.6093 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5891, allocations: 0 / 0.6093 GB, free: 5.73 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008897/0.59, allocations: 1.001 MB / 0.6103 GB, free: 4.707 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001017/0.5901, allocations: 151.9 kB / 0.6105 GB, free: 4.539 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.5902, allocations: 3.984 kB / 0.6105 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.5903, allocations: 4 kB / 0.6105 GB, free: 4.531 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.893e-05/0.5904, allocations: 7.984 kB / 0.6105 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.5904, allocations: 11.98 kB / 0.6105 GB, free: 4.512 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007232/0.5911, allocations: 0.657 MB / 0.6111 GB, free: 3.848 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5911, allocations: 0 / 0.6111 GB, free: 3.848 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001771/0.5929, allocations: 391.9 kB / 0.6115 GB, free: 3.465 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001233/0.5942, allocations: 490.8 kB / 0.612 GB, free: 2.973 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002361/0.5965, allocations: 2.492 MB / 0.6144 GB, free: 484 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5965, allocations: 0 / 0.6144 GB, free: 484 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003235/0.5969, allocations: 343.7 kB / 0.6147 GB, free: 140 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.5972, allocations: 36.45 kB / 0.6148 GB, free: 104 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.5995, allocations: 1.873 MB / 0.6166 GB, free: 14.19 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005055/0.6, allocations: 0.9643 MB / 0.6175 GB, free: 13.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001038/0.6002, allocations: 27.42 kB / 0.6176 GB, free: 13.18 MB / 462.1 MB Notification: Performance of SimCode: time 3.1e-07/0.6002, allocations: 0 / 0.6176 GB, free: 13.18 MB / 462.1 MB Notification: Performance of Templates: time 0.01684/0.617, allocations: 10.55 MB / 0.6279 GB, free: 2.629 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o] Error 1