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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008665/0.0008663, allocations: 100.5 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.0009664/0.0009664, allocations: 173.9 kB / 16.58 MB, free: 6.422 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.804/1.804, allocations: 205.4 MB / 222.8 MB, free: 5.617 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.839/1.839, allocations: 292.7 MB / 0.5505 GB, free: 14.57 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.0006/0.0006003, allocations: 19.19 kB / 0.6744 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3212/0.3218, allocations: 116.3 MB / 0.788 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001584/0.3234, allocations: 1.146 MB / 0.7891 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004146/0.3276, allocations: 2.752 MB / 0.7918 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.981e-05/0.3277, allocations: 0 / 0.7918 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.3277, allocations: 4 kB / 0.7918 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.623e-05/0.3278, allocations: 19.84 kB / 0.7918 GB, free: 7.965 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/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003423/0.3312, allocations: 1.315 MB / 0.7931 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001003/0.3313, allocations: 47.67 kB / 0.7931 GB, free: 6.629 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.288e-05/0.3314, allocations: 4.281 kB / 0.7931 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.317e-05/0.3314, allocations: 11.94 kB / 0.7932 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.335e-05/0.3315, allocations: 23.91 kB / 0.7932 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.3315, allocations: 4 kB / 0.7932 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001928/0.3334, allocations: 1.26 MB / 0.7944 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.226e-05/0.3335, allocations: 3.984 kB / 0.7944 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.3335, allocations: 33.64 kB / 0.7944 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000899/0.3344, allocations: 0.7213 MB / 0.7952 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3344, allocations: 0 / 0.7952 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.846e-06/0.3344, allocations: 8 kB / 0.7952 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3344, allocations: 0 / 0.7952 GB, free: 4.551 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.0005606/0.335, allocations: 0.5145 MB / 0.7957 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.992e-05/0.3351, allocations: 8.031 kB / 0.7957 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.239e-05/0.3351, allocations: 87.12 kB / 0.7958 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.3353, allocations: 249 kB / 0.796 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.158e-05/0.3354, allocations: 150.6 kB / 0.7961 GB, free: 3.465 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.3354, allocations: 158.6 kB / 0.7963 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.402e-05/0.3355, allocations: 104.9 kB / 0.7964 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.804e-05/0.3355, allocations: 75.28 kB / 0.7965 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.3356, allocations: 150.6 kB / 0.7966 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.556e-05/0.3357, allocations: 150.6 kB / 0.7967 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.023e-05/0.3357, allocations: 158.6 kB / 0.7969 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003095/0.336, allocations: 473.7 kB / 0.7973 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.559e-05/0.3361, allocations: 169.1 kB / 0.7975 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.3362, allocations: 80.14 kB / 0.7976 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.929e-05/0.3362, allocations: 79.27 kB / 0.7977 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.3363, allocations: 113.8 kB / 0.7978 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3363, allocations: 0 / 0.7978 GB, free: 1.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.401e-05/0.3364, allocations: 29.7 kB / 0.7978 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.3364, allocations: 130.6 kB / 0.7979 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.3366, allocations: 137.9 kB / 0.7981 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3366, allocations: 25.7 kB / 0.7981 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.122e-05/0.3367, allocations: 92.12 kB / 0.7982 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.3367, allocations: 4 kB / 0.7982 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.3367, allocations: 0 / 0.7982 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3368, allocations: 322.8 kB / 0.7985 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.012e-05/0.3368, allocations: 0 / 0.7985 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.573e-05/0.3369, allocations: 8 kB / 0.7985 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.3369, allocations: 4 kB / 0.7985 GB, free: 0.918 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3369, allocations: 4 kB / 0.7985 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001271/0.337, allocations: 49.59 kB / 0.7985 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3371, allocations: 4 kB / 0.7985 GB, free: 0.8555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.3371, allocations: 8.062 kB / 0.7986 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.3371, allocations: 3.938 kB / 0.7986 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.827e-06/0.3371, allocations: 8.062 kB / 0.7986 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.3371, allocations: 3.938 kB / 0.7986 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.978e-05/0.3371, allocations: 0 / 0.7986 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.762e-06/0.3372, allocations: 0 / 0.7986 GB, free: 0.832 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.0001202/0.3373, allocations: 197.1 kB / 0.7988 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.756e-05/0.3374, allocations: 104.9 kB / 0.7989 GB, free: 0.5195 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.384e-05/0.3375, allocations: 116.6 kB / 0.799 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.593e-05/0.3375, allocations: 180.2 kB / 0.7991 GB, free: 216 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.494e-05/0.3376, allocations: 180.3 kB / 0.7993 GB, free: 28 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001194/0.3378, allocations: 192.2 kB / 0.7995 GB, free: 15.83 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3381, allocations: 409.2 kB / 0.7999 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.77e-05/0.3381, allocations: 109 kB / 0.8 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.3382, allocations: 104.9 kB / 0.8001 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-05/0.3383, allocations: 184.2 kB / 0.8003 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.474e-05/0.3384, allocations: 180.2 kB / 0.8004 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.487e-05/0.3385, allocations: 180.5 kB / 0.8006 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.004e-05/0.3385, allocations: 180.2 kB / 0.8008 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001519/0.3387, allocations: 315.8 kB / 0.8011 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.833e-05/0.3388, allocations: 189.9 kB / 0.8013 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.916e-05/0.3389, allocations: 176.3 kB / 0.8014 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.185e-05/0.339, allocations: 104.9 kB / 0.8015 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/0.3391, allocations: 184.2 kB / 0.8017 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.615e-05/0.3391, allocations: 109 kB / 0.8018 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.846e-05/0.3392, allocations: 102.4 kB / 0.8019 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3392, allocations: 0 / 0.8019 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0007241/0.3399, allocations: 275.8 kB / 0.8022 GB, free: 12.91 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.0011/0.341, allocations: 0.5181 MB / 0.8027 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.3411, allocations: 53.62 kB / 0.8027 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.3411, allocations: 0 / 0.8027 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/0.3412, allocations: 0 / 0.8027 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004348/0.3416, allocations: 0.5302 MB / 0.8032 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003206/0.3419, allocations: 289.5 kB / 0.8035 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.3422, allocations: 0.6848 MB / 0.8042 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.289e-05/0.3422, allocations: 7.438 kB / 0.8042 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of SimCode: time 2.31e-07/0.3422, allocations: 0 / 0.8042 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of Templates: time 0.008009/0.3502, allocations: 4.802 MB / 0.8089 GB, free: 5.973 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.InternalResistancesTwoUTubeCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1