Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 98.88 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.001064/0.001064, allocations: 187 kB / 16.92 MB, free: 6.684 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.384/1.384, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 277.6 kB / 292.3 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9601/0.9601, allocations: 169.5 MB / 0.501 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004685/0.0004685, allocations: 20.28 kB / 0.5993 GB, free: 28.01 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1819/0.1824, allocations: 88.54 MB / 0.6858 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004159/0.1866, allocations: 3.749 MB / 0.6895 GB, free: 11.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003064/0.1897, allocations: 2.34 MB / 0.6918 GB, free: 8.918 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.1899, allocations: 17.5 kB / 0.6918 GB, free: 8.902 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001276/0.1912, allocations: 0.5026 MB / 0.6923 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000423/0.1917, allocations: 217.7 kB / 0.6925 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002116/0.1919, allocations: 119.9 kB / 0.6926 GB, free: 8.07 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007467/0.1926, allocations: 0.8047 MB / 0.6934 GB, free: 7.266 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004224/0.1931, allocations: 280.1 kB / 0.6936 GB, free: 6.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002715/0.1933, allocations: 231 kB / 0.6939 GB, free: 6.762 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/0.1937, allocations: 294.6 kB / 0.6941 GB, free: 6.473 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.496e-05/0.1937, allocations: 32 kB / 0.6942 GB, free: 6.441 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.351e-05/0.1938, allocations: 36 kB / 0.6942 GB, free: 6.406 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.194, allocations: 123.5 kB / 0.6943 GB, free: 6.285 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.1943, allocations: 363.9 kB / 0.6947 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006508/0.1949, allocations: 0.7984 MB / 0.6955 GB, free: 5.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1949, allocations: 0 / 0.6955 GB, free: 5.121 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.195, allocations: 0 / 0.6955 GB, free: 5.121 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.324e-06/0.195, allocations: 0 / 0.6955 GB, free: 5.121 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001201/0.1962, allocations: 0.8412 MB / 0.6963 GB, free: 4.23 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.1962, allocations: 8.031 kB / 0.6963 GB, free: 4.223 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001025/0.1963, allocations: 72.09 kB / 0.6964 GB, free: 4.152 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.1969, allocations: 453.7 kB / 0.6968 GB, free: 3.672 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.1969, allocations: 41.38 kB / 0.6968 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.197, allocations: 52.31 kB / 0.6969 GB, free: 3.582 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000758/0.1978, allocations: 434.8 kB / 0.6973 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.1978, allocations: 4 kB / 0.6973 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.036e-05/0.1979, allocations: 20 kB / 0.6973 GB, free: 3.125 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1979, allocations: 8 kB / 0.6973 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007027/0.1986, allocations: 379.8 kB / 0.6977 GB, free: 2.746 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.2007, allocations: 1.539 MB / 0.6992 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005346/0.2012, allocations: 347.5 kB / 0.6995 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004891/0.2017, allocations: 324.8 kB / 0.6998 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2017, allocations: 4 kB / 0.6998 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.2018, allocations: 46.5 kB / 0.6999 GB, free: 416 kB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 1.433e-06/0.2018, allocations: 0 / 0.6999 GB, free: 416 kB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009754/0.2028, allocations: 0.5049 MB / 0.7004 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.229e-05/0.2028, allocations: 56.17 kB / 0.7004 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005624/0.2034, allocations: 489.9 kB / 0.7009 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.2034, allocations: 29.7 kB / 0.7009 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001972/0.2036, allocations: 280.3 kB / 0.7012 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.2038, allocations: 145.8 kB / 0.7013 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.2038, allocations: 37.69 kB / 0.7014 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.204, allocations: 362.8 kB / 0.7017 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.2042, allocations: 128.6 kB / 0.7018 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002498/0.2045, allocations: 133.4 kB / 0.702 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005483/0.2051, allocations: 310.3 kB / 0.7023 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2051, allocations: 0 / 0.7023 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006778/0.2058, allocations: 412.3 kB / 0.7026 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2058, allocations: 4 kB / 0.7026 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2058, allocations: 0 / 0.7026 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2058, allocations: 0 / 0.7026 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.2063, allocations: 127.9 kB / 0.7028 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.2063, allocations: 0 / 0.7028 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002691/0.2066, allocations: 55.66 kB / 0.7028 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2066, allocations: 12 kB / 0.7028 GB, free: 13.31 MB / 0.4981 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 (46): * Single equations (assignments): 46 * 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.0002121/0.2068, allocations: 198.4 kB / 0.703 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/0.2069, allocations: 55.28 kB / 0.7031 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.207, allocations: 61.11 kB / 0.7031 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.2071, allocations: 11.98 kB / 0.7031 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.2071, allocations: 0 / 0.7031 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.2071, allocations: 0 / 0.7031 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006419/0.2077, allocations: 0.579 MB / 0.7037 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.2077, allocations: 0 / 0.7037 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.2082, allocations: 131.8 kB / 0.7038 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.2083, allocations: 0 / 0.7038 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.2083, allocations: 12 kB / 0.7038 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.2083, allocations: 4 kB / 0.7039 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2083, allocations: 0 / 0.7039 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009936/0.2093, allocations: 0.6712 MB / 0.7045 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.2094, allocations: 140.4 kB / 0.7046 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.652e-05/0.2095, allocations: 8 kB / 0.7046 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.2097, allocations: 23.98 kB / 0.7047 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.867e-05/0.2098, allocations: 23.89 kB / 0.7047 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.793e-05/0.2098, allocations: 12 kB / 0.7047 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000385/0.2102, allocations: 351.1 kB / 0.705 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.2102, allocations: 0 / 0.705 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004475/0.2107, allocations: 151.5 kB / 0.7052 GB, free: 10.8 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001409/0.2108, allocations: 115.2 kB / 0.7053 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005901/0.2114, allocations: 335.7 kB / 0.7056 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2114, allocations: 0 / 0.7056 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.2117, allocations: 183.8 kB / 0.7058 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.2124, allocations: 117.8 kB / 0.7059 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.2144, allocations: 1.552 MB / 0.7074 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004374/0.2149, allocations: 0.8629 MB / 0.7083 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.215, allocations: 43.44 kB / 0.7083 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.215, allocations: 0 / 0.7083 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of Templates: time 0.00921/0.2242, allocations: 6.735 MB / 0.7149 GB, free: 0.875 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTubeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1