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_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/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_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gFun_int",fileNamePrefix="Buildings_latest_Buildings.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.0008886/0.0008889, allocations: 103 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.00134/0.00134, allocations: 169.1 kB / 16.58 MB, free: 6.383 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.454/1.454, allocations: 223.3 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.698/2.698, allocations: 436.7 MB / 0.7113 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004397/0.00044, allocations: 11.98 kB / 0.8717 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8758/0.8763, allocations: 153.7 MB / 1.022 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001449/0.8778, allocations: 1.133 MB / 1.023 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00589/0.8837, allocations: 3.931 MB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.8838, allocations: 0 / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001611/0.884, allocations: 7.938 kB / 1.027 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0003177/0.8843, allocations: 31.83 kB / 1.027 GB, free: 11.96 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.004625/0.889, allocations: 1.126 MB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002292/0.8892, allocations: 99.72 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.831e-05/0.8893, allocations: 11.95 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.559e-05/0.8894, allocations: 43.86 kB / 1.028 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000289/0.8897, allocations: 171.7 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.8898, allocations: 19.94 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/0.8931, allocations: 1.95 MB / 1.03 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001982/0.8933, allocations: 259.2 kB / 1.03 GB, free: 8.285 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.8934, allocations: 113.2 kB / 1.03 GB, free: 8.168 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.8955, allocations: 1.397 MB / 1.032 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.458e-06/0.8955, allocations: 4 kB / 1.032 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.786e-06/0.8955, allocations: 0 / 1.032 GB, free: 6.766 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.8955, allocations: 0 / 1.032 GB, free: 6.766 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.007051/0.9026, allocations: 1.249 MB / 1.033 GB, free: 5.465 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.9026, allocations: 11.98 kB / 1.033 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003555/0.903, allocations: 86.75 kB / 1.033 GB, free: 5.367 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003886/0.9034, allocations: 367.6 kB / 1.033 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.9034, allocations: 7.984 kB / 1.033 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.9034, allocations: 4 kB / 1.033 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004255/0.9039, allocations: 395.1 kB / 1.034 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.9039, allocations: 0 / 1.034 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.9039, allocations: 0 / 1.034 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/0.9039, allocations: 3.984 kB / 1.034 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.9043, allocations: 435.8 kB / 1.034 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005497/0.9049, allocations: 0.6366 MB / 1.035 GB, free: 3.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.9054, allocations: 0.5634 MB / 1.035 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003035/0.9057, allocations: 337.5 kB / 1.036 GB, free: 2.512 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/0.9067, allocations: 1.04 MB / 1.037 GB, free: 1.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004118/0.9071, allocations: 408.8 kB / 1.037 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.192e-06/0.9072, allocations: 0 / 1.037 GB, free: 0.832 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.001305/0.9085, allocations: 1.3 MB / 1.038 GB, free: 15.52 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/0.9085, allocations: 77.23 kB / 1.039 GB, free: 15.43 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.9097, allocations: 1.21 MB / 1.04 GB, free: 14.2 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.9098, allocations: 25.7 kB / 1.04 GB, free: 14.17 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002289/0.91, allocations: 261.4 kB / 1.04 GB, free: 13.91 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 4.335e-05/0.9101, allocations: 23.7 kB / 1.04 GB, free: 13.89 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.433e-05/0.9101, allocations: 0 / 1.04 GB, free: 13.89 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002417/0.9103, allocations: 419.9 kB / 1.04 GB, free: 13.47 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.9118, allocations: 1.369 MB / 1.042 GB, free: 12.1 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/0.9131, allocations: 1.509 MB / 1.043 GB, free: 10.58 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001623/0.9147, allocations: 1.906 MB / 1.045 GB, free: 8.656 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.9147, allocations: 0 / 1.045 GB, free: 8.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004313/0.9191, allocations: 3.979 MB / 1.049 GB, free: 4.641 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/0.9191, allocations: 15.98 kB / 1.049 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.887e-05/0.9191, allocations: 0 / 1.049 GB, free: 4.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.9191, allocations: 4 kB / 1.049 GB, free: 4.621 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00013/0.9193, allocations: 19.92 kB / 1.049 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.9193, allocations: 0 / 1.049 GB, free: 4.602 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005007/0.9198, allocations: 236.2 kB / 1.049 GB, free: 4.367 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.9199, allocations: 19.98 kB / 1.049 GB, free: 4.348 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.0003038/0.9202, allocations: 243.8 kB / 1.049 GB, free: 4.102 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/0.9202, allocations: 66.78 kB / 1.05 GB, free: 4.035 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002855/0.9205, allocations: 78.97 kB / 1.05 GB, free: 3.949 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.217e-06/0.9205, allocations: 0 / 1.05 GB, free: 3.949 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.199e-05/0.9206, allocations: 11.97 kB / 1.05 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.9206, allocations: 0 / 1.05 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.921, allocations: 0.4891 MB / 1.05 GB, free: 3.402 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.921, allocations: 3.938 kB / 1.05 GB, free: 3.398 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.285e-05/0.9211, allocations: 12.03 kB / 1.05 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.9211, allocations: 0 / 1.05 GB, free: 3.387 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/0.9211, allocations: 3.984 kB / 1.05 GB, free: 3.383 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.9211, allocations: 7.953 kB / 1.05 GB, free: 3.375 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9211, allocations: 0 / 1.05 GB, free: 3.375 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009333/0.9221, allocations: 1.001 MB / 1.051 GB, free: 2.352 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.9222, allocations: 155.9 kB / 1.051 GB, free: 2.18 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.569e-05/0.9222, allocations: 0 / 1.051 GB, free: 2.18 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.9224, allocations: 4 kB / 1.051 GB, free: 2.176 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.9224, allocations: 15.94 kB / 1.051 GB, free: 2.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.512e-05/0.9225, allocations: 11.98 kB / 1.051 GB, free: 2.148 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007096/0.9232, allocations: 0.6611 MB / 1.052 GB, free: 1.48 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9232, allocations: 0 / 1.052 GB, free: 1.48 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001668/0.9249, allocations: 0.5779 MB / 1.052 GB, free: 0.9023 MB / 0.795 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.001704/0.9266, allocations: 0.6841 MB / 1.053 GB, free: 236 kB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.002359/0.9289, allocations: 2.544 MB / 1.056 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.929, allocations: 4 kB / 1.056 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003416/0.9293, allocations: 339.7 kB / 1.056 GB, free: 13.34 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002788/0.9296, allocations: 40.72 kB / 1.056 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.9319, allocations: 1.886 MB / 1.058 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.9324, allocations: 0.9682 MB / 1.059 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001019/0.9325, allocations: 27.41 kB / 1.059 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of SimCode: time 3.4e-07/0.9325, allocations: 0 / 1.059 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of Templates: time 0.02317/0.9557, allocations: 13.83 MB / 1.072 GB, free: 12.52 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile make -j1 -f Buildings_latest_Buildings.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 OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o] Error 1