Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_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="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_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.0009485/0.0009485, allocations: 103 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.00125/0.00125, allocations: 174.6 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.492/1.492, allocations: 223.3 MB / 240.6 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.842/2.842, allocations: 436.7 MB / 0.7113 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005155/0.0005155, allocations: 12 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8688/0.8693, allocations: 153.7 MB / 1.022 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001574/0.8709, allocations: 1.137 MB / 1.023 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006057/0.877, allocations: 3.919 MB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.071e-05/0.8771, allocations: 0 / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.8772, allocations: 19.86 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.8775, allocations: 19.91 kB / 1.027 GB, free: 12 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom‘ contains a call to impure function ‘Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState‘. Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.8808, allocations: 1.142 MB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.881, allocations: 103.7 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.614e-05/0.881, allocations: 7.984 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.072e-05/0.8811, allocations: 47.77 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003045/0.8814, allocations: 243.7 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.8815, allocations: 16 kB / 1.028 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003117/0.8846, allocations: 1.946 MB / 1.03 GB, free: 8.492 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000704/0.8853, allocations: 0.7716 MB / 1.031 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.8855, allocations: 204.8 kB / 1.031 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002119/0.8876, allocations: 1.678 MB / 1.033 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.8876, allocations: 0 / 1.033 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8877, allocations: 0 / 1.033 GB, free: 5.832 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.8877, allocations: 0 / 1.033 GB, free: 5.832 MB / 0.7794 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.007944/0.8956, allocations: 1.871 MB / 1.035 GB, free: 3.902 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.8957, allocations: 11.98 kB / 1.035 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004502/0.8961, allocations: 169.6 kB / 1.035 GB, free: 3.723 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006522/0.8968, allocations: 0.53 MB / 1.035 GB, free: 3.129 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/0.8968, allocations: 8 kB / 1.035 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.343e-05/0.8969, allocations: 4 kB / 1.035 GB, free: 3.117 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.8973, allocations: 399.1 kB / 1.036 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.085e-06/0.8974, allocations: 0 / 1.036 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.8974, allocations: 0 / 1.036 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.8974, allocations: 4 kB / 1.036 GB, free: 2.711 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004366/0.8978, allocations: 435.7 kB / 1.036 GB, free: 2.285 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008739/0.8987, allocations: 0.9298 MB / 1.037 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005544/0.8993, allocations: 0.5594 MB / 1.038 GB, free: 0.7188 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/0.8996, allocations: 337.7 kB / 1.038 GB, free: 392 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001063/0.9006, allocations: 1.044 MB / 1.039 GB, free: 15.12 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004089/0.9011, allocations: 404.8 kB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 1.433e-06/0.9011, allocations: 4 kB / 1.039 GB, free: 14.7 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.001457/0.9025, allocations: 1.358 MB / 1.041 GB, free: 13.33 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/0.9026, allocations: 85.09 kB / 1.041 GB, free: 13.23 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002257/0.9049, allocations: 2.208 MB / 1.043 GB, free: 10.99 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.9049, allocations: 33.64 kB / 1.043 GB, free: 10.95 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004015/0.9053, allocations: 0.529 MB / 1.043 GB, free: 10.42 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.476e-05/0.9054, allocations: 15.81 kB / 1.043 GB, free: 10.4 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.9054, allocations: 4 kB / 1.043 GB, free: 10.4 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002121/0.9056, allocations: 444.9 kB / 1.044 GB, free: 9.957 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001756/0.9074, allocations: 2.053 MB / 1.046 GB, free: 7.902 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001884/0.9093, allocations: 2.238 MB / 1.048 GB, free: 5.656 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002444/0.9117, allocations: 2.984 MB / 1.051 GB, free: 2.621 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.9118, allocations: 0 / 1.051 GB, free: 2.621 MB / 0.795 GB Notification: Performance of matching and sorting (n=422) (initialization): time 0.007011/0.9188, allocations: 6.204 MB / 1.057 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.9188, allocations: 9.672 kB / 1.057 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.9189, allocations: 4 kB / 1.057 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.9189, allocations: 3.938 kB / 1.057 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.919, allocations: 15.98 kB / 1.057 GB, free: 12.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.9191, allocations: 8.031 kB / 1.057 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007588/0.9198, allocations: 303 kB / 1.057 GB, free: 11.97 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.313e-05/0.9199, allocations: 27.97 kB / 1.057 GB, free: 11.94 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 116 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],labels[2],labels[3],labels[4],labels[5],labels[6],labels[7],labels[8],labels[9],labels[10],labels[11],labels[12],labels[13],labels[14],labels[15],labels[16],labels[17],labels[18],labels[19],labels[20],labels[21],labels[22],labels[23],labels[24],labels[25],labels[26],labels[27],labels[28],labels[29],labels[30],labels[31],labels[32],labels[33],labels[34],labels[35],labels[36],labels[37],labels[38],labels[39],labels[40],labels[41],labels[42],labels[43],labels[44],labels[45],labels[46],labels[47],labels[48],labels[49],labels[50],labels[51],labels[52],labels[53],labels[54],labels[55],labels[56],labels[57],labels[58],labels[59],labels[60],labels[61],labels[62],labels[63],labels[64],labels[65],labels[66],labels[67],labels[68],labels[69],labels[70],labels[71],labels[72],labels[73],labels[74],labels[75],labels[76],labels[77],labels[78],labels[79],labels[80],labels[81],labels[82],labels[83],labels[84],labels[85],labels[86],labels[87],labels[88],labels[89],labels[90],labels[91],labels[92],labels[93],labels[94],labels[95],labels[96],labels[97],labels[98],labels[99],labels[100],cluSiz[1],cluSiz[2],cluSiz[3],cluSiz[4],cluSiz[5]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0007137/0.9206, allocations: 470.7 kB / 1.058 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.9208, allocations: 137.7 kB / 1.058 GB, free: 11.34 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003461/0.9211, allocations: 156 kB / 1.058 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.9211, allocations: 0 / 1.058 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.9211, allocations: 0 / 1.058 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9212, allocations: 4 kB / 1.058 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007543/0.9219, allocations: 0.7672 MB / 1.059 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.9219, allocations: 0 / 1.059 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.451e-05/0.922, allocations: 11.98 kB / 1.059 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.922, allocations: 4.031 kB / 1.059 GB, free: 10.34 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.922, allocations: 7.938 kB / 1.059 GB, free: 10.33 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.922, allocations: 3.953 kB / 1.059 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.922, allocations: 0 / 1.059 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.9231, allocations: 1.076 MB / 1.06 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.9233, allocations: 226.8 kB / 1.06 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-05/0.9234, allocations: 0 / 1.06 GB, free: 8.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.9236, allocations: 7.984 kB / 1.06 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.9236, allocations: 11.94 kB / 1.06 GB, free: 8.961 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.749e-05/0.9237, allocations: 11.98 kB / 1.06 GB, free: 8.949 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001725/0.9254, allocations: 1.298 MB / 1.061 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9254, allocations: 3.938 kB / 1.061 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001808/0.9272, allocations: 0.6208 MB / 1.062 GB, free: 7.012 MB / 0.8106 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.001882/0.9291, allocations: 0.6803 MB / 1.063 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.003634/0.9328, allocations: 3.552 MB / 1.066 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9328, allocations: 0 / 1.066 GB, free: 2.773 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003385/0.9331, allocations: 335.8 kB / 1.066 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004075/0.9335, allocations: 59.89 kB / 1.067 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004149/0.9377, allocations: 3.154 MB / 1.07 GB, free: 15.19 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.9389, allocations: 1.239 MB / 1.071 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.939, allocations: 27.41 kB / 1.071 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of SimCode: time 7.71e-07/0.939, allocations: 0 / 1.071 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of Templates: time 0.03781/0.9768, allocations: 19.8 MB / 1.09 GB, free: 10.1 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.o] Error 1