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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008279/0.008279, allocations: 100.2 kB / 15.87 MB, free: 5.867 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.001583/0.001583, allocations: 188.6 kB / 16.79 MB, free: 5.809 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.669/1.669, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.76/1.76, allocations: 292.3 MB / 0.5491 GB, free: 13.6 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.001398/0.001398, allocations: 65.81 kB / 0.6715 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3075, allocations: 114.5 MB / 0.7834 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002996/0.3106, allocations: 1.488 MB / 0.7848 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005177/0.3158, allocations: 3.053 MB / 0.7878 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.3159, allocations: 3.938 kB / 0.7878 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.522e-05/0.3159, allocations: 3.938 kB / 0.7878 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.043e-05/0.3161, allocations: 15.84 kB / 0.7878 GB, free: 9.309 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.004357/0.3205, allocations: 1.426 MB / 0.7892 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.366e-05/0.3206, allocations: 51.67 kB / 0.7893 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.411e-05/0.3206, allocations: 0 / 0.7893 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.3207, allocations: 11.94 kB / 0.7893 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.3207, allocations: 19.92 kB / 0.7893 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.157e-05/0.3207, allocations: 0 / 0.7893 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002439/0.3232, allocations: 1.443 MB / 0.7907 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.3232, allocations: 7.938 kB / 0.7907 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.952e-05/0.3233, allocations: 19.86 kB / 0.7908 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001151/0.3244, allocations: 0.7762 MB / 0.7915 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.3245, allocations: 4 kB / 0.7915 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3245, allocations: 0 / 0.7915 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3245, allocations: 0 / 0.7915 GB, free: 5.562 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.0007215/0.3252, allocations: 0.5185 MB / 0.792 GB, free: 4.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.407e-05/0.3253, allocations: 11.98 kB / 0.792 GB, free: 4.984 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.3254, allocations: 76.22 kB / 0.7921 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.3256, allocations: 257.8 kB / 0.7923 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.78e-05/0.3257, allocations: 154.9 kB / 0.7925 GB, free: 4.469 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.988e-05/0.3257, allocations: 150.9 kB / 0.7926 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.167e-05/0.3258, allocations: 105.1 kB / 0.7927 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.55e-05/0.3259, allocations: 75.28 kB / 0.7928 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.074e-05/0.3259, allocations: 154.5 kB / 0.793 GB, free: 3.984 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-05/0.326, allocations: 158.5 kB / 0.7931 GB, free: 3.828 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.006e-05/0.3261, allocations: 166.5 kB / 0.7933 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.3265, allocations: 457.8 kB / 0.7937 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.3266, allocations: 177.1 kB / 0.7939 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.589e-05/0.3266, allocations: 80.14 kB / 0.794 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.3267, allocations: 79.28 kB / 0.794 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.3267, allocations: 113.8 kB / 0.7941 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.643e-06/0.3267, allocations: 0 / 0.7941 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 8.89e-05/0.3268, allocations: 33.64 kB / 0.7942 GB, free: 2.664 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.7e-05/0.3269, allocations: 126.7 kB / 0.7943 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001897/0.3271, allocations: 133.7 kB / 0.7944 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3271, allocations: 25.7 kB / 0.7944 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.893e-05/0.3272, allocations: 96.12 kB / 0.7945 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.976e-06/0.3272, allocations: 16 / 0.7945 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.536e-05/0.3273, allocations: 17.72 kB / 0.7945 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.3274, allocations: 314.8 kB / 0.7948 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.74e-05/0.3275, allocations: 4 kB / 0.7949 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.079e-05/0.3275, allocations: 8 kB / 0.7949 GB, free: 1.906 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.774e-05/0.3275, allocations: 12.86 kB / 0.7949 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3275, allocations: 0 / 0.7949 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001449/0.3277, allocations: 53.61 kB / 0.7949 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.3277, allocations: 7.984 kB / 0.7949 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.535e-05/0.3278, allocations: 8.031 kB / 0.7949 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3278, allocations: 3.984 kB / 0.7949 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.333e-06/0.3278, allocations: 0 / 0.7949 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/0.3278, allocations: 0 / 0.7949 GB, free: 1.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.495e-05/0.3278, allocations: 3.906 kB / 0.7949 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.183e-05/0.3278, allocations: 4 kB / 0.795 GB, free: 1.805 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.328, allocations: 185.1 kB / 0.7951 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.133e-05/0.3281, allocations: 117 kB / 0.7952 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.907e-05/0.3281, allocations: 112.8 kB / 0.7953 GB, free: 1.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.937e-05/0.3282, allocations: 180.3 kB / 0.7955 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.338e-05/0.3283, allocations: 180.2 kB / 0.7957 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-05/0.3284, allocations: 180.3 kB / 0.7959 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002572/0.3287, allocations: 413.2 kB / 0.7963 GB, free: 368 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.287e-05/0.3287, allocations: 112.8 kB / 0.7964 GB, free: 248 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.3288, allocations: 104.9 kB / 0.7965 GB, free: 136 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.028e-05/0.3289, allocations: 180.2 kB / 0.7966 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.578e-05/0.329, allocations: 184.3 kB / 0.7968 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.18e-05/0.329, allocations: 180.3 kB / 0.797 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-05/0.3291, allocations: 188.2 kB / 0.7972 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.3293, allocations: 311.6 kB / 0.7975 GB, free: 15.06 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001027/0.3294, allocations: 189.9 kB / 0.7976 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.3295, allocations: 184.2 kB / 0.7978 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.3296, allocations: 105 kB / 0.7979 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.03e-05/0.3297, allocations: 180.3 kB / 0.7981 GB, free: 14.37 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.034e-05/0.3298, allocations: 104.9 kB / 0.7982 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.117e-05/0.3299, allocations: 101.8 kB / 0.7983 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3299, allocations: 0 / 0.7983 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009038/0.3308, allocations: 283.8 kB / 0.7986 GB, free: 13.88 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 (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.001309/0.3321, allocations: 0.5491 MB / 0.7991 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.3322, allocations: 37.7 kB / 0.7991 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3322, allocations: 0 / 0.7991 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 3.817e-06/0.3322, allocations: 4 kB / 0.7991 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004796/0.3327, allocations: 0.5399 MB / 0.7997 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.3331, allocations: 255.6 kB / 0.7999 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002893/0.3334, allocations: 0.6887 MB / 0.8006 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.267e-05/0.3334, allocations: 11.44 kB / 0.8006 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.3334, allocations: 0 / 0.8006 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of Templates: time 0.009348/0.3428, allocations: 4.715 MB / 0.8052 GB, free: 7.023 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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 OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegativeCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegativeCalcHelperMain.o] Error 1