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.002235/0.002235, allocations: 100.1 kB / 15.88 MB, free: 12 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.01079/0.01079, allocations: 196.8 kB / 16.79 MB, free: 6.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.658/2.658, allocations: 222.9 MB / 240.5 MB, free: 4.469 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003366/0.003366, allocations: 286.8 kB / 290.9 MB, free: 2.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.009/2.009, allocations: 169.2 MB / 0.4983 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002541/0.00254, allocations: 91.5 kB / 0.5952 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3337/0.3363, allocations: 86.99 MB / 0.6801 GB, free: 1.168 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.009901/0.3463, allocations: 4.158 MB / 0.6842 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005612/0.352, allocations: 2.369 MB / 0.6865 GB, free: 10.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006749/0.3527, allocations: 15.94 kB / 0.6865 GB, free: 10.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002746/0.3555, allocations: 0.4979 MB / 0.687 GB, free: 10.11 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001036/0.3566, allocations: 214.4 kB / 0.6872 GB, free: 9.902 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004448/0.357, allocations: 119.9 kB / 0.6873 GB, free: 9.785 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001353/0.3584, allocations: 0.8115 MB / 0.6881 GB, free: 8.973 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006443/0.359, allocations: 280.2 kB / 0.6884 GB, free: 8.695 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000502/0.3595, allocations: 259 kB / 0.6886 GB, free: 8.441 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.36, allocations: 322.5 kB / 0.6889 GB, free: 8.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.3602, allocations: 48 kB / 0.689 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001384/0.3603, allocations: 48 kB / 0.689 GB, free: 8.031 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002393/0.3606, allocations: 139.4 kB / 0.6892 GB, free: 7.895 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004535/0.361, allocations: 362.2 kB / 0.6895 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009748/0.362, allocations: 0.8143 MB / 0.6903 GB, free: 6.723 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/0.362, allocations: 0 / 0.6903 GB, free: 6.723 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.362, allocations: 0 / 0.6903 GB, free: 6.723 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.305e-05/0.3621, allocations: 4 kB / 0.6903 GB, free: 6.719 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.002122/0.3642, allocations: 0.9502 MB / 0.6912 GB, free: 5.719 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/0.3643, allocations: 8.031 kB / 0.6912 GB, free: 5.711 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001707/0.3645, allocations: 72.09 kB / 0.6913 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009447/0.3654, allocations: 449.7 kB / 0.6917 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.312e-05/0.3655, allocations: 41.38 kB / 0.6918 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.3656, allocations: 60.2 kB / 0.6918 GB, free: 5.066 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001173/0.3668, allocations: 426.8 kB / 0.6922 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.3669, allocations: 0 / 0.6922 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.316e-05/0.3669, allocations: 16 kB / 0.6923 GB, free: 4.625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.367, allocations: 12 kB / 0.6923 GB, free: 4.613 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0011/0.3681, allocations: 367.8 kB / 0.6926 GB, free: 4.254 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003414/0.3715, allocations: 1.535 MB / 0.6941 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007884/0.3723, allocations: 331.6 kB / 0.6944 GB, free: 2.316 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007463/0.3731, allocations: 316.8 kB / 0.6947 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.246e-05/0.3731, allocations: 4 kB / 0.6947 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.931e-05/0.3732, allocations: 46.48 kB / 0.6948 GB, free: 1.945 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 3.367e-06/0.3732, allocations: 0 / 0.6948 GB, free: 1.945 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.001505/0.3748, allocations: 0.493 MB / 0.6953 GB, free: 1.445 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.3748, allocations: 60.17 kB / 0.6953 GB, free: 1.375 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009009/0.3757, allocations: 485.9 kB / 0.6958 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.3758, allocations: 29.7 kB / 0.6958 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000283/0.3761, allocations: 276.4 kB / 0.6961 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.3763, allocations: 145.8 kB / 0.6962 GB, free: 452 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001441/0.3764, allocations: 62.08 kB / 0.6963 GB, free: 380 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002177/0.3767, allocations: 366.7 kB / 0.6966 GB, free: 4 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.3771, allocations: 124.6 kB / 0.6967 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.3774, allocations: 129.4 kB / 0.6969 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007339/0.3782, allocations: 294 kB / 0.6971 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3782, allocations: 4 kB / 0.6971 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009539/0.3792, allocations: 400.1 kB / 0.6975 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.3792, allocations: 4 kB / 0.6975 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.3792, allocations: 4 kB / 0.6975 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.3792, allocations: 0 / 0.6975 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.38, allocations: 123.9 kB / 0.6977 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.38, allocations: 4 kB / 0.6977 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004558/0.3805, allocations: 59.56 kB / 0.6977 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.541e-05/0.3805, allocations: 12 kB / 0.6977 GB, free: 14.86 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.000383/0.3809, allocations: 198.4 kB / 0.6979 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/0.381, allocations: 51.38 kB / 0.698 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001705/0.3812, allocations: 61.11 kB / 0.698 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/0.3812, allocations: 7.984 kB / 0.698 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3813, allocations: 0 / 0.698 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3813, allocations: 0 / 0.698 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.3823, allocations: 0.579 MB / 0.6986 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.165e-06/0.3823, allocations: 4 kB / 0.6986 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007329/0.3831, allocations: 127.8 kB / 0.6987 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.3831, allocations: 0 / 0.6987 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.3831, allocations: 12 kB / 0.6987 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.758e-06/0.3831, allocations: 0 / 0.6987 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.3831, allocations: 3.984 kB / 0.6987 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.3846, allocations: 0.652 MB / 0.6994 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.3848, allocations: 140.4 kB / 0.6995 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.3849, allocations: 4 kB / 0.6995 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000343/0.3853, allocations: 27.89 kB / 0.6995 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.3854, allocations: 19.95 kB / 0.6996 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.3854, allocations: 12 kB / 0.6996 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006478/0.3861, allocations: 351.1 kB / 0.6999 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3861, allocations: 0 / 0.6999 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000655/0.3868, allocations: 147.6 kB / 0.7 GB, free: 12.39 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.0002451/0.387, allocations: 115.2 kB / 0.7002 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008384/0.3879, allocations: 319.7 kB / 0.7005 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.3879, allocations: 4 kB / 0.7005 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.3883, allocations: 183.8 kB / 0.7006 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001145/0.3895, allocations: 117.8 kB / 0.7008 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003107/0.3926, allocations: 1.444 MB / 0.7022 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.3932, allocations: 0.8668 MB / 0.703 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001821/0.3934, allocations: 39.44 kB / 0.703 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.3935, allocations: 0 / 0.703 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of Templates: time 0.017/0.4105, allocations: 6.833 MB / 0.7097 GB, free: 2.48 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