Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008655/0.0008656, allocations: 102.4 kB / 15.71 MB, free: 460 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.0009935/0.0009936, allocations: 180.1 kB / 16.58 MB, free: 6.137 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.784/1.784, allocations: 205.4 MB / 222.8 MB, free: 5.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.92/1.92, allocations: 292.7 MB / 0.5505 GB, free: 14.55 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005472/0.0005472, allocations: 17.59 kB / 0.6744 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.292, allocations: 116.3 MB / 0.788 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001535/0.2935, allocations: 1.138 MB / 0.7891 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00411/0.2977, allocations: 2.705 MB / 0.7917 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.368e-05/0.2977, allocations: 0 / 0.7917 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.2978, allocations: 3.984 kB / 0.7917 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.566e-05/0.2978, allocations: 15.81 kB / 0.7918 GB, free: 7.996 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003454/0.3013, allocations: 1.292 MB / 0.793 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.766e-05/0.3014, allocations: 43.73 kB / 0.7931 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.818e-05/0.3015, allocations: 4 kB / 0.7931 GB, free: 6.684 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.788e-05/0.3015, allocations: 15.92 kB / 0.7931 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.107e-05/0.3015, allocations: 15.92 kB / 0.7931 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.063e-05/0.3015, allocations: 0 / 0.7931 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001844/0.3034, allocations: 1.225 MB / 0.7943 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.3034, allocations: 15.88 kB / 0.7943 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.3035, allocations: 29.69 kB / 0.7943 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009168/0.3044, allocations: 0.706 MB / 0.795 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3044, allocations: 4 kB / 0.795 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3044, allocations: 0 / 0.795 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.3044, allocations: 0 / 0.795 GB, free: 4.664 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005564/0.305, allocations: 0.5067 MB / 0.7955 GB, free: 4.109 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.305, allocations: 8.031 kB / 0.7955 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.395e-05/0.3051, allocations: 83.19 kB / 0.7956 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.3053, allocations: 254.2 kB / 0.7959 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.79e-05/0.3054, allocations: 158.5 kB / 0.796 GB, free: 3.574 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.183e-05/0.3054, allocations: 150.6 kB / 0.7961 GB, free: 3.426 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.184e-05/0.3055, allocations: 105 kB / 0.7962 GB, free: 3.316 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.3055, allocations: 79.28 kB / 0.7963 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.875e-05/0.3056, allocations: 150.6 kB / 0.7965 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-05/0.3056, allocations: 150.6 kB / 0.7966 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.599e-05/0.3057, allocations: 154.6 kB / 0.7968 GB, free: 2.789 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002885/0.306, allocations: 473.7 kB / 0.7972 GB, free: 2.277 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.12e-05/0.3061, allocations: 169.1 kB / 0.7974 GB, free: 2.102 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.857e-05/0.3061, allocations: 80.14 kB / 0.7974 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.3061, allocations: 79.28 kB / 0.7975 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.463e-05/0.3062, allocations: 109.8 kB / 0.7976 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3062, allocations: 0 / 0.7976 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.946e-05/0.3063, allocations: 29.64 kB / 0.7977 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.3064, allocations: 130.6 kB / 0.7978 GB, free: 1.648 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000155/0.3065, allocations: 133.9 kB / 0.7979 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.689e-05/0.3065, allocations: 25.7 kB / 0.7979 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.357e-05/0.3066, allocations: 96.12 kB / 0.798 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.3066, allocations: 0 / 0.798 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.3066, allocations: 0 / 0.798 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3068, allocations: 322.8 kB / 0.7983 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.3068, allocations: 0 / 0.7983 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.708e-05/0.3068, allocations: 11.98 kB / 0.7983 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.849e-05/0.3068, allocations: 4 kB / 0.7983 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.3068, allocations: 0 / 0.7983 GB, free: 1.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001256/0.307, allocations: 49.64 kB / 0.7984 GB, free: 0.9844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.307, allocations: 8.062 kB / 0.7984 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.307, allocations: 0 / 0.7984 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.307, allocations: 4 kB / 0.7984 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.915e-06/0.3071, allocations: 3.984 kB / 0.7984 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.3071, allocations: 0 / 0.7984 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.109e-05/0.3071, allocations: 3.906 kB / 0.7984 GB, free: 0.9648 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.3071, allocations: 3.938 kB / 0.7984 GB, free: 0.9609 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001096/0.3072, allocations: 189.1 kB / 0.7986 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.235e-05/0.3073, allocations: 105 kB / 0.7987 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.72e-05/0.3074, allocations: 120.8 kB / 0.7988 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.305e-05/0.3074, allocations: 180.2 kB / 0.799 GB, free: 352 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.226e-05/0.3075, allocations: 180.3 kB / 0.7992 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-05/0.3076, allocations: 180.2 kB / 0.7993 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002343/0.3078, allocations: 413.2 kB / 0.7997 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.094e-05/0.3079, allocations: 116.9 kB / 0.7998 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.3079, allocations: 105 kB / 0.7999 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.226e-05/0.308, allocations: 176.3 kB / 0.8001 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.238e-05/0.3081, allocations: 180.2 kB / 0.8003 GB, free: 14.92 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.194e-05/0.3081, allocations: 180.5 kB / 0.8004 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.851e-05/0.3082, allocations: 184.2 kB / 0.8006 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001411/0.3083, allocations: 319.6 kB / 0.8009 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.222e-05/0.3084, allocations: 186 kB / 0.8011 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.3085, allocations: 176.3 kB / 0.8013 GB, free: 13.83 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.1e-05/0.3086, allocations: 108.9 kB / 0.8014 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/0.3087, allocations: 188.2 kB / 0.8016 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.206e-05/0.3087, allocations: 109 kB / 0.8017 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.797e-05/0.3088, allocations: 98.08 kB / 0.8018 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3088, allocations: 0 / 0.8018 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007567/0.3096, allocations: 275.8 kB / 0.802 GB, free: 13.05 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001026/0.3106, allocations: 0.5109 MB / 0.8025 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001066/0.3107, allocations: 41.69 kB / 0.8026 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3107, allocations: 0 / 0.8026 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.306e-06/0.3107, allocations: 7.938 kB / 0.8026 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004374/0.3112, allocations: 0.5224 MB / 0.8031 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003307/0.3115, allocations: 289.4 kB / 0.8033 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002562/0.3118, allocations: 0.6848 MB / 0.804 GB, free: 10.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.42e-05/0.3118, allocations: 11.44 kB / 0.804 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.3118, allocations: 0 / 0.804 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of Templates: time 0.008409/0.3202, allocations: 4.693 MB / 0.8086 GB, free: 6.227 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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 OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeCalcHelperMain.o] Error 1