Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.001061, 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.00139/0.00139, allocations: 173.5 kB / 16.58 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.048/2.048, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005468/0.0005468, allocations: 21.75 kB / 0.6744 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.321, allocations: 116.3 MB / 0.788 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002322/0.3234, allocations: 1.118 MB / 0.7891 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005549/0.329, allocations: 2.868 MB / 0.7919 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.669e-05/0.3291, allocations: 0 / 0.7919 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001338/0.3292, allocations: 7.922 kB / 0.7919 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.3295, allocations: 27.84 kB / 0.7919 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002317/0.3318, allocations: 0.7529 MB / 0.7926 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.3319, allocations: 91.72 kB / 0.7927 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.677e-05/0.332, allocations: 8 kB / 0.7927 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.818e-05/0.3321, allocations: 39.84 kB / 0.7928 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003831/0.3325, allocations: 239.7 kB / 0.793 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.3326, allocations: 12 kB / 0.793 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002132/0.3347, allocations: 1.303 MB / 0.7943 GB, free: 5.414 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0009121/0.3357, allocations: 0.7054 MB / 0.795 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.336, allocations: 181 kB / 0.7951 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001609/0.3376, allocations: 1.185 MB / 0.7963 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.3376, allocations: 4 kB / 0.7963 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.735e-06/0.3376, allocations: 0 / 0.7963 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.3376, allocations: 0 / 0.7963 GB, free: 3.332 MB / 0.6075 GB 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.007808/0.3454, allocations: 1.601 MB / 0.7979 GB, free: 1.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.3455, allocations: 11.97 kB / 0.7979 GB, free: 1.66 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004053/0.3459, allocations: 142 kB / 0.798 GB, free: 1.52 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009102/0.3468, allocations: 0.4933 MB / 0.7985 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.3469, allocations: 8 kB / 0.7985 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.703e-05/0.3469, allocations: 4 kB / 0.7985 GB, free: 0.9453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005289/0.3474, allocations: 387.2 kB / 0.7989 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.3474, allocations: 0 / 0.7989 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.3475, allocations: 0 / 0.7989 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3475, allocations: 4 kB / 0.7989 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005445/0.348, allocations: 435.7 kB / 0.7993 GB, free: 128 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008026/0.3488, allocations: 0.8112 MB / 0.8001 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000566/0.3494, allocations: 0.5594 MB / 0.8006 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004404/0.3499, allocations: 337.7 kB / 0.801 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001468/0.3513, allocations: 1.044 MB / 0.802 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004311/0.3518, allocations: 404.8 kB / 0.8024 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.252e-06/0.3518, allocations: 0 / 0.8024 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.00174/0.3535, allocations: 1.343 MB / 0.8037 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.43e-05/0.3536, allocations: 81.05 kB / 0.8037 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.3558, allocations: 1.843 MB / 0.8055 GB, free: 9.316 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.3558, allocations: 33.69 kB / 0.8056 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.3562, allocations: 477.2 kB / 0.806 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.3563, allocations: 23.66 kB / 0.8061 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.17e-05/0.3563, allocations: 0 / 0.8061 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.3565, allocations: 414.9 kB / 0.8065 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001433/0.358, allocations: 1.51 MB / 0.8079 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.3596, allocations: 1.646 MB / 0.8095 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001885/0.3615, allocations: 2.047 MB / 0.8115 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3615, allocations: 0 / 0.8115 GB, free: 3.141 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005001/0.3665, allocations: 4.296 MB / 0.8157 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.3666, allocations: 4 kB / 0.8157 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.953e-05/0.3666, allocations: 4.031 kB / 0.8157 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/0.3666, allocations: 4 kB / 0.8157 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.3668, allocations: 15.98 kB / 0.8158 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.3668, allocations: 0 / 0.8158 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.3675, allocations: 236.3 kB / 0.816 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.544e-05/0.3675, allocations: 19.98 kB / 0.816 GB, free: 14.53 MB / 0.6387 GB 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.0005705/0.3681, allocations: 373.5 kB / 0.8164 GB, free: 14.15 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/0.3682, allocations: 122 kB / 0.8165 GB, free: 14.03 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003549/0.3686, allocations: 145.1 kB / 0.8166 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.3686, allocations: 4 kB / 0.8166 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.271e-06/0.3686, allocations: 0 / 0.8166 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.3686, allocations: 3.984 kB / 0.8166 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007722/0.3694, allocations: 0.6872 MB / 0.8173 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3694, allocations: 0 / 0.8173 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.513e-05/0.3695, allocations: 11.98 kB / 0.8173 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3695, allocations: 8.031 kB / 0.8173 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.3695, allocations: 0 / 0.8173 GB, free: 13.11 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3696, allocations: 3.938 kB / 0.8173 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.3696, allocations: 4 kB / 0.8173 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.3706, allocations: 1.047 MB / 0.8183 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/0.3708, allocations: 203.1 kB / 0.8185 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.58e-05/0.3709, allocations: 0 / 0.8185 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.3711, allocations: 15.92 kB / 0.8185 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.3711, allocations: 4 kB / 0.8186 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.805e-05/0.3712, allocations: 15.97 kB / 0.8186 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001361/0.3726, allocations: 1.097 MB / 0.8196 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3726, allocations: 0 / 0.8196 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001438/0.374, allocations: 435.9 kB / 0.8201 GB, free: 10.22 MB / 0.6387 GB 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.001256/0.3753, allocations: 486.5 kB / 0.8205 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002751/0.378, allocations: 2.64 MB / 0.8231 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.3781, allocations: 8.062 kB / 0.8231 GB, free: 7.086 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003498/0.3784, allocations: 335.8 kB / 0.8234 GB, free: 6.758 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.3789, allocations: 50.53 kB / 0.8235 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003739/0.3826, allocations: 2.793 MB / 0.8262 GB, free: 3.867 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009627/0.3836, allocations: 1.149 MB / 0.8273 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.3837, allocations: 23.42 kB / 0.8273 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of SimCode: time 1.132e-06/0.3837, allocations: 0 / 0.8273 GB, free: 2.672 MB / 0.6387 GB Notification: Performance of Templates: time 0.02867/0.4124, allocations: 15.02 MB / 0.842 GB, free: 3.633 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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 OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.o] Error 1