Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0007325/0.0007326, allocations: 97.78 kB / 16.02 MB, free: 76 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.0008475/0.0008478, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.272/1.272, allocations: 223.2 MB / 240.9 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.73/0.73, allocations: 132.3 MB / 424.4 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 8 kB / 0.5047 GB, free: 3.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4948/0.4951, allocations: 81.58 MB / 0.5843 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.001828/0.497, allocations: 1.442 MB / 0.5857 GB, free: 3.008 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005648/0.5027, allocations: 4.314 MB / 0.59 GB, free: 80 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.5028, allocations: 1.062 kB / 0.59 GB, free: 80 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.5042, allocations: 351.2 kB / 0.5903 GB, free: 15.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001493/0.5043, allocations: 57.22 kB / 0.5903 GB, free: 15.9 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.507, allocations: 0.7602 MB / 0.5911 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.5073, allocations: 193.2 kB / 0.5913 GB, free: 15.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.68e-05/0.5074, allocations: 17.33 kB / 0.5913 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.092e-05/0.5075, allocations: 54.42 kB / 0.5913 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002916/0.5078, allocations: 172.6 kB / 0.5915 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.419e-05/0.5078, allocations: 14.53 kB / 0.5915 GB, free: 15.45 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.5107, allocations: 1.394 MB / 0.5929 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003255/0.5111, allocations: 280.7 kB / 0.5931 GB, free: 14.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003126/0.5114, allocations: 326 kB / 0.5935 GB, free: 14.73 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001853/0.5132, allocations: 1.049 MB / 0.5945 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5132, allocations: 0.875 kB / 0.5945 GB, free: 14.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5133, allocations: 0 / 0.5945 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.5133, allocations: 4 kB / 0.5945 GB, free: 14.47 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.01085/0.5241, allocations: 1.219 MB / 0.5957 GB, free: 13.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.5242, allocations: 8.781 kB / 0.5957 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000384/0.5246, allocations: 97.58 kB / 0.5958 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.5251, allocations: 396.3 kB / 0.5962 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.5251, allocations: 2.375 kB / 0.5962 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.553e-05/0.5252, allocations: 14 kB / 0.5962 GB, free: 13.2 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004329/0.5256, allocations: 393.5 kB / 0.5965 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5256, allocations: 0 / 0.5965 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.5256, allocations: 0.6562 kB / 0.5965 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.5257, allocations: 5.469 kB / 0.5966 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.5261, allocations: 436.7 kB / 0.597 GB, free: 13.09 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.5268, allocations: 0.6622 MB / 0.5976 GB, free: 12.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000542/0.5274, allocations: 0.5698 MB / 0.5982 GB, free: 12.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003262/0.5277, allocations: 337.3 kB / 0.5985 GB, free: 12.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001023/0.5288, allocations: 1.041 MB / 0.5995 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004778/0.5293, allocations: 402.1 kB / 0.5999 GB, free: 11.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.5293, allocations: 4.969 kB / 0.5999 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001569/0.5308, allocations: 1.295 MB / 0.6012 GB, free: 10.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/0.5309, allocations: 87.5 kB / 0.6012 GB, free: 10.65 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001567/0.5325, allocations: 1.281 MB / 0.6025 GB, free: 9.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.5325, allocations: 27.02 kB / 0.6025 GB, free: 9.883 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/0.5328, allocations: 288.5 kB / 0.6028 GB, free: 9.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.5328, allocations: 24.67 kB / 0.6028 GB, free: 9.609 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003087/0.5332, allocations: 287.5 kB / 0.6031 GB, free: 9.457 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.5333, allocations: 322.1 kB / 0.6034 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001635/0.5349, allocations: 1.355 MB / 0.6047 GB, free: 8.574 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001739/0.5367, allocations: 1.497 MB / 0.6062 GB, free: 7.898 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007413/0.5441, allocations: 3.533 MB / 0.6096 GB, free: 5.836 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.5441, allocations: 1.062 kB / 0.6096 GB, free: 5.836 MB / 446.1 MB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004045/0.5482, allocations: 3.977 MB / 0.6135 GB, free: 1.93 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.352e-05/0.5482, allocations: 11.98 kB / 0.6135 GB, free: 1.918 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.5482, allocations: 4.031 kB / 0.6135 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.5482, allocations: 0 / 0.6135 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.5484, allocations: 15.94 kB / 0.6136 GB, free: 1.898 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.5484, allocations: 7.984 kB / 0.6136 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006354/0.549, allocations: 228.3 kB / 0.6138 GB, free: 1.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.183e-05/0.5491, allocations: 27.98 kB / 0.6138 GB, free: 1.637 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.0003661/0.5495, allocations: 245.3 kB / 0.614 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.466e-05/0.5495, allocations: 74.69 kB / 0.6141 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002715/0.5498, allocations: 87.66 kB / 0.6142 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5498, allocations: 0 / 0.6142 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5498, allocations: 0 / 0.6142 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5498, allocations: 0 / 0.6142 GB, free: 1.219 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.5503, allocations: 0.5138 MB / 0.6147 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.5503, allocations: 0 / 0.6147 GB, free: 0.6602 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.5504, allocations: 11.92 kB / 0.6147 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.5504, allocations: 4.031 kB / 0.6147 GB, free: 0.6445 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.5504, allocations: 4 kB / 0.6147 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.5504, allocations: 0 / 0.6147 GB, free: 0.6406 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.397e-06/0.5505, allocations: 3.984 kB / 0.6147 GB, free: 0.6367 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.5513, allocations: 1.017 MB / 0.6157 GB, free: 15.59 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.5514, allocations: 163.7 kB / 0.6159 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.165e-05/0.5515, allocations: 0 / 0.6159 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001399/0.5517, allocations: 7.984 kB / 0.6159 GB, free: 15.41 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.699e-05/0.5517, allocations: 7.984 kB / 0.6159 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.199e-05/0.5518, allocations: 15.98 kB / 0.6159 GB, free: 15.38 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000756/0.5525, allocations: 0.7179 MB / 0.6166 GB, free: 14.66 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5525, allocations: 0 / 0.6166 GB, free: 14.66 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001728/0.5543, allocations: 399.9 kB / 0.617 GB, free: 14.27 MB / 462.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.001265/0.5555, allocations: 478.8 kB / 0.6174 GB, free: 13.79 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002133/0.5577, allocations: 2.495 MB / 0.6199 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5577, allocations: 4 kB / 0.6199 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003033/0.558, allocations: 343.7 kB / 0.6202 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004157/0.5584, allocations: 52.66 kB / 0.6203 GB, free: 10.9 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/0.5607, allocations: 2.123 MB / 0.6223 GB, free: 8.734 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.5612, allocations: 0.9842 MB / 0.6233 GB, free: 7.727 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.5613, allocations: 23.42 kB / 0.6233 GB, free: 7.707 MB / 462.1 MB Notification: Performance of SimCode: time 3.11e-07/0.5613, allocations: 4 kB / 0.6233 GB, free: 7.703 MB / 462.1 MB Notification: Performance of Templates: time 0.01514/0.5765, allocations: 11.14 MB / 0.6342 GB, free: 12.58 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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_SmallScaleValidationCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1