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_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 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.007095/0.007095, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001575/0.001575, allocations: 192 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.1 MB / 222.7 MB, free: 4.777 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.934/1.934, allocations: 292.3 MB / 0.5491 GB, free: 13.64 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.002013/0.002013, allocations: 68.44 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/0.286, allocations: 114.5 MB / 0.7834 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003285/0.2893, allocations: 1.796 MB / 0.7851 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.006506/0.2958, allocations: 4.438 MB / 0.7895 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000112/0.296, allocations: 0 / 0.7895 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001285/0.2973, allocations: 362.6 kB / 0.7898 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000122/0.2974, allocations: 51.81 kB / 0.7899 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002235/0.2997, allocations: 0.7674 MB / 0.7906 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.2999, allocations: 191.3 kB / 0.7908 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.185e-05/0.3, allocations: 13.56 kB / 0.7908 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.481e-05/0.3001, allocations: 59.7 kB / 0.7909 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.3003, allocations: 172.8 kB / 0.791 GB, free: 6.105 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.442e-05/0.3004, allocations: 12 kB / 0.791 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002118/0.3025, allocations: 1.396 MB / 0.7924 GB, free: 4.695 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002795/0.3028, allocations: 279.8 kB / 0.7927 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002825/0.3031, allocations: 306.1 kB / 0.793 GB, free: 4.117 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001427/0.3045, allocations: 1.045 MB / 0.794 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3045, allocations: 0 / 0.794 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3046, allocations: 0 / 0.794 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.3046, allocations: 3.938 kB / 0.794 GB, free: 3.066 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.007902/0.3125, allocations: 1.269 MB / 0.7952 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.3125, allocations: 8.031 kB / 0.7952 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003956/0.3129, allocations: 95.59 kB / 0.7953 GB, free: 1.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.3134, allocations: 409.9 kB / 0.7957 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3135, allocations: 8.375 kB / 0.7957 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.3135, allocations: 4.375 kB / 0.7957 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004609/0.314, allocations: 395.4 kB / 0.7961 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.314, allocations: 4 kB / 0.7961 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.314, allocations: 3.984 kB / 0.7961 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.314, allocations: 4 kB / 0.7961 GB, free: 0.7734 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004526/0.3145, allocations: 435.7 kB / 0.7965 GB, free: 356 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.3152, allocations: 0.6575 MB / 0.7972 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005231/0.3157, allocations: 0.5672 MB / 0.7977 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003339/0.3161, allocations: 333.7 kB / 0.798 GB, free: 14.72 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001165/0.3172, allocations: 1.028 MB / 0.799 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004303/0.3177, allocations: 404.8 kB / 0.7994 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.694e-06/0.3177, allocations: 0 / 0.7994 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001355/0.319, allocations: 1.296 MB / 0.8007 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.615e-05/0.3191, allocations: 89.22 kB / 0.8008 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.3204, allocations: 1.281 MB / 0.802 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.3204, allocations: 37.69 kB / 0.8021 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/0.3206, allocations: 281.4 kB / 0.8023 GB, free: 10.03 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.232e-05/0.3207, allocations: 15.81 kB / 0.8023 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.321, allocations: 347.5 kB / 0.8027 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3212, allocations: 318 kB / 0.803 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.3224, allocations: 1.365 MB / 0.8043 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.3238, allocations: 1.489 MB / 0.8058 GB, free: 6.488 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007032/0.3308, allocations: 3.538 MB / 0.8092 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.3308, allocations: 0 / 0.8092 GB, free: 2.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004286/0.3351, allocations: 3.98 MB / 0.8131 GB, free: 14.84 MB / 0.6388 GB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.3352, allocations: 8 kB / 0.8131 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.742e-05/0.3352, allocations: 0 / 0.8131 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.3352, allocations: 0 / 0.8131 GB, free: 14.83 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.3354, allocations: 19.92 kB / 0.8131 GB, free: 14.81 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.3354, allocations: 4 kB / 0.8131 GB, free: 14.81 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.3359, allocations: 228.3 kB / 0.8134 GB, free: 14.58 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.551e-05/0.336, allocations: 27.89 kB / 0.8134 GB, free: 14.56 MB / 0.6388 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 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003279/0.3363, allocations: 249.7 kB / 0.8136 GB, free: 14.3 MB / 0.6388 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.888e-05/0.3364, allocations: 74.62 kB / 0.8137 GB, free: 14.23 MB / 0.6388 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002909/0.3367, allocations: 91.59 kB / 0.8138 GB, free: 14.13 MB / 0.6388 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.3367, allocations: 0 / 0.8138 GB, free: 14.13 MB / 0.6388 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.3367, allocations: 0 / 0.8138 GB, free: 14.13 MB / 0.6388 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3367, allocations: 32 / 0.8138 GB, free: 14.13 MB / 0.6388 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005053/0.3372, allocations: 0.5177 MB / 0.8143 GB, free: 13.57 MB / 0.6388 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.3372, allocations: 0 / 0.8143 GB, free: 13.57 MB / 0.6388 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.3373, allocations: 7.938 kB / 0.8143 GB, free: 13.56 MB / 0.6388 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.3373, allocations: 0 / 0.8143 GB, free: 13.56 MB / 0.6388 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.3373, allocations: 11.98 kB / 0.8143 GB, free: 13.55 MB / 0.6388 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.3374, allocations: 0 / 0.8143 GB, free: 13.55 MB / 0.6388 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3374, allocations: 0 / 0.8143 GB, free: 13.55 MB / 0.6388 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009843/0.3383, allocations: 1.01 MB / 0.8153 GB, free: 12.52 MB / 0.6388 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3385, allocations: 163.7 kB / 0.8154 GB, free: 12.34 MB / 0.6388 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.661e-05/0.3386, allocations: 4 kB / 0.8155 GB, free: 12.34 MB / 0.6388 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.3387, allocations: 4 kB / 0.8155 GB, free: 12.33 MB / 0.6388 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.476e-05/0.3388, allocations: 7.984 kB / 0.8155 GB, free: 12.32 MB / 0.6388 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/0.3388, allocations: 11.98 kB / 0.8155 GB, free: 12.31 MB / 0.6388 GB Notification: Performance of sorting global known variables: time 0.0008214/0.3397, allocations: 0.7257 MB / 0.8162 GB, free: 11.58 MB / 0.6388 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3397, allocations: 0 / 0.8162 GB, free: 11.58 MB / 0.6388 GB Notification: Performance of remove unused functions: time 0.001175/0.3409, allocations: 399.8 kB / 0.8166 GB, free: 11.19 MB / 0.6388 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.00126/0.3421, allocations: 486.2 kB / 0.817 GB, free: 10.71 MB / 0.6388 GB Notification: Performance of simCode: created initialization part: time 0.002416/0.3445, allocations: 2.503 MB / 0.8195 GB, free: 8.195 MB / 0.6388 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3446, allocations: 0 / 0.8195 GB, free: 8.195 MB / 0.6388 GB Notification: Performance of simCode: created simulation system equations: time 0.0003713/0.3449, allocations: 343.7 kB / 0.8198 GB, free: 7.859 MB / 0.6388 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004203/0.3454, allocations: 67.36 kB / 0.8199 GB, free: 7.797 MB / 0.6388 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002746/0.3481, allocations: 2.087 MB / 0.8219 GB, free: 5.672 MB / 0.6388 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007476/0.3489, allocations: 0.9917 MB / 0.8229 GB, free: 4.652 MB / 0.6388 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.349, allocations: 31.42 kB / 0.8229 GB, free: 4.621 MB / 0.6388 GB Notification: Performance of SimCode: time 2.2e-07/0.349, allocations: 0 / 0.8229 GB, free: 4.621 MB / 0.6388 GB Notification: Performance of Templates: time 0.02021/0.3692, allocations: 11.18 MB / 0.8338 GB, free: 9.453 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1