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_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 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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.009464/0.009464, allocations: 99.92 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.00275/0.00275, allocations: 192.1 kB / 16.78 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.8/1.8, allocations: 205.1 MB / 222.6 MB, free: 4.738 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.956/1.956, allocations: 292.3 MB / 0.5491 GB, free: 13.65 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.001328/0.001328, allocations: 64.67 kB / 0.6715 GB, free: 26.4 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.262, allocations: 114.5 MB / 0.7834 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002907/0.2649, allocations: 1.476 MB / 0.7848 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005281/0.2702, allocations: 3.275 MB / 0.788 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.2703, allocations: 4 kB / 0.788 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.2705, allocations: 3.938 kB / 0.788 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002326/0.2707, allocations: 27.83 kB / 0.788 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.273, allocations: 0.7752 MB / 0.7888 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.2732, allocations: 107.8 kB / 0.7889 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.319e-05/0.2732, allocations: 4 kB / 0.7889 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.575e-05/0.2733, allocations: 43.8 kB / 0.7889 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.2735, allocations: 153 kB / 0.7891 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.197e-05/0.2736, allocations: 12 kB / 0.7891 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001934/0.2755, allocations: 1.404 MB / 0.7905 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.00026/0.2758, allocations: 263.9 kB / 0.7907 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000234/0.276, allocations: 278.3 kB / 0.791 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001177/0.2772, allocations: 0.998 MB / 0.792 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.2772, allocations: 0 / 0.792 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.71e-07/0.2773, allocations: 0 / 0.792 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.2773, allocations: 0 / 0.792 GB, free: 5.102 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.007762/0.285, allocations: 1.203 MB / 0.7931 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.956e-05/0.2851, allocations: 16.02 kB / 0.7932 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004456/0.2856, allocations: 87.69 kB / 0.7932 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.286, allocations: 360.8 kB / 0.7936 GB, free: 3.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.286, allocations: 8.375 kB / 0.7936 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.2861, allocations: 4.375 kB / 0.7936 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004871/0.2866, allocations: 395.4 kB / 0.794 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.2866, allocations: 0 / 0.794 GB, free: 2.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.2866, allocations: 4 kB / 0.794 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.2866, allocations: 0 / 0.794 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.2871, allocations: 435.8 kB / 0.7944 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.2877, allocations: 0.6287 MB / 0.795 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005881/0.2883, allocations: 0.5633 MB / 0.7956 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.2886, allocations: 333.7 kB / 0.7959 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/0.2898, allocations: 1.032 MB / 0.7969 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004275/0.2902, allocations: 420.8 kB / 0.7973 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.2902, allocations: 4 kB / 0.7973 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of matching and sorting (n=8): time 0.001333/0.2916, allocations: 1.281 MB / 0.7985 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.2916, allocations: 89.23 kB / 0.7986 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.2928, allocations: 1.21 MB / 0.7998 GB, free: 12.6 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.596e-05/0.2929, allocations: 25.7 kB / 0.7998 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.293, allocations: 261.4 kB / 0.8001 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.2931, allocations: 19.8 kB / 0.8001 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003381/0.2934, allocations: 347.5 kB / 0.8004 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.2936, allocations: 314 kB / 0.8007 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001221/0.2948, allocations: 1.361 MB / 0.8021 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001312/0.2961, allocations: 1.501 MB / 0.8035 GB, free: 8.758 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007046/0.3032, allocations: 3.534 MB / 0.807 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3032, allocations: 0 / 0.807 GB, free: 5.133 MB / 0.6231 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004571/0.3078, allocations: 3.965 MB / 0.8108 GB, free: 1.125 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.3078, allocations: 8 kB / 0.8108 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.3078, allocations: 0 / 0.8108 GB, free: 1.117 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.3078, allocations: 3.984 kB / 0.8109 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.308, allocations: 19.94 kB / 0.8109 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.308, allocations: 4 kB / 0.8109 GB, free: 1.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005338/0.3086, allocations: 228.3 kB / 0.8111 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.529e-05/0.3086, allocations: 23.98 kB / 0.8111 GB, free: 0.8398 MB / 0.6231 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.0003276/0.309, allocations: 237.7 kB / 0.8113 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.309, allocations: 66.72 kB / 0.8114 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002885/0.3093, allocations: 78.83 kB / 0.8115 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3093, allocations: 0 / 0.8115 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3094, allocations: 4 kB / 0.8115 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3094, allocations: 32 / 0.8115 GB, free: 452 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005014/0.3099, allocations: 0.4929 MB / 0.812 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3099, allocations: 0 / 0.812 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.023e-05/0.31, allocations: 7.938 kB / 0.812 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.31, allocations: 4 kB / 0.812 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.102e-05/0.31, allocations: 7.984 kB / 0.812 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.31, allocations: 0 / 0.812 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.31, allocations: 4.312 kB / 0.812 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009768/0.311, allocations: 1.001 MB / 0.813 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000128/0.3111, allocations: 159.8 kB / 0.8131 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.171e-05/0.3112, allocations: 4 kB / 0.8131 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001328/0.3114, allocations: 4 kB / 0.8131 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.459e-05/0.3114, allocations: 15.92 kB / 0.8131 GB, free: 14.65 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.806e-05/0.3115, allocations: 7.984 kB / 0.8132 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007516/0.3122, allocations: 0.6726 MB / 0.8138 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3122, allocations: 0 / 0.8138 GB, free: 13.96 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001231/0.3135, allocations: 395.9 kB / 0.8142 GB, free: 13.58 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 (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.001301/0.3148, allocations: 478.7 kB / 0.8146 GB, free: 13.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002588/0.3174, allocations: 2.499 MB / 0.8171 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3174, allocations: 0 / 0.8171 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000368/0.3178, allocations: 335.8 kB / 0.8174 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003261/0.3181, allocations: 40.42 kB / 0.8174 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.3207, allocations: 1.958 MB / 0.8194 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.3213, allocations: 0.964 MB / 0.8203 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.3215, allocations: 27.42 kB / 0.8203 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of SimCode: time 1.103e-06/0.3215, allocations: 0 / 0.8203 GB, free: 7.207 MB / 0.6387 GB Notification: Performance of Templates: time 0.01646/0.3379, allocations: 10.53 MB / 0.8306 GB, free: 12.67 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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_1borehole_5metersCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o] Error 1