Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0008946/0.0008945, allocations: 99.12 kB / 15.71 MB, free: 452 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.001222/0.001222, allocations: 176.5 kB / 16.58 MB, free: 6.871 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.497/1.497, allocations: 223.3 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.141/1.141, allocations: 143.4 MB / 435.1 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005039/0.0005042, allocations: 20 kB / 0.5167 GB, free: 11.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2233/0.2239, allocations: 83.41 MB / 0.5981 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.002361/0.2263, allocations: 1.425 MB / 0.5995 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007592/0.2339, allocations: 4.98 MB / 0.6044 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.2341, allocations: 0 / 0.6044 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.2354, allocations: 322.7 kB / 0.6047 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.2356, allocations: 51.73 kB / 0.6047 GB, free: 0.9414 MB / 0.4981 GB [/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.4244/0.66, allocations: 1.132 MB / 0.6058 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0004342/0.6604, allocations: 173.7 kB / 0.606 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.364e-05/0.6605, allocations: 8.094 kB / 0.606 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.535e-05/0.6606, allocations: 60.59 kB / 0.6061 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002778/0.6609, allocations: 194.4 kB / 0.6062 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.144e-05/0.661, allocations: 13.66 kB / 0.6063 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/0.6647, allocations: 1.954 MB / 0.6082 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002093/0.6649, allocations: 265.6 kB / 0.6084 GB, free: 35.43 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001268/0.665, allocations: 125.1 kB / 0.6085 GB, free: 35.4 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.6674, allocations: 1.458 MB / 0.61 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6674, allocations: 0.6875 kB / 0.61 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.735e-06/0.6675, allocations: 2.812 kB / 0.61 GB, free: 35.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.6675, allocations: 1.156 kB / 0.61 GB, free: 35.29 MB / 0.4981 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.0074/0.6749, allocations: 1.311 MB / 0.6112 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6749, allocations: 9.688 kB / 0.6113 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003766/0.6753, allocations: 101.3 kB / 0.6114 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004441/0.6758, allocations: 398.1 kB / 0.6117 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.6758, allocations: 5.109 kB / 0.6117 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.26e-05/0.6759, allocations: 10.98 kB / 0.6117 GB, free: 34.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004032/0.6763, allocations: 383.9 kB / 0.6121 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.6763, allocations: 4.031 kB / 0.6121 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.6763, allocations: 3.375 kB / 0.6121 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.6763, allocations: 1.031 kB / 0.6121 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003899/0.6767, allocations: 435.9 kB / 0.6125 GB, free: 34.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006143/0.6773, allocations: 0.6729 MB / 0.6132 GB, free: 33.73 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004663/0.6778, allocations: 0.5631 MB / 0.6137 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002777/0.6781, allocations: 338.8 kB / 0.6141 GB, free: 33.67 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008413/0.679, allocations: 1.037 MB / 0.6151 GB, free: 32.54 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003787/0.6793, allocations: 407.1 kB / 0.6155 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 2.214e-06/0.6794, allocations: 0 / 0.6155 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.001361/0.6807, allocations: 1.296 MB / 0.6167 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.6808, allocations: 83.83 kB / 0.6168 GB, free: 32.29 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.682, allocations: 1.28 MB / 0.6181 GB, free: 32.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.682, allocations: 32.02 kB / 0.6181 GB, free: 32.03 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.6822, allocations: 282.8 kB / 0.6184 GB, free: 31.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.6823, allocations: 24.47 kB / 0.6184 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.6823, allocations: 3.5 kB / 0.6184 GB, free: 31.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001366/0.6824, allocations: 425.8 kB / 0.6188 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001204/0.6836, allocations: 1.368 MB / 0.6201 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.6849, allocations: 1.506 MB / 0.6216 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001537/0.6864, allocations: 1.914 MB / 0.6235 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.6864, allocations: 2.078 kB / 0.6235 GB, free: 31.03 MB / 0.4981 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003876/0.6903, allocations: 3.991 MB / 0.6274 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.771e-05/0.6904, allocations: 9.281 kB / 0.6274 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.431e-05/0.6904, allocations: 6.094 kB / 0.6274 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.6904, allocations: 2.625 kB / 0.6274 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/0.6906, allocations: 22.22 kB / 0.6274 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.6906, allocations: 2.625 kB / 0.6274 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007191/0.6913, allocations: 230.2 kB / 0.6276 GB, free: 29.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.789e-05/0.6914, allocations: 21.8 kB / 0.6277 GB, free: 29.78 MB / 0.4981 GB 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.0003972/0.6918, allocations: 252.3 kB / 0.6279 GB, free: 29.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.566e-05/0.6919, allocations: 74.98 kB / 0.628 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.6922, allocations: 90.23 kB / 0.628 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.6922, allocations: 0 / 0.628 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.6922, allocations: 2.625 kB / 0.6281 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.6922, allocations: 0 / 0.6281 GB, free: 29.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005425/0.6928, allocations: 0.513 MB / 0.6286 GB, free: 29.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6928, allocations: 3.984 kB / 0.6286 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.475e-05/0.6929, allocations: 9.25 kB / 0.6286 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.6929, allocations: 0 / 0.6286 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.938e-05/0.6929, allocations: 11.92 kB / 0.6286 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6929, allocations: 0 / 0.6286 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.6929, allocations: 2.625 kB / 0.6286 GB, free: 29.35 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001116/0.6941, allocations: 1.006 MB / 0.6296 GB, free: 29.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001178/0.6942, allocations: 161.8 kB / 0.6297 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.504e-05/0.6943, allocations: 6.234 kB / 0.6297 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.6944, allocations: 3.453 kB / 0.6297 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.6945, allocations: 9.047 kB / 0.6297 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.213e-05/0.6945, allocations: 15.06 kB / 0.6297 GB, free: 29.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0009208/0.6954, allocations: 0.7097 MB / 0.6304 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.21e-07/0.6954, allocations: 4 kB / 0.6304 GB, free: 28.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.002502/0.698, allocations: 0.5773 MB / 0.631 GB, free: 28.88 MB / 0.4981 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 (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.00221/0.7002, allocations: 0.687 MB / 0.6317 GB, free: 28.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002991/0.7032, allocations: 2.551 MB / 0.6342 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.7032, allocations: 0 / 0.6342 GB, free: 28.01 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004691/0.7037, allocations: 345.1 kB / 0.6345 GB, free: 28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.7042, allocations: 54.05 kB / 0.6346 GB, free: 27.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002752/0.707, allocations: 2.026 MB / 0.6365 GB, free: 27.22 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.7075, allocations: 0.994 MB / 0.6375 GB, free: 26.52 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.7076, allocations: 29.31 kB / 0.6375 GB, free: 26.51 MB / 0.4981 GB Notification: Performance of SimCode: time 9.52e-07/0.7076, allocations: 0 / 0.6375 GB, free: 26.51 MB / 0.4981 GB Notification: Performance of Templates: time 0.03459/0.7422, allocations: 14.65 MB / 0.6518 GB, free: 24.71 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile make -j1 -f BuildSysPro_BuildSysPro.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidationCalcHelperMain.o] Error 1