Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008799/0.0008801, allocations: 95.06 kB / 16.33 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008183/0.0008184, allocations: 187.6 kB / 17.23 MB, free: 6.305 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.532/1.532, allocations: 223.3 MB / 241.2 MB, free: 14.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7774/0.7774, allocations: 114.3 MB / 406.7 MB, free: 8.23 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00033/0.00033, allocations: 8 kB / 494.5 MB, free: 1.379 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.449/0.4493, allocations: 77.25 MB / 0.5583 GB, free: 36.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.001465/0.4508, allocations: 1.13 MB / 0.5595 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005936/0.4568, allocations: 3.899 MB / 0.5633 GB, free: 33.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.4569, allocations: 6 kB / 0.5633 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001227/0.457, allocations: 11.45 kB / 0.5633 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002502/0.4573, allocations: 31.17 kB / 0.5633 GB, free: 33.1 MB / 446.1 MB [/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.004109/0.4614, allocations: 1.133 MB / 0.5644 GB, free: 32.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002144/0.4616, allocations: 102.2 kB / 0.5645 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.249e-05/0.4617, allocations: 3.375 kB / 0.5645 GB, free: 32.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.4618, allocations: 49.22 kB / 0.5646 GB, free: 32.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004662/0.4623, allocations: 238.4 kB / 0.5648 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.197e-05/0.4623, allocations: 13.47 kB / 0.5648 GB, free: 32.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004412/0.4667, allocations: 1.955 MB / 0.5667 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.4679, allocations: 0.7656 MB / 0.5675 GB, free: 31.91 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002481/0.4682, allocations: 204.3 kB / 0.5676 GB, free: 31.78 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004309/0.4725, allocations: 1.678 MB / 0.5693 GB, free: 31.38 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.4725, allocations: 4.5 kB / 0.5693 GB, free: 31.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.756e-06/0.4725, allocations: 4.844 kB / 0.5693 GB, free: 31.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.4726, allocations: 0 / 0.5693 GB, free: 31.37 MB / 446.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.009842/0.4824, allocations: 1.872 MB / 0.5711 GB, free: 30.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.4825, allocations: 13.33 kB / 0.5711 GB, free: 30.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005686/0.4831, allocations: 160.6 kB / 0.5713 GB, free: 29.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008188/0.4839, allocations: 0.5355 MB / 0.5718 GB, free: 29.55 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.3e-05/0.4839, allocations: 8.266 kB / 0.5718 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.667e-05/0.484, allocations: 7.984 kB / 0.5718 GB, free: 29.54 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007971/0.4848, allocations: 392.5 kB / 0.5722 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.4848, allocations: 0.7812 kB / 0.5722 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.4848, allocations: 5.844 kB / 0.5722 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.4849, allocations: 3.938 kB / 0.5722 GB, free: 29.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006855/0.4856, allocations: 438 kB / 0.5726 GB, free: 29.47 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001247/0.4868, allocations: 0.9292 MB / 0.5735 GB, free: 28.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007346/0.4876, allocations: 0.5606 MB / 0.5741 GB, free: 28.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004394/0.488, allocations: 334.9 kB / 0.5744 GB, free: 28.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.489, allocations: 1.042 MB / 0.5754 GB, free: 27.75 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005522/0.4896, allocations: 404.7 kB / 0.5758 GB, free: 27.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.974e-06/0.4896, allocations: 0.9062 kB / 0.5758 GB, free: 27.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.002038/0.4916, allocations: 1.365 MB / 0.5771 GB, free: 27.51 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.039e-05/0.4917, allocations: 80.59 kB / 0.5772 GB, free: 27.42 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003267/0.495, allocations: 2.211 MB / 0.5794 GB, free: 26.64 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.954e-05/0.4951, allocations: 35.28 kB / 0.5794 GB, free: 26.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004552/0.4955, allocations: 0.5195 MB / 0.5799 GB, free: 26.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.116e-05/0.4956, allocations: 21.83 kB / 0.5799 GB, free: 26.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.4956, allocations: 1.281 kB / 0.5799 GB, free: 26.21 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002258/0.4958, allocations: 444.2 kB / 0.5804 GB, free: 25.84 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002465/0.4983, allocations: 2.056 MB / 0.5824 GB, free: 25.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002601/0.5009, allocations: 2.237 MB / 0.5846 GB, free: 24.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002812/0.5037, allocations: 2.989 MB / 0.5875 GB, free: 22.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.5038, allocations: 0 / 0.5875 GB, free: 22.62 MB / 446.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.005252/0.509, allocations: 6.208 MB / 0.5935 GB, free: 16.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.5091, allocations: 8.953 kB / 0.5935 GB, free: 16.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.394e-05/0.5091, allocations: 4 kB / 0.5936 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.674e-05/0.5091, allocations: 0.9688 kB / 0.5936 GB, free: 16.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001384/0.5093, allocations: 23.92 kB / 0.5936 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5093, allocations: 4.562 kB / 0.5936 GB, free: 16.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.5104, allocations: 295.7 kB / 0.5939 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.5105, allocations: 21.27 kB / 0.5939 GB, free: 16.02 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: 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.000827/0.5113, allocations: 475.8 kB / 0.5943 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.5114, allocations: 138.4 kB / 0.5945 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003354/0.5117, allocations: 158.3 kB / 0.5946 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.5117, allocations: 0 / 0.5946 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.5118, allocations: 4 kB / 0.5946 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.5118, allocations: 0 / 0.5946 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007542/0.5125, allocations: 0.7726 MB / 0.5954 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5125, allocations: 4 kB / 0.5954 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.378e-05/0.5126, allocations: 7.984 kB / 0.5954 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.5126, allocations: 0 / 0.5954 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.5126, allocations: 4.594 kB / 0.5954 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.5127, allocations: 3.953 kB / 0.5954 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.5127, allocations: 0.7812 kB / 0.5954 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.5134, allocations: 1.087 MB / 0.5965 GB, free: 13.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.5136, allocations: 214.8 kB / 0.5967 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.495e-05/0.5137, allocations: 0 / 0.5967 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.5139, allocations: 8.516 kB / 0.5967 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.99e-05/0.5139, allocations: 12.53 kB / 0.5967 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.5139, allocations: 21.91 kB / 0.5967 GB, free: 13.03 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.5153, allocations: 1.286 MB / 0.598 GB, free: 11.73 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5153, allocations: 0 / 0.598 GB, free: 11.73 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002708/0.518, allocations: 0.6247 MB / 0.5986 GB, free: 11.11 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.001939/0.52, allocations: 0.675 MB / 0.5992 GB, free: 10.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.5226, allocations: 3.559 MB / 0.6027 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.5226, allocations: 0 / 0.6027 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002577/0.5229, allocations: 343.7 kB / 0.603 GB, free: 6.562 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005075/0.5234, allocations: 57.11 kB / 0.6031 GB, free: 6.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003503/0.5269, allocations: 3.151 MB / 0.6062 GB, free: 3.316 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005436/0.5274, allocations: 1.235 MB / 0.6074 GB, free: 2.051 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000124/0.5276, allocations: 23.42 kB / 0.6074 GB, free: 2.027 MB / 446.1 MB Notification: Performance of SimCode: time 2.054e-06/0.5276, allocations: 0 / 0.6074 GB, free: 2.027 MB / 446.1 MB Notification: Performance of Templates: time 0.03615/0.5637, allocations: 19.81 MB / 0.6267 GB, free: 14.21 MB / 478.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholesCalcHelperMain.o] Error 1