Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0008978/0.0008979, 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.0009934/0.0009934, allocations: 173.8 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.538/1.538, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.08/1.08, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.000455, allocations: 12 kB / 0.5167 GB, free: 11.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2379/0.2383, allocations: 83.41 MB / 0.5981 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00179/0.2402, allocations: 1.131 MB / 0.5992 GB, free: 6.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006747/0.247, allocations: 3.914 MB / 0.603 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.394e-05/0.2471, allocations: 3.938 kB / 0.603 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.2472, allocations: 11.86 kB / 0.603 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002765/0.2475, allocations: 27.91 kB / 0.6031 GB, free: 2.637 MB / 0.4981 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.004051/0.2516, allocations: 1.138 MB / 0.6042 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001903/0.2518, allocations: 103.6 kB / 0.6043 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.495e-05/0.2519, allocations: 4 kB / 0.6043 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.957e-05/0.2519, allocations: 43.84 kB / 0.6043 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002742/0.2522, allocations: 175.7 kB / 0.6045 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.2523, allocations: 12 kB / 0.6045 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4223/0.6746, allocations: 1.946 MB / 0.6064 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002516/0.6749, allocations: 256.4 kB / 0.6067 GB, free: 36.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001398/0.675, allocations: 111 kB / 0.6068 GB, free: 36.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002477/0.6775, allocations: 1.401 MB / 0.6081 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.6775, allocations: 0 / 0.6081 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6775, allocations: 0 / 0.6081 GB, free: 36.18 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.6775, allocations: 0 / 0.6081 GB, free: 36.18 MB / 0.4981 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.006928/0.6845, allocations: 1.256 MB / 0.6094 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.6845, allocations: 10.56 kB / 0.6094 GB, free: 35.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003864/0.6849, allocations: 90.72 kB / 0.6095 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003957/0.6853, allocations: 353.8 kB / 0.6098 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/0.6854, allocations: 9.156 kB / 0.6098 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.6854, allocations: 8.328 kB / 0.6098 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004579/0.6859, allocations: 386.8 kB / 0.6102 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.6859, allocations: 3.234 kB / 0.6102 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.6859, allocations: 0.6875 kB / 0.6102 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.6859, allocations: 0 / 0.6102 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004219/0.6864, allocations: 436.5 kB / 0.6106 GB, free: 34.97 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006483/0.687, allocations: 0.6456 MB / 0.6112 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004969/0.6875, allocations: 0.5659 MB / 0.6118 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.6879, allocations: 334.7 kB / 0.6121 GB, free: 34.61 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008791/0.6887, allocations: 1.039 MB / 0.6131 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004006/0.6892, allocations: 404.9 kB / 0.6135 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.6892, allocations: 2.844 kB / 0.6135 GB, free: 33.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.00148/0.6907, allocations: 1.284 MB / 0.6148 GB, free: 33.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.093e-05/0.6907, allocations: 87.92 kB / 0.6148 GB, free: 33.25 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.6919, allocations: 1.2 MB / 0.616 GB, free: 33.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.6919, allocations: 29.2 kB / 0.616 GB, free: 32.98 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/0.6921, allocations: 260.9 kB / 0.6163 GB, free: 32.85 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.278e-05/0.6921, allocations: 27.77 kB / 0.6163 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.318e-05/0.6921, allocations: 8 kB / 0.6163 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.6923, allocations: 415.1 kB / 0.6167 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00118/0.6935, allocations: 1.372 MB / 0.6181 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001407/0.6949, allocations: 1.499 MB / 0.6195 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.6966, allocations: 1.914 MB / 0.6214 GB, free: 31.99 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.6966, allocations: 7.469 kB / 0.6214 GB, free: 31.98 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004022/0.7006, allocations: 3.986 MB / 0.6253 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.7006, allocations: 5.688 kB / 0.6253 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.7007, allocations: 2.656 kB / 0.6253 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.7007, allocations: 0 / 0.6253 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001347/0.7008, allocations: 17.19 kB / 0.6253 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.7008, allocations: 0 / 0.6253 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000538/0.7014, allocations: 234.4 kB / 0.6255 GB, free: 30.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.105e-05/0.7015, allocations: 27.67 kB / 0.6256 GB, free: 30.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2,labels[1],cluSiz[1]) * 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.0003034/0.7018, allocations: 240.8 kB / 0.6258 GB, free: 30.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.068e-05/0.7018, allocations: 64.81 kB / 0.6259 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000266/0.7021, allocations: 76.69 kB / 0.6259 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.7021, allocations: 4.797 kB / 0.6259 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.7021, allocations: 2.812 kB / 0.6259 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.7021, allocations: 1.125 kB / 0.6259 GB, free: 30.51 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.7026, allocations: 0.4905 MB / 0.6264 GB, free: 30.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/0.7026, allocations: 6.578 kB / 0.6264 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.379e-05/0.7027, allocations: 5.25 kB / 0.6264 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.7027, allocations: 5.391 kB / 0.6264 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.7027, allocations: 6.094 kB / 0.6264 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.7027, allocations: 0.8438 kB / 0.6264 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.7027, allocations: 0.5 kB / 0.6264 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008363/0.7035, allocations: 1 MB / 0.6274 GB, free: 30.19 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.348e-05/0.7036, allocations: 153.9 kB / 0.6276 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.7037, allocations: 2.312 kB / 0.6276 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.7038, allocations: 9.5 kB / 0.6276 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.7039, allocations: 7.375 kB / 0.6276 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-05/0.7039, allocations: 16.55 kB / 0.6276 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006572/0.7046, allocations: 0.6611 MB / 0.6282 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7046, allocations: 0 / 0.6282 GB, free: 29.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001885/0.7065, allocations: 0.5766 MB / 0.6288 GB, free: 29.85 MB / 0.4981 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.001743/0.7082, allocations: 0.6738 MB / 0.6295 GB, free: 29.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003094/0.7113, allocations: 2.558 MB / 0.632 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.7113, allocations: 1.156 kB / 0.632 GB, free: 29.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004651/0.7118, allocations: 339.7 kB / 0.6323 GB, free: 29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003802/0.7122, allocations: 38.53 kB / 0.6323 GB, free: 28.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/0.715, allocations: 1.892 MB / 0.6342 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.7155, allocations: 0.9622 MB / 0.6351 GB, free: 27.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000128/0.7156, allocations: 31.33 kB / 0.6351 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of SimCode: time 6.81e-07/0.7156, allocations: 4 kB / 0.6351 GB, free: 27.57 MB / 0.4981 GB Notification: Performance of Templates: time 0.03378/0.7494, allocations: 13.99 MB / 0.6488 GB, free: 25.85 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o] Error 1