Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007647/0.0007646, allocations: 92.16 kB / 16.02 MB, free: 76 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.0007973/0.0007973, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.385/1.385, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001835/0.001835, allocations: 271 kB / 292.3 MB, free: 1.863 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9306/0.9306, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004419, allocations: 18.22 kB / 0.5993 GB, free: 28.09 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1896, allocations: 88.55 MB / 0.6858 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003562/0.1932, allocations: 2.688 MB / 0.6884 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002764/0.196, allocations: 2.072 MB / 0.6905 GB, free: 10.26 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001888/0.1962, allocations: 4 kB / 0.6905 GB, free: 10.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001263/0.1975, allocations: 484.5 kB / 0.6909 GB, free: 9.781 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003529/0.1979, allocations: 128 kB / 0.6911 GB, free: 9.656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001802/0.1981, allocations: 52.55 kB / 0.6911 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005638/0.1987, allocations: 475 kB / 0.6916 GB, free: 9.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.1989, allocations: 120.8 kB / 0.6917 GB, free: 9.023 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1991, allocations: 139.4 kB / 0.6918 GB, free: 8.887 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002325/0.1993, allocations: 167.7 kB / 0.692 GB, free: 8.723 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.872e-05/0.1994, allocations: 20 kB / 0.692 GB, free: 8.703 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.763e-05/0.1994, allocations: 20 kB / 0.692 GB, free: 8.684 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1995, allocations: 75.62 kB / 0.6921 GB, free: 8.609 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.1997, allocations: 228.6 kB / 0.6923 GB, free: 8.379 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.2001, allocations: 446.7 kB / 0.6927 GB, free: 7.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2002, allocations: 0 / 0.6927 GB, free: 7.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2002, allocations: 0 / 0.6927 GB, free: 7.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2002, allocations: 0 / 0.6927 GB, free: 7.941 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000932/0.2011, allocations: 0.6424 MB / 0.6933 GB, free: 7.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.2012, allocations: 11.97 kB / 0.6934 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.177e-05/0.2013, allocations: 48.38 kB / 0.6934 GB, free: 7.191 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.2017, allocations: 370.1 kB / 0.6938 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.823e-05/0.2018, allocations: 16.81 kB / 0.6938 GB, free: 6.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.168e-05/0.2018, allocations: 28.31 kB / 0.6938 GB, free: 6.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004315/0.2023, allocations: 207.6 kB / 0.694 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.2023, allocations: 4 kB / 0.694 GB, free: 6.539 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/0.2023, allocations: 11.98 kB / 0.694 GB, free: 6.527 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.2023, allocations: 4 kB / 0.694 GB, free: 6.523 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004282/0.2028, allocations: 177.6 kB / 0.6942 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.204, allocations: 0.8701 MB / 0.695 GB, free: 5.406 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003366/0.2043, allocations: 162.5 kB / 0.6952 GB, free: 5.238 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/0.2045, allocations: 120.8 kB / 0.6953 GB, free: 5.117 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2046, allocations: 4 kB / 0.6953 GB, free: 5.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.2046, allocations: 30.56 kB / 0.6953 GB, free: 5.074 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.2046, allocations: 0 / 0.6953 GB, free: 5.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006764/0.2053, allocations: 283 kB / 0.6956 GB, free: 4.793 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.2053, allocations: 51.41 kB / 0.6957 GB, free: 4.73 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.2059, allocations: 413.7 kB / 0.696 GB, free: 4.316 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.176e-05/0.2059, allocations: 33.7 kB / 0.6961 GB, free: 4.277 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001452/0.206, allocations: 208.2 kB / 0.6963 GB, free: 4.066 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.108e-05/0.2061, allocations: 63.11 kB / 0.6963 GB, free: 4.004 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.2062, allocations: 25.64 kB / 0.6964 GB, free: 3.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.2063, allocations: 350.8 kB / 0.6967 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.2065, allocations: 59.92 kB / 0.6968 GB, free: 3.562 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002057/0.2067, allocations: 67.97 kB / 0.6968 GB, free: 3.496 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003064/0.207, allocations: 142.9 kB / 0.697 GB, free: 3.355 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.207, allocations: 0 / 0.697 GB, free: 3.355 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003882/0.2074, allocations: 218.8 kB / 0.6972 GB, free: 3.137 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2074, allocations: 4 kB / 0.6972 GB, free: 3.133 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2074, allocations: 3.984 kB / 0.6972 GB, free: 3.129 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.2075, allocations: 7.938 kB / 0.6972 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000241/0.2077, allocations: 59.91 kB / 0.6972 GB, free: 3.062 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.2077, allocations: 4 kB / 0.6972 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002157/0.2079, allocations: 23.83 kB / 0.6973 GB, free: 3.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.208, allocations: 8 kB / 0.6973 GB, free: 3.027 MB / 494.1 MB 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 0.0002597/0.2082, allocations: 167.1 kB / 0.6974 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.853e-05/0.2084, allocations: 35.53 kB / 0.6975 GB, free: 2.82 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.2085, allocations: 43.53 kB / 0.6975 GB, free: 2.773 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.2085, allocations: 4 kB / 0.6975 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.2085, allocations: 0 / 0.6975 GB, free: 2.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.276e-06/0.2085, allocations: 11.98 kB / 0.6975 GB, free: 2.758 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.2089, allocations: 369.3 kB / 0.6979 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2089, allocations: 0 / 0.6979 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002451/0.2092, allocations: 51.97 kB / 0.6979 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.2092, allocations: 3.984 kB / 0.6979 GB, free: 2.293 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.2092, allocations: 11.88 kB / 0.6979 GB, free: 2.281 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.2092, allocations: 4 kB / 0.6979 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.2092, allocations: 4 kB / 0.6979 GB, free: 2.273 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.2099, allocations: 392.7 kB / 0.6983 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.977e-05/0.21, allocations: 116.7 kB / 0.6984 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.132e-05/0.2101, allocations: 7.938 kB / 0.6984 GB, free: 1.734 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.2102, allocations: 15.98 kB / 0.6985 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.704e-05/0.2103, allocations: 11.98 kB / 0.6985 GB, free: 1.707 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.127e-06/0.2103, allocations: 4 kB / 0.6985 GB, free: 1.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003144/0.2106, allocations: 303.1 kB / 0.6988 GB, free: 1.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2106, allocations: 8 kB / 0.6988 GB, free: 1.402 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002934/0.2109, allocations: 75.75 kB / 0.6988 GB, free: 1.328 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001388/0.2111, allocations: 111.2 kB / 0.6989 GB, free: 1.211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003772/0.2115, allocations: 151.9 kB / 0.6991 GB, free: 1.062 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2115, allocations: 0 / 0.6991 GB, free: 1.062 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.2118, allocations: 82.41 kB / 0.6992 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006129/0.2124, allocations: 89.5 kB / 0.6993 GB, free: 0.8984 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001318/0.2137, allocations: 0.9691 MB / 0.7002 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.2141, allocations: 0.7914 MB / 0.701 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.773e-05/0.2142, allocations: 27.44 kB / 0.701 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of SimCode: time 3.41e-07/0.2142, allocations: 0 / 0.701 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of Templates: time 0.006398/0.2206, allocations: 4.286 MB / 0.7052 GB, free: 10.81 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o] Error 1