Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009645/0.0009645, 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.001448/0.001448, allocations: 182.7 kB / 16.92 MB, free: 6.914 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.871/1.871, allocations: 205.4 MB / 223.1 MB, free: 5.746 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.886/1.886, allocations: 292.7 MB / 0.5509 GB, free: 14.43 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.0007608/0.0007609, allocations: 18.75 kB / 0.675 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3511, allocations: 116.3 MB / 0.7886 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005857/0.357, allocations: 3.777 MB / 0.7923 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00487/0.362, allocations: 2.38 MB / 0.7946 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005004/0.3625, allocations: 8 kB / 0.7946 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.3643, allocations: 0.4901 MB / 0.7951 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007029/0.3651, allocations: 234.4 kB / 0.7953 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.3654, allocations: 111.9 kB / 0.7954 GB, free: 4.504 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001028/0.3664, allocations: 0.8059 MB / 0.7962 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005777/0.367, allocations: 276.2 kB / 0.7965 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003913/0.3674, allocations: 246.9 kB / 0.7967 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004156/0.3678, allocations: 282.6 kB / 0.797 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.01e-05/0.3679, allocations: 36 kB / 0.797 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.863e-05/0.368, allocations: 36 kB / 0.797 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003208/0.3683, allocations: 123.5 kB / 0.7971 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0004508/0.3688, allocations: 363.9 kB / 0.7975 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007905/0.3696, allocations: 0.7828 MB / 0.7983 GB, free: 1.562 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3696, allocations: 4 kB / 0.7983 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3696, allocations: 0 / 0.7983 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.606e-06/0.3696, allocations: 4 kB / 0.7983 GB, free: 1.555 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00133/0.371, allocations: 0.8412 MB / 0.7991 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.582e-05/0.371, allocations: 8.031 kB / 0.7991 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.3711, allocations: 72.09 kB / 0.7992 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000589/0.3717, allocations: 461.6 kB / 0.7996 GB, free: 96 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.3718, allocations: 33.38 kB / 0.7996 GB, free: 64 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.868e-05/0.3719, allocations: 56.28 kB / 0.7997 GB, free: 8 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008187/0.3727, allocations: 442.6 kB / 0.8001 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.3727, allocations: 0 / 0.8001 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.27e-05/0.3728, allocations: 24 kB / 0.8001 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.432e-05/0.3728, allocations: 12 kB / 0.8001 GB, free: 15.53 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007179/0.3735, allocations: 379.8 kB / 0.8005 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002215/0.3757, allocations: 1.532 MB / 0.802 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005844/0.3763, allocations: 347.5 kB / 0.8023 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005042/0.3768, allocations: 336.4 kB / 0.8027 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.3769, allocations: 8 kB / 0.8027 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.3769, allocations: 38.5 kB / 0.8027 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.3769, allocations: 0 / 0.8027 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.00101/0.3779, allocations: 0.5093 MB / 0.8032 GB, free: 12.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.378, allocations: 59.39 kB / 0.8033 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006018/0.3786, allocations: 485.9 kB / 0.8037 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/0.3786, allocations: 33.7 kB / 0.8037 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.3789, allocations: 272.4 kB / 0.804 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001432/0.379, allocations: 153.8 kB / 0.8042 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.977e-05/0.3791, allocations: 33.7 kB / 0.8042 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002022/0.3793, allocations: 366.8 kB / 0.8045 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000258/0.3796, allocations: 128.7 kB / 0.8047 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002549/0.3798, allocations: 129.2 kB / 0.8048 GB, free: 10.63 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005527/0.3804, allocations: 310.5 kB / 0.8051 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.3804, allocations: 0 / 0.8051 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006781/0.3811, allocations: 404.7 kB / 0.8055 GB, free: 9.922 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.3811, allocations: 8 kB / 0.8055 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.3811, allocations: 0 / 0.8055 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.3811, allocations: 0 / 0.8055 GB, free: 9.914 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004931/0.3816, allocations: 127.9 kB / 0.8056 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.3817, allocations: 0 / 0.8056 GB, free: 9.789 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.3819, allocations: 51.58 kB / 0.8056 GB, free: 9.738 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.264e-05/0.382, allocations: 12 kB / 0.8057 GB, free: 9.727 MB / 0.6231 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.0002416/0.3822, allocations: 197.8 kB / 0.8058 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.596e-05/0.3823, allocations: 51.38 kB / 0.8059 GB, free: 9.473 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001252/0.3824, allocations: 61.09 kB / 0.8059 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.3824, allocations: 4 kB / 0.806 GB, free: 9.41 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.3825, allocations: 8 kB / 0.806 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3825, allocations: 0 / 0.806 GB, free: 9.402 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007001/0.3832, allocations: 0.5751 MB / 0.8065 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3832, allocations: 0 / 0.8065 GB, free: 8.777 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005063/0.3837, allocations: 131.7 kB / 0.8066 GB, free: 8.648 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.3837, allocations: 4 kB / 0.8067 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.281e-05/0.3837, allocations: 7.984 kB / 0.8067 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3837, allocations: 7.938 kB / 0.8067 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3837, allocations: 4 kB / 0.8067 GB, free: 8.625 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.3848, allocations: 0.6672 MB / 0.8073 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.3849, allocations: 144.3 kB / 0.8075 GB, free: 7.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.612e-05/0.385, allocations: 8 kB / 0.8075 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3853, allocations: 19.98 kB / 0.8075 GB, free: 7.754 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/0.3853, allocations: 23.97 kB / 0.8075 GB, free: 7.73 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.867e-05/0.3854, allocations: 12 kB / 0.8075 GB, free: 7.719 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004371/0.3858, allocations: 355.1 kB / 0.8079 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3858, allocations: 0 / 0.8079 GB, free: 7.371 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004164/0.3862, allocations: 139.7 kB / 0.808 GB, free: 7.234 MB / 0.6231 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.0001685/0.3864, allocations: 111.2 kB / 0.8081 GB, free: 7.117 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000631/0.387, allocations: 347.8 kB / 0.8084 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3871, allocations: 0 / 0.8084 GB, free: 6.777 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002914/0.3874, allocations: 183.8 kB / 0.8086 GB, free: 6.598 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007528/0.3881, allocations: 127.2 kB / 0.8087 GB, free: 6.477 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.3903, allocations: 1.547 MB / 0.8102 GB, free: 4.898 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005146/0.3908, allocations: 0.8668 MB / 0.8111 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.3909, allocations: 39.44 kB / 0.8111 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of SimCode: time 4.2e-07/0.3909, allocations: 7.938 kB / 0.8111 GB, free: 3.957 MB / 0.6231 GB Notification: Performance of Templates: time 0.01002/0.401, allocations: 6.734 MB / 0.8177 GB, free: 13.29 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_8_Buildings.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 OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1