Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008251/0.0008251, allocations: 93.03 kB / 16.33 MB, free: 6.41 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.0008972/0.0008972, allocations: 186.1 kB / 17.22 MB, free: 6.293 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.488/1.488, allocations: 223.2 MB / 241.2 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6963/0.6963, allocations: 114.4 MB / 406.7 MB, free: 3.953 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003281/0.0003281, allocations: 12 kB / 494.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1871/0.1875, allocations: 77.27 MB / 0.5584 GB, free: 10.89 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00187/0.1894, allocations: 1.414 MB / 0.5597 GB, free: 9.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.006916/0.1963, allocations: 4.99 MB / 0.5646 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001121/0.1965, allocations: 0 / 0.5646 GB, free: 4.457 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001066/0.1976, allocations: 314.7 kB / 0.5649 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1977, allocations: 51.73 kB / 0.565 GB, free: 4.098 MB / 430.1 MB [/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.003282/0.201, allocations: 1.134 MB / 0.5661 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002539/0.2012, allocations: 167.4 kB / 0.5662 GB, free: 2.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.948e-05/0.2013, allocations: 9.562 kB / 0.5662 GB, free: 2.793 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.737e-05/0.2014, allocations: 63.77 kB / 0.5663 GB, free: 2.73 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.2016, allocations: 191.6 kB / 0.5665 GB, free: 2.543 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.703e-05/0.2017, allocations: 16 kB / 0.5665 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002879/0.2046, allocations: 1.946 MB / 0.5684 GB, free: 0.5781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.2048, allocations: 275.2 kB / 0.5687 GB, free: 316 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.2049, allocations: 121.2 kB / 0.5688 GB, free: 188 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.2066, allocations: 1.454 MB / 0.5702 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2066, allocations: 0 / 0.5702 GB, free: 14.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2066, allocations: 0 / 0.5702 GB, free: 14.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.575e-06/0.2067, allocations: 0 / 0.5702 GB, free: 14.73 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.006955/0.2136, allocations: 1.316 MB / 0.5715 GB, free: 13.36 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.2137, allocations: 12.02 kB / 0.5715 GB, free: 13.35 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.214, allocations: 94.66 kB / 0.5716 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.2145, allocations: 405 kB / 0.572 GB, free: 12.81 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.59e-05/0.2145, allocations: 4 kB / 0.572 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.543e-05/0.2146, allocations: 8 kB / 0.572 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004295/0.215, allocations: 387.1 kB / 0.5724 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.215, allocations: 0 / 0.5724 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2151, allocations: 8 kB / 0.5724 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.2151, allocations: 3.984 kB / 0.5724 GB, free: 12.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004312/0.2155, allocations: 439.7 kB / 0.5728 GB, free: 11.96 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.2161, allocations: 0.6576 MB / 0.5734 GB, free: 11.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.2167, allocations: 0.5672 MB / 0.574 GB, free: 10.67 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.217, allocations: 337.7 kB / 0.5743 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009809/0.218, allocations: 1.032 MB / 0.5753 GB, free: 9.082 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003805/0.2184, allocations: 416.7 kB / 0.5757 GB, free: 8.656 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 1.353e-06/0.2184, allocations: 3.938 kB / 0.5757 GB, free: 8.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.001279/0.2197, allocations: 1.293 MB / 0.577 GB, free: 7.352 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.2197, allocations: 85.12 kB / 0.5771 GB, free: 7.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001212/0.2209, allocations: 1.282 MB / 0.5783 GB, free: 5.957 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.221, allocations: 29.7 kB / 0.5783 GB, free: 5.922 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.2212, allocations: 281.4 kB / 0.5786 GB, free: 5.641 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.617e-05/0.2212, allocations: 27.64 kB / 0.5786 GB, free: 5.613 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.239e-05/0.2213, allocations: 0 / 0.5786 GB, free: 5.613 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001945/0.2215, allocations: 427.9 kB / 0.579 GB, free: 5.188 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/0.2227, allocations: 1.377 MB / 0.5804 GB, free: 3.809 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.224, allocations: 1.509 MB / 0.5819 GB, free: 2.289 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.2255, allocations: 1.91 MB / 0.5837 GB, free: 372 kB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.2255, allocations: 0 / 0.5837 GB, free: 372 kB / 446.1 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.3934/0.619, allocations: 3.981 MB / 0.5876 GB, free: 31.04 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.39e-05/0.6191, allocations: 9.375 kB / 0.5876 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.6191, allocations: 2.969 kB / 0.5876 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.6191, allocations: 3.594 kB / 0.5876 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000166/0.6193, allocations: 19.53 kB / 0.5876 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.161e-05/0.6193, allocations: 1.312 kB / 0.5876 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/0.6199, allocations: 229.4 kB / 0.5879 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.931e-05/0.62, allocations: 23.83 kB / 0.5879 GB, free: 30.89 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: 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.0004306/0.6204, allocations: 251.6 kB / 0.5881 GB, free: 30.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.876e-05/0.6205, allocations: 74.42 kB / 0.5882 GB, free: 30.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.6208, allocations: 86.34 kB / 0.5883 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.6209, allocations: 0.9375 kB / 0.5883 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.6209, allocations: 1.719 kB / 0.5883 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6209, allocations: 1.359 kB / 0.5883 GB, free: 30.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.6215, allocations: 0.5162 MB / 0.5888 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6215, allocations: 1.672 kB / 0.5888 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.748e-05/0.6216, allocations: 11.31 kB / 0.5888 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.6216, allocations: 1.031 kB / 0.5888 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.6217, allocations: 7.531 kB / 0.5888 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.6217, allocations: 0.7812 kB / 0.5888 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.594e-06/0.6217, allocations: 2.562 kB / 0.5888 GB, free: 30.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/0.6232, allocations: 1.016 MB / 0.5898 GB, free: 30.26 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.6233, allocations: 159.8 kB / 0.59 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.146e-05/0.6234, allocations: 4.109 kB / 0.59 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.6236, allocations: 8.266 kB / 0.59 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.636e-05/0.6236, allocations: 5.875 kB / 0.59 GB, free: 30.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.975e-05/0.6237, allocations: 12.66 kB / 0.59 GB, free: 30.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001204/0.6249, allocations: 0.7153 MB / 0.5907 GB, free: 29.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.6249, allocations: 1.406 kB / 0.5907 GB, free: 29.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002498/0.6274, allocations: 0.5729 MB / 0.5912 GB, free: 29.83 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 (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.002181/0.6296, allocations: 0.6836 MB / 0.5919 GB, free: 29.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003558/0.6332, allocations: 2.551 MB / 0.5944 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6332, allocations: 0 / 0.5944 GB, free: 28.67 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005769/0.6338, allocations: 340.6 kB / 0.5947 GB, free: 28.66 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.6344, allocations: 57.81 kB / 0.5948 GB, free: 28.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003883/0.6383, allocations: 2.033 MB / 0.5968 GB, free: 27.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006802/0.639, allocations: 0.988 MB / 0.5977 GB, free: 27.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001976/0.6392, allocations: 32.33 kB / 0.5978 GB, free: 27.16 MB / 446.1 MB Notification: Performance of SimCode: time 1.653e-06/0.6392, allocations: 0 / 0.5978 GB, free: 27.16 MB / 446.1 MB Notification: Performance of Templates: time 0.04054/0.6798, allocations: 14.48 MB / 0.6119 GB, free: 22.14 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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 OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1