Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_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="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_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.0009867/0.0009867, allocations: 102.2 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.001273/0.001273, allocations: 175.7 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.451/1.451, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.7/2.7, allocations: 436.7 MB / 0.7113 GB, free: 7.809 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003789/0.0003789, allocations: 16 kB / 0.8717 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9591/0.9595, allocations: 153.7 MB / 1.022 GB, free: 1.066 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003194/0.9627, allocations: 1.433 MB / 1.023 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.9754, allocations: 4.991 MB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002533/0.9758, allocations: 3.938 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00199/0.9778, allocations: 318.7 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000315/0.9781, allocations: 59.72 kB / 1.028 GB, free: 10.24 MB / 0.7794 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.006277/0.9844, allocations: 1.122 MB / 1.03 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005754/0.985, allocations: 179.3 kB / 1.03 GB, free: 8.941 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.576e-05/0.9851, allocations: 5.562 kB / 1.03 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.9853, allocations: 67.66 kB / 1.03 GB, free: 8.871 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004227/0.9858, allocations: 187.6 kB / 1.03 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 8.758e-05/0.9859, allocations: 16 kB / 1.03 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006194/0.9921, allocations: 1.946 MB / 1.032 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.9925, allocations: 275.2 kB / 1.032 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002289/0.9928, allocations: 121.2 kB / 1.032 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00447/0.9973, allocations: 1.446 MB / 1.034 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.218e-06/0.9973, allocations: 4 kB / 1.034 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.116e-06/0.9973, allocations: 3.938 kB / 1.034 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.095e-05/0.9974, allocations: 0 / 1.034 GB, free: 4.871 MB / 0.7794 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.01396/1.011, allocations: 1.312 MB / 1.035 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 7.809e-05/1.011, allocations: 11.98 kB / 1.035 GB, free: 3.496 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000733/1.012, allocations: 94.66 kB / 1.035 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/1.013, allocations: 401.1 kB / 1.035 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/1.013, allocations: 0 / 1.035 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.203e-05/1.013, allocations: 15.98 kB / 1.035 GB, free: 2.945 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/1.014, allocations: 391.1 kB / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/1.014, allocations: 0 / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.341e-05/1.014, allocations: 0 / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.368e-05/1.014, allocations: 0 / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008316/1.015, allocations: 443.7 kB / 1.036 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001388/1.017, allocations: 0.6614 MB / 1.037 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008713/1.018, allocations: 0.5672 MB / 1.037 GB, free: 0.8203 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005401/1.018, allocations: 337.7 kB / 1.038 GB, free: 496 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001609/1.02, allocations: 1.032 MB / 1.039 GB, free: 15.23 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006784/1.02, allocations: 408.8 kB / 1.039 GB, free: 14.81 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 5.481e-06/1.02, allocations: 3.938 kB / 1.039 GB, free: 14.81 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.002396/1.023, allocations: 1.296 MB / 1.04 GB, free: 13.5 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.929e-05/1.023, allocations: 85.05 kB / 1.04 GB, free: 13.4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00261/1.026, allocations: 1.286 MB / 1.042 GB, free: 12.11 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 9.096e-05/1.026, allocations: 29.69 kB / 1.042 GB, free: 12.07 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003791/1.026, allocations: 285.4 kB / 1.042 GB, free: 11.79 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.701e-05/1.026, allocations: 15.81 kB / 1.042 GB, free: 11.77 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.94e-05/1.026, allocations: 0 / 1.042 GB, free: 11.77 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002865/1.027, allocations: 431.9 kB / 1.042 GB, free: 11.34 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001633/1.028, allocations: 1.365 MB / 1.044 GB, free: 9.973 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/1.03, allocations: 1.507 MB / 1.045 GB, free: 8.457 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/1.031, allocations: 1.914 MB / 1.047 GB, free: 6.527 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.031, allocations: 0 / 1.047 GB, free: 6.527 MB / 0.795 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004825/1.036, allocations: 3.998 MB / 1.051 GB, free: 2.492 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/1.036, allocations: 7.953 kB / 1.051 GB, free: 2.484 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.418e-05/1.036, allocations: 8.031 kB / 1.051 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/1.036, allocations: 0 / 1.051 GB, free: 2.477 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001346/1.036, allocations: 15.98 kB / 1.051 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/1.036, allocations: 0 / 1.051 GB, free: 2.461 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/1.037, allocations: 232.3 kB / 1.051 GB, free: 2.23 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.783e-05/1.037, allocations: 27.97 kB / 1.051 GB, free: 2.203 MB / 0.795 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.0003644/1.037, allocations: 249.5 kB / 1.052 GB, free: 1.949 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.31e-05/1.038, allocations: 74.69 kB / 1.052 GB, free: 1.875 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003064/1.038, allocations: 87.75 kB / 1.052 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.038, allocations: 0 / 1.052 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/1.038, allocations: 0 / 1.052 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.038, allocations: 0 / 1.052 GB, free: 1.781 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/1.038, allocations: 0.5141 MB / 1.052 GB, free: 1.223 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/1.038, allocations: 4 kB / 1.052 GB, free: 1.219 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.943e-05/1.039, allocations: 15.92 kB / 1.052 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.039, allocations: 4.031 kB / 1.052 GB, free: 1.199 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/1.039, allocations: 0 / 1.052 GB, free: 1.199 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.988e-06/1.039, allocations: 7.953 kB / 1.052 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/1.039, allocations: 0 / 1.052 GB, free: 1.191 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009367/1.04, allocations: 1.002 MB / 1.053 GB, free: 172 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002157/1.04, allocations: 167.9 kB / 1.053 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.505e-05/1.04, allocations: 4 kB / 1.053 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001465/1.04, allocations: 3.984 kB / 1.053 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.361e-05/1.04, allocations: 7.781 kB / 1.053 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/1.04, allocations: 19.91 kB / 1.053 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009127/1.041, allocations: 0.7105 MB / 1.054 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.81e-07/1.041, allocations: 3.938 kB / 1.054 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001844/1.043, allocations: 0.5857 MB / 1.055 GB, free: 14.64 MB / 0.8106 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.002552/1.045, allocations: 0.6765 MB / 1.055 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002533/1.048, allocations: 2.549 MB / 1.058 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/1.048, allocations: 0 / 1.058 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003392/1.048, allocations: 339.8 kB / 1.058 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/1.049, allocations: 60.77 kB / 1.058 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/1.051, allocations: 2.036 MB / 1.06 GB, free: 8.957 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005028/1.052, allocations: 0.9881 MB / 1.061 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001083/1.052, allocations: 27.42 kB / 1.061 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of SimCode: time 7.81e-07/1.052, allocations: 0 / 1.061 GB, free: 7.914 MB / 0.8106 GB Notification: Performance of Templates: time 0.02284/1.075, allocations: 14.48 MB / 1.075 GB, free: 9.445 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1