Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 100.1 kB / 15.88 MB, free: 12 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.002113/0.002113, allocations: 197.3 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.652/2.652, allocations: 222.9 MB / 240.5 MB, free: 4.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003665/0.003665, allocations: 282.8 kB / 290.9 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.99/1.99, allocations: 169.2 MB / 0.4984 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003407/0.003407, allocations: 93.59 kB / 0.5952 GB, free: 28.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3267, allocations: 86.98 MB / 0.6801 GB, free: 1.121 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.005355/0.3321, allocations: 1.796 MB / 0.6819 GB, free: 15.32 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01461/0.3468, allocations: 5.665 MB / 0.6874 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003044/0.3472, allocations: 0 / 0.6874 GB, free: 9.641 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002255/0.3495, allocations: 354.6 kB / 0.6878 GB, free: 9.293 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003198/0.3498, allocations: 59.72 kB / 0.6878 GB, free: 9.234 MB / 494.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.007181/0.357, allocations: 1.173 MB / 0.689 GB, free: 8.062 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005913/0.3576, allocations: 207.3 kB / 0.6892 GB, free: 7.859 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.971e-05/0.3578, allocations: 13.55 kB / 0.6892 GB, free: 7.848 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001246/0.3579, allocations: 51.8 kB / 0.6892 GB, free: 7.797 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004076/0.3583, allocations: 180.8 kB / 0.6894 GB, free: 7.621 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.464e-05/0.3584, allocations: 16 kB / 0.6894 GB, free: 7.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007142/0.3656, allocations: 2.184 MB / 0.6915 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004519/0.3661, allocations: 283.8 kB / 0.6918 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005062/0.3666, allocations: 306.1 kB / 0.6921 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005416/0.372, allocations: 1.555 MB / 0.6936 GB, free: 3.281 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.374e-05/0.3721, allocations: 4 kB / 0.6936 GB, free: 3.277 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.115e-06/0.3721, allocations: 0 / 0.6936 GB, free: 3.277 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.3722, allocations: 0 / 0.6936 GB, free: 3.277 MB / 494.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.01594/0.3881, allocations: 1.37 MB / 0.695 GB, free: 1.855 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.393e-05/0.3882, allocations: 8.031 kB / 0.695 GB, free: 1.848 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007301/0.3889, allocations: 99.58 kB / 0.6951 GB, free: 1.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008634/0.3898, allocations: 406.3 kB / 0.6954 GB, free: 1.305 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.3899, allocations: 4.375 kB / 0.6955 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.81e-05/0.3899, allocations: 8.312 kB / 0.6955 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007591/0.3907, allocations: 395.5 kB / 0.6958 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.3908, allocations: 0 / 0.6958 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.503e-05/0.3908, allocations: 7.984 kB / 0.6958 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-06/0.3908, allocations: 4 kB / 0.6958 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007827/0.3916, allocations: 427.8 kB / 0.6963 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001189/0.3928, allocations: 0.6693 MB / 0.6969 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009242/0.3938, allocations: 0.5594 MB / 0.6975 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005532/0.3943, allocations: 333.7 kB / 0.6978 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001869/0.3962, allocations: 1.028 MB / 0.6988 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007427/0.397, allocations: 416.6 kB / 0.6992 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.725e-06/0.397, allocations: 0 / 0.6992 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.002648/0.3996, allocations: 1.293 MB / 0.7004 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.951e-05/0.3998, allocations: 85.23 kB / 0.7005 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002489/0.4023, allocations: 1.29 MB / 0.7018 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.4024, allocations: 33.7 kB / 0.7018 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003724/0.4028, allocations: 285.3 kB / 0.7021 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.822e-05/0.4029, allocations: 23.72 kB / 0.7021 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005836/0.4035, allocations: 355.6 kB / 0.7024 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.4037, allocations: 318 kB / 0.7027 GB, free: 9.441 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.406, allocations: 1.369 MB / 0.7041 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002408/0.4084, allocations: 1.509 MB / 0.7056 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/0.4201, allocations: 3.556 MB / 0.709 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-05/0.4202, allocations: 0 / 0.709 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.007642/0.4279, allocations: 4.018 MB / 0.713 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.014e-05/0.428, allocations: 4 kB / 0.713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.178e-05/0.428, allocations: 4 kB / 0.713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.4281, allocations: 0 / 0.713 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.4283, allocations: 15.98 kB / 0.713 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.4283, allocations: 0 / 0.713 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/0.4296, allocations: 232.3 kB / 0.7132 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/0.4297, allocations: 27.98 kB / 0.7132 GB, free: 14.57 MB / 0.5137 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 (cluSiz[1],labels[1],gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006175/0.4304, allocations: 261.6 kB / 0.7135 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.4305, allocations: 78.53 kB / 0.7136 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005477/0.4311, allocations: 79.81 kB / 0.7136 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.4311, allocations: 0 / 0.7136 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.4311, allocations: 0 / 0.7136 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.4311, allocations: 0 / 0.7136 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000878/0.432, allocations: 0.518 MB / 0.7141 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.432, allocations: 3.938 kB / 0.7141 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.4321, allocations: 15.92 kB / 0.7142 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.993e-06/0.4322, allocations: 0 / 0.7142 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4322, allocations: 7.938 kB / 0.7142 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.4322, allocations: 4 kB / 0.7142 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.4322, allocations: 0 / 0.7142 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.434, allocations: 1.006 MB / 0.7151 GB, free: 12.52 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002036/0.4342, allocations: 163.7 kB / 0.7153 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.4343, allocations: 4 kB / 0.7153 GB, free: 12.33 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.4346, allocations: 7.984 kB / 0.7153 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/0.4347, allocations: 4 kB / 0.7153 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.406e-05/0.4348, allocations: 15.97 kB / 0.7153 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001469/0.4363, allocations: 0.7261 MB / 0.716 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.71e-07/0.4363, allocations: 3.938 kB / 0.716 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003214/0.4395, allocations: 0.5857 MB / 0.7166 GB, free: 10.98 MB / 0.5137 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003616/0.4431, allocations: 0.6871 MB / 0.7173 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004288/0.4474, allocations: 2.556 MB / 0.7198 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/0.4475, allocations: 0 / 0.7198 GB, free: 7.734 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0005925/0.4481, allocations: 339.9 kB / 0.7201 GB, free: 7.402 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007951/0.4489, allocations: 62.89 kB / 0.7202 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/0.4563, allocations: 2.108 MB / 0.7222 GB, free: 5.199 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009737/0.4573, allocations: 0.9881 MB / 0.7232 GB, free: 4.188 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002465/0.4576, allocations: 31.41 kB / 0.7232 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of SimCode: time 8.02e-07/0.4576, allocations: 0 / 0.7232 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of Templates: time 0.0527/0.5103, allocations: 14.48 MB / 0.7374 GB, free: 5.695 MB / 0.5294 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1