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.0009696/0.0009695, allocations: 102.6 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.001156/0.001156, allocations: 174.6 kB / 16.58 MB, free: 6.02 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.756/1.756, allocations: 205.4 MB / 222.8 MB, free: 5.641 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 2.003/2.003, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0005578/0.0005579, allocations: 16.72 kB / 0.6744 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.279, allocations: 116.3 MB / 0.788 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001772/0.2808, allocations: 1.416 MB / 0.7894 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005134/0.286, allocations: 3.923 MB / 0.7932 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001063/0.2861, allocations: 3.938 kB / 0.7932 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.2872, allocations: 322.4 kB / 0.7935 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.2873, allocations: 51.75 kB / 0.7935 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002105/0.2894, allocations: 0.7529 MB / 0.7943 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002379/0.2897, allocations: 167.4 kB / 0.7944 GB, free: 5.262 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.2897, allocations: 5.562 kB / 0.7944 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.659e-05/0.2898, allocations: 55.77 kB / 0.7945 GB, free: 5.199 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002311/0.29, allocations: 187.6 kB / 0.7947 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.397e-05/0.2901, allocations: 12 kB / 0.7947 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.292, allocations: 1.302 MB / 0.796 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002048/0.2922, allocations: 275.2 kB / 0.7962 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.2923, allocations: 121.2 kB / 0.7963 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001125/0.2934, allocations: 1.029 MB / 0.7973 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.2935, allocations: 7.938 kB / 0.7973 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2935, allocations: 4 kB / 0.7974 GB, free: 2.262 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.2935, allocations: 0 / 0.7974 GB, free: 2.262 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.007039/0.3005, allocations: 1.226 MB / 0.7986 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.3006, allocations: 12.03 kB / 0.7986 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003499/0.3009, allocations: 90.66 kB / 0.7986 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.3014, allocations: 400.8 kB / 0.799 GB, free: 452 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.3014, allocations: 0 / 0.799 GB, free: 452 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.3015, allocations: 8 kB / 0.799 GB, free: 444 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.3019, allocations: 387.2 kB / 0.7994 GB, free: 44 kB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.3019, allocations: 0 / 0.7994 GB, free: 44 kB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.3019, allocations: 3.984 kB / 0.7994 GB, free: 40 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.302, allocations: 4 kB / 0.7994 GB, free: 36 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004212/0.3024, allocations: 431.7 kB / 0.7998 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000621/0.303, allocations: 0.6691 MB / 0.8005 GB, free: 14.89 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005104/0.3035, allocations: 0.5673 MB / 0.801 GB, free: 14.31 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003088/0.3039, allocations: 337.6 kB / 0.8014 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.3049, allocations: 1.032 MB / 0.8024 GB, free: 12.72 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004074/0.3053, allocations: 404.9 kB / 0.8028 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 3.977e-06/0.3053, allocations: 0 / 0.8028 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001285/0.3066, allocations: 1.293 MB / 0.804 GB, free: 11 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.3067, allocations: 85.05 kB / 0.8041 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/0.3079, allocations: 1.273 MB / 0.8053 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.3079, allocations: 25.7 kB / 0.8054 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002138/0.3082, allocations: 289.3 kB / 0.8056 GB, free: 9.297 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3082, allocations: 23.73 kB / 0.8057 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.31e-05/0.3082, allocations: 4 kB / 0.8057 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.3084, allocations: 427.9 kB / 0.8061 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/0.3097, allocations: 1.365 MB / 0.8074 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/0.311, allocations: 1.486 MB / 0.8089 GB, free: 5.98 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001616/0.3126, allocations: 1.895 MB / 0.8107 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.3126, allocations: 4 kB / 0.8107 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003964/0.3166, allocations: 3.953 MB / 0.8146 GB, free: 80 kB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.3166, allocations: 4 kB / 0.8146 GB, free: 76 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.848e-05/0.3167, allocations: 0 / 0.8146 GB, free: 76 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.3167, allocations: 4 kB / 0.8146 GB, free: 72 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001282/0.3168, allocations: 15.98 kB / 0.8146 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.3168, allocations: 0 / 0.8146 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004965/0.3173, allocations: 244.3 kB / 0.8148 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.098e-05/0.3174, allocations: 19.98 kB / 0.8148 GB, free: 15.79 MB / 0.6387 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 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003098/0.3177, allocations: 249.6 kB / 0.8151 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.3178, allocations: 74.69 kB / 0.8152 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002735/0.3181, allocations: 75.72 kB / 0.8152 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3181, allocations: 0 / 0.8152 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3181, allocations: 7.969 kB / 0.8152 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3181, allocations: 4 kB / 0.8152 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000452/0.3186, allocations: 0.5177 MB / 0.8157 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3186, allocations: 3.938 kB / 0.8157 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.818e-05/0.3186, allocations: 15.92 kB / 0.8158 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.3186, allocations: 0 / 0.8158 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.3187, allocations: 0 / 0.8158 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.646e-06/0.3187, allocations: 4 kB / 0.8158 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3187, allocations: 0 / 0.8158 GB, free: 14.78 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008967/0.3196, allocations: 1.006 MB / 0.8167 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.3197, allocations: 163.7 kB / 0.8169 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.94e-05/0.3198, allocations: 0 / 0.8169 GB, free: 13.57 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.3199, allocations: 11.98 kB / 0.8169 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.32, allocations: 4 kB / 0.8169 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.507e-05/0.32, allocations: 23.91 kB / 0.8169 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007557/0.3208, allocations: 0.7062 MB / 0.8176 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3208, allocations: 0 / 0.8176 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001093/0.3219, allocations: 399.9 kB / 0.818 GB, free: 12.43 MB / 0.6387 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.001142/0.323, allocations: 483.1 kB / 0.8185 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002224/0.3253, allocations: 2.494 MB / 0.8209 GB, free: 9.453 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3253, allocations: 4 kB / 0.8209 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.3256, allocations: 343.8 kB / 0.8212 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.326, allocations: 51.69 kB / 0.8213 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/0.3283, allocations: 2.033 MB / 0.8233 GB, free: 6.992 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005542/0.3289, allocations: 0.984 MB / 0.8242 GB, free: 5.984 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.329, allocations: 31.41 kB / 0.8243 GB, free: 5.953 MB / 0.6387 GB Notification: Performance of SimCode: time 9.41e-07/0.329, allocations: 4 kB / 0.8243 GB, free: 5.949 MB / 0.6387 GB Notification: Performance of Templates: time 0.01792/0.3469, allocations: 11.2 MB / 0.8352 GB, free: 10.76 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++ 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_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