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.006643/0.006643, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001527/0.001527, allocations: 195.4 kB / 16.79 MB, free: 6.254 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.743/1.743, allocations: 205.1 MB / 222.6 MB, free: 4.613 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.781/1.781, allocations: 292.3 MB / 0.5491 GB, free: 13.66 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.001834/0.001834, allocations: 66.89 kB / 0.6715 GB, free: 26.52 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3234, allocations: 114.5 MB / 0.7834 GB, free: 14.01 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00597/0.3294, allocations: 4.182 MB / 0.7874 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004045/0.3335, allocations: 2.419 MB / 0.7898 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003741/0.3339, allocations: 12 kB / 0.7898 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001786/0.3358, allocations: 0.4971 MB / 0.7903 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0005817/0.3364, allocations: 218.4 kB / 0.7905 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.3366, allocations: 115.9 kB / 0.7906 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008437/0.3375, allocations: 0.8136 MB / 0.7914 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004559/0.3379, allocations: 276.2 kB / 0.7917 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003165/0.3383, allocations: 259 kB / 0.7919 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003748/0.3386, allocations: 322.6 kB / 0.7922 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.9e-05/0.3387, allocations: 44 kB / 0.7923 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.3389, allocations: 48 kB / 0.7923 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.339, allocations: 147.4 kB / 0.7925 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000373/0.3394, allocations: 358.3 kB / 0.7928 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0007792/0.3402, allocations: 0.8026 MB / 0.7936 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.3402, allocations: 0 / 0.7936 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3402, allocations: 3.938 kB / 0.7936 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.887e-06/0.3402, allocations: 0 / 0.7936 GB, free: 3.473 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.001575/0.3418, allocations: 0.9424 MB / 0.7945 GB, free: 2.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.3419, allocations: 12.03 kB / 0.7945 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001402/0.342, allocations: 76 kB / 0.7946 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006315/0.3427, allocations: 465.6 kB / 0.795 GB, free: 1.898 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.3427, allocations: 33.38 kB / 0.7951 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.194e-05/0.3428, allocations: 44.38 kB / 0.7951 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008118/0.3436, allocations: 438.7 kB / 0.7955 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.3437, allocations: 4 kB / 0.7955 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.658e-05/0.3437, allocations: 20 kB / 0.7956 GB, free: 1.363 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.3437, allocations: 12 kB / 0.7956 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006895/0.3444, allocations: 363.8 kB / 0.7959 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002208/0.3466, allocations: 1.528 MB / 0.7974 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005503/0.3472, allocations: 346.7 kB / 0.7977 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005951/0.3478, allocations: 320.5 kB / 0.798 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.3479, allocations: 4 kB / 0.798 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.348, allocations: 50.44 kB / 0.7981 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 3.066e-06/0.348, allocations: 0 / 0.7981 GB, free: 14.67 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.001156/0.3492, allocations: 0.4899 MB / 0.7986 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.88e-05/0.3492, allocations: 55.41 kB / 0.7986 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006298/0.3499, allocations: 489.9 kB / 0.7991 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.3499, allocations: 37.7 kB / 0.7991 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002363/0.3502, allocations: 276.3 kB / 0.7994 GB, free: 13.3 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001445/0.3503, allocations: 145.9 kB / 0.7995 GB, free: 13.16 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/0.3504, allocations: 58.08 kB / 0.7996 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002105/0.3507, allocations: 362.8 kB / 0.7999 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.3509, allocations: 124.7 kB / 0.8001 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000261/0.3512, allocations: 125.2 kB / 0.8002 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000521/0.3517, allocations: 298.2 kB / 0.8005 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.3517, allocations: 0 / 0.8005 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007356/0.3525, allocations: 393.2 kB / 0.8008 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.486e-05/0.3525, allocations: 6.031 kB / 0.8008 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.3525, allocations: 0 / 0.8008 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.3526, allocations: 4 kB / 0.8008 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005972/0.3532, allocations: 135.8 kB / 0.801 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.3532, allocations: 4 kB / 0.801 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.3535, allocations: 51.56 kB / 0.801 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.309e-05/0.3535, allocations: 15.94 kB / 0.801 GB, free: 11.59 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.0002553/0.3538, allocations: 193.8 kB / 0.8012 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/0.3539, allocations: 59.28 kB / 0.8013 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.354, allocations: 61.11 kB / 0.8013 GB, free: 11.28 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.354, allocations: 4 kB / 0.8013 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.354, allocations: 0 / 0.8013 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.3541, allocations: 3.984 kB / 0.8013 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007468/0.3548, allocations: 0.5635 MB / 0.8019 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3548, allocations: 0 / 0.8019 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.3553, allocations: 127.8 kB / 0.802 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3554, allocations: 4 kB / 0.802 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/0.3554, allocations: 8 kB / 0.802 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.3554, allocations: 4 kB / 0.802 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3554, allocations: 0 / 0.802 GB, free: 10.52 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001006/0.3564, allocations: 0.6517 MB / 0.8027 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001338/0.3566, allocations: 140.4 kB / 0.8028 GB, free: 9.691 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.321e-05/0.3566, allocations: 16 kB / 0.8028 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002234/0.3569, allocations: 19.97 kB / 0.8028 GB, free: 9.656 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.461e-05/0.357, allocations: 23.97 kB / 0.8029 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.357, allocations: 12 kB / 0.8029 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005013/0.3575, allocations: 351.1 kB / 0.8032 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3575, allocations: 3.938 kB / 0.8032 GB, free: 9.273 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004772/0.358, allocations: 143.6 kB / 0.8033 GB, free: 9.133 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.0001848/0.3582, allocations: 115.2 kB / 0.8035 GB, free: 9.012 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006812/0.3589, allocations: 327.8 kB / 0.8038 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.3589, allocations: 0 / 0.8038 GB, free: 8.691 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002853/0.3592, allocations: 187.7 kB / 0.8039 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008291/0.36, allocations: 122.8 kB / 0.8041 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002654/0.3627, allocations: 1.454 MB / 0.8055 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005637/0.3633, allocations: 0.8707 MB / 0.8063 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001342/0.3634, allocations: 35.44 kB / 0.8064 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.3634, allocations: 0 / 0.8064 GB, free: 5.973 MB / 0.6231 GB Notification: Performance of Templates: time 0.01142/0.3748, allocations: 6.827 MB / 0.813 GB, free: 15.21 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