Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007649/0.0007649, allocations: 92.16 kB / 16.02 MB, free: 80 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.0007893/0.0007893, allocations: 182.4 kB / 16.92 MB, free: 6.922 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.287/1.287, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7198/0.7198, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003268/0.000327, allocations: 8 kB / 0.5047 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.496/0.4964, allocations: 81.58 MB / 0.5843 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001388/0.4978, allocations: 1.128 MB / 0.5854 GB, free: 3.227 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00469/0.5025, allocations: 3.158 MB / 0.5885 GB, free: 1.133 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.5026, allocations: 5.312 kB / 0.5885 GB, free: 1.129 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.5027, allocations: 6.094 kB / 0.5885 GB, free: 1.125 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.5029, allocations: 25.72 kB / 0.5885 GB, free: 1.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002332/0.5053, allocations: 0.7732 MB / 0.5893 GB, free: 0.7969 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001774/0.5055, allocations: 113.2 kB / 0.5894 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.738e-05/0.5055, allocations: 4.188 kB / 0.5894 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.223e-05/0.5056, allocations: 32.61 kB / 0.5894 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.5059, allocations: 152.5 kB / 0.5896 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.037e-05/0.5059, allocations: 12.84 kB / 0.5896 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002545/0.5085, allocations: 1.4 MB / 0.591 GB, free: 296 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002895/0.5088, allocations: 262.6 kB / 0.5912 GB, free: 228 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002462/0.5091, allocations: 301.3 kB / 0.5915 GB, free: 16 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.511, allocations: 0.9949 MB / 0.5925 GB, free: 15.78 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.511, allocations: 0 / 0.5925 GB, free: 15.78 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5111, allocations: 4 kB / 0.5925 GB, free: 15.77 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.774e-06/0.5111, allocations: 0 / 0.5925 GB, free: 15.77 MB / 446.1 MB 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.01064/0.5217, allocations: 1.161 MB / 0.5936 GB, free: 14.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5218, allocations: 9.531 kB / 0.5936 GB, free: 14.91 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000383/0.5222, allocations: 86.02 kB / 0.5937 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.5226, allocations: 357.4 kB / 0.5941 GB, free: 14.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5227, allocations: 11.2 kB / 0.5941 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.644e-05/0.5227, allocations: 10.03 kB / 0.5941 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000592/0.5233, allocations: 388.9 kB / 0.5944 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5233, allocations: 0 / 0.5944 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.5234, allocations: 5.672 kB / 0.5944 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.5234, allocations: 1.312 kB / 0.5944 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005566/0.5239, allocations: 436.4 kB / 0.5949 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007892/0.5247, allocations: 0.6253 MB / 0.5955 GB, free: 14.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.5254, allocations: 0.5617 MB / 0.596 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003996/0.5258, allocations: 339.8 kB / 0.5963 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001162/0.527, allocations: 1.044 MB / 0.5974 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005361/0.5275, allocations: 407.9 kB / 0.5978 GB, free: 12.66 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.233e-06/0.5276, allocations: 0 / 0.5978 GB, free: 12.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001862/0.5294, allocations: 1.287 MB / 0.599 GB, free: 12.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.346e-05/0.5295, allocations: 88.47 kB / 0.5991 GB, free: 12.27 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001599/0.5311, allocations: 1.204 MB / 0.6003 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.524e-05/0.5312, allocations: 32.17 kB / 0.6003 GB, free: 11.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.5314, allocations: 260.5 kB / 0.6006 GB, free: 11.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.5315, allocations: 23.72 kB / 0.6006 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003061/0.5318, allocations: 292.6 kB / 0.6009 GB, free: 11.13 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.5319, allocations: 311 kB / 0.6012 GB, free: 10.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00153/0.5334, allocations: 1.359 MB / 0.6025 GB, free: 10.25 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001808/0.5353, allocations: 1.496 MB / 0.6039 GB, free: 9.574 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007053/0.5423, allocations: 3.542 MB / 0.6074 GB, free: 7.504 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.5423, allocations: 0 / 0.6074 GB, free: 7.504 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004158/0.5465, allocations: 3.964 MB / 0.6113 GB, free: 4.223 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.5466, allocations: 8 kB / 0.6113 GB, free: 4.215 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.5466, allocations: 4.031 kB / 0.6113 GB, free: 4.211 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.5466, allocations: 3.938 kB / 0.6113 GB, free: 4.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001373/0.5467, allocations: 19.98 kB / 0.6113 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.5468, allocations: 4 kB / 0.6113 GB, free: 4.184 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007785/0.5476, allocations: 224.3 kB / 0.6115 GB, free: 3.961 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.5476, allocations: 31.97 kB / 0.6116 GB, free: 3.93 MB / 446.1 MB 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.0004233/0.548, allocations: 237.6 kB / 0.6118 GB, free: 3.688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.458e-05/0.5481, allocations: 66.78 kB / 0.6118 GB, free: 3.621 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002754/0.5484, allocations: 74.84 kB / 0.6119 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.5484, allocations: 0 / 0.6119 GB, free: 3.539 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5484, allocations: 4 kB / 0.6119 GB, free: 3.535 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.5484, allocations: 3.984 kB / 0.6119 GB, free: 3.531 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.549, allocations: 496.6 kB / 0.6124 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.549, allocations: 0 / 0.6124 GB, free: 3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.676e-05/0.5491, allocations: 12.03 kB / 0.6124 GB, free: 2.988 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.5491, allocations: 4 kB / 0.6124 GB, free: 2.984 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.385e-05/0.5491, allocations: 3.984 kB / 0.6124 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5491, allocations: 0 / 0.6124 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.5491, allocations: 4 kB / 0.6124 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.55, allocations: 1.001 MB / 0.6134 GB, free: 1.953 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.5501, allocations: 151.9 kB / 0.6135 GB, free: 1.785 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.301e-05/0.5502, allocations: 3.984 kB / 0.6135 GB, free: 1.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.5503, allocations: 8 kB / 0.6136 GB, free: 1.773 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.5503, allocations: 7.984 kB / 0.6136 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-05/0.5504, allocations: 11.98 kB / 0.6136 GB, free: 1.754 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0006619/0.551, allocations: 0.6648 MB / 0.6142 GB, free: 1.082 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.551, allocations: 0 / 0.6142 GB, free: 1.082 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001517/0.5526, allocations: 399.9 kB / 0.6146 GB, free: 0.6914 MB / 446.1 MB 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.00114/0.5537, allocations: 486.7 kB / 0.6151 GB, free: 212 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.5558, allocations: 2.495 MB / 0.6175 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.5558, allocations: 0 / 0.6175 GB, free: 13.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003056/0.5562, allocations: 339.8 kB / 0.6178 GB, free: 13.37 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.5565, allocations: 40.36 kB / 0.6179 GB, free: 13.33 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002066/0.5586, allocations: 1.971 MB / 0.6198 GB, free: 11.32 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.559, allocations: 0.9643 MB / 0.6207 GB, free: 10.33 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.418e-05/0.5591, allocations: 27.36 kB / 0.6208 GB, free: 10.3 MB / 462.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5592, allocations: 0 / 0.6208 GB, free: 10.3 MB / 462.1 MB Notification: Performance of Templates: time 0.01411/0.5733, allocations: 10.48 MB / 0.631 GB, free: 15.82 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5metersCalcHelperMain.o] Error 1