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.0009703/0.0009702, allocations: 96.14 kB / 15.87 MB, free: 16 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.0009634/0.0009635, allocations: 192.8 kB / 16.79 MB, free: 6.812 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.315/1.315, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7223/0.7223, allocations: 132.2 MB / 422.8 MB, free: 1.984 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001157/0.001157, allocations: 63.09 kB / 0.5017 GB, free: 4.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4672/0.4683, allocations: 80.21 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002466/0.4709, allocations: 1.468 MB / 0.5815 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004602/0.4755, allocations: 3.226 MB / 0.5847 GB, free: 1.391 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.4756, allocations: 3.938 kB / 0.5847 GB, free: 1.387 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001178/0.4757, allocations: 8.172 kB / 0.5847 GB, free: 1.383 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.476, allocations: 25.17 kB / 0.5847 GB, free: 1.371 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.4785, allocations: 0.7615 MB / 0.5854 GB, free: 1.066 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.4787, allocations: 121.6 kB / 0.5856 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.588e-05/0.4787, allocations: 4.766 kB / 0.5856 GB, free: 1.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.981e-05/0.4788, allocations: 36.03 kB / 0.5856 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.4791, allocations: 155.7 kB / 0.5857 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 4.393e-05/0.4792, allocations: 13.44 kB / 0.5858 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002649/0.4818, allocations: 1.392 MB / 0.5871 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003054/0.4821, allocations: 270.6 kB / 0.5874 GB, free: 488 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.4824, allocations: 278.9 kB / 0.5876 GB, free: 304 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001764/0.4842, allocations: 0.9864 MB / 0.5886 GB, free: 68 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4842, allocations: 0 / 0.5886 GB, free: 68 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.4842, allocations: 0 / 0.5886 GB, free: 68 kB / 430.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.4842, allocations: 1.062 kB / 0.5886 GB, free: 68 kB / 430.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.007931/0.4922, allocations: 1.217 MB / 0.5898 GB, free: 15.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/0.4922, allocations: 14.41 kB / 0.5898 GB, free: 15.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004444/0.4927, allocations: 85.02 kB / 0.5899 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004695/0.4932, allocations: 358.7 kB / 0.5902 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.4932, allocations: 2.656 kB / 0.5902 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.32e-05/0.4932, allocations: 9.906 kB / 0.5902 GB, free: 14.84 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005935/0.4938, allocations: 395.8 kB / 0.5906 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.4939, allocations: 0 / 0.5906 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.437e-05/0.4939, allocations: 1.938 kB / 0.5906 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.4939, allocations: 1.891 kB / 0.5906 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006182/0.4945, allocations: 432.5 kB / 0.591 GB, free: 14.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008057/0.4953, allocations: 0.632 MB / 0.5916 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006506/0.496, allocations: 0.5664 MB / 0.5922 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003947/0.4964, allocations: 338.6 kB / 0.5925 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.4976, allocations: 1.03 MB / 0.5935 GB, free: 13.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005039/0.4981, allocations: 408.2 kB / 0.5939 GB, free: 13.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.4981, allocations: 0 / 0.5939 GB, free: 13.08 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001699/0.4998, allocations: 1.296 MB / 0.5952 GB, free: 12.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.4999, allocations: 78.61 kB / 0.5953 GB, free: 12.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.5012, allocations: 1.202 MB / 0.5964 GB, free: 12.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/0.5013, allocations: 35.2 kB / 0.5965 GB, free: 11.97 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.5015, allocations: 257.2 kB / 0.5967 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.817e-05/0.5015, allocations: 26.8 kB / 0.5967 GB, free: 11.72 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003424/0.5019, allocations: 348.3 kB / 0.5971 GB, free: 11.56 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.502, allocations: 311.3 kB / 0.5974 GB, free: 11.25 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.5034, allocations: 1.364 MB / 0.5987 GB, free: 10.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001506/0.5049, allocations: 1.496 MB / 0.6002 GB, free: 10 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007499/0.5124, allocations: 3.542 MB / 0.6036 GB, free: 7.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.5125, allocations: 0 / 0.6036 GB, free: 7.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004577/0.5171, allocations: 3.964 MB / 0.6075 GB, free: 5.027 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.5171, allocations: 11.94 kB / 0.6075 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.89e-05/0.5171, allocations: 0 / 0.6075 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.5172, allocations: 0 / 0.6075 GB, free: 5.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.5173, allocations: 19.92 kB / 0.6075 GB, free: 4.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.5173, allocations: 4 kB / 0.6075 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/0.5181, allocations: 224.3 kB / 0.6077 GB, free: 4.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.5181, allocations: 32.02 kB / 0.6078 GB, free: 4.738 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.0003913/0.5185, allocations: 237.6 kB / 0.608 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.5186, allocations: 62.78 kB / 0.6081 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002851/0.5189, allocations: 78.83 kB / 0.6081 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.5189, allocations: 0 / 0.6081 GB, free: 4.348 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.5189, allocations: 8.031 kB / 0.6081 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5189, allocations: 4 kB / 0.6081 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004899/0.5194, allocations: 0.4928 MB / 0.6086 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.5194, allocations: 0 / 0.6086 GB, free: 3.797 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.091e-05/0.5195, allocations: 11.97 kB / 0.6086 GB, free: 3.785 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.5195, allocations: 4 kB / 0.6086 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.5195, allocations: 0 / 0.6086 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.5195, allocations: 0 / 0.6086 GB, free: 3.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.5195, allocations: 4 kB / 0.6086 GB, free: 3.777 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008229/0.5204, allocations: 1.001 MB / 0.6096 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.631e-05/0.5205, allocations: 147.9 kB / 0.6098 GB, free: 2.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.5206, allocations: 8 kB / 0.6098 GB, free: 2.582 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5207, allocations: 7.984 kB / 0.6098 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.963e-05/0.5207, allocations: 0 / 0.6098 GB, free: 2.574 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.8e-05/0.5208, allocations: 19.97 kB / 0.6098 GB, free: 2.555 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0007395/0.5215, allocations: 0.6687 MB / 0.6104 GB, free: 1.879 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5215, allocations: 0 / 0.6104 GB, free: 1.879 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001801/0.5233, allocations: 399.9 kB / 0.6108 GB, free: 1.488 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.001338/0.5247, allocations: 474.8 kB / 0.6113 GB, free: 1.016 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.002244/0.5269, allocations: 2.495 MB / 0.6137 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.527, allocations: 0 / 0.6137 GB, free: 14.51 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.5273, allocations: 343.7 kB / 0.614 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003427/0.5277, allocations: 32.44 kB / 0.6141 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002226/0.5299, allocations: 1.962 MB / 0.616 GB, free: 12.14 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004775/0.5304, allocations: 0.9643 MB / 0.6169 GB, free: 11.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.5305, allocations: 27.41 kB / 0.617 GB, free: 11.13 MB / 462.1 MB Notification: Performance of SimCode: time 3.61e-07/0.5305, allocations: 0 / 0.617 GB, free: 11.13 MB / 462.1 MB Notification: Performance of Templates: time 0.01603/0.5465, allocations: 10.53 MB / 0.6272 GB, free: 0.6055 MB / 462.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