Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008441/0.0008442, allocations: 100.2 kB / 15.71 MB, free: 452 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.000901/0.000901, allocations: 177.4 kB / 16.58 MB, free: 6.879 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.484/1.484, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7716/0.7716, allocations: 132.3 MB / 424 MB, free: 2.105 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 8 kB / 0.504 GB, free: 4.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4764/0.4768, allocations: 81.57 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003653/0.4805, allocations: 3.575 MB / 0.5872 GB, free: 1.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002685/0.4832, allocations: 2.21 MB / 0.5894 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002392/0.4835, allocations: 13.94 kB / 0.5894 GB, free: 15.81 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001212/0.4847, allocations: 460.2 kB / 0.5898 GB, free: 15.61 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004545/0.4852, allocations: 215.5 kB / 0.59 GB, free: 15.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002056/0.4854, allocations: 85.36 kB / 0.5901 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008909/0.4863, allocations: 0.7567 MB / 0.5908 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004424/0.4867, allocations: 243.7 kB / 0.5911 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003565/0.4871, allocations: 230.5 kB / 0.5913 GB, free: 14.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/0.4875, allocations: 275.7 kB / 0.5916 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.089e-05/0.4876, allocations: 35.44 kB / 0.5916 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.4877, allocations: 38.22 kB / 0.5916 GB, free: 14.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001714/0.4879, allocations: 123.6 kB / 0.5917 GB, free: 14.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001675/0.488, allocations: 161.1 kB / 0.5919 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00101/0.4891, allocations: 0.7907 MB / 0.5927 GB, free: 14.37 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.4891, allocations: 0 / 0.5927 GB, free: 14.37 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.4891, allocations: 0 / 0.5927 GB, free: 14.37 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.4891, allocations: 0 / 0.5927 GB, free: 14.37 MB / 446.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.001403/0.4905, allocations: 0.8527 MB / 0.5935 GB, free: 13.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.4906, allocations: 9.922 kB / 0.5935 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.4907, allocations: 75.25 kB / 0.5936 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006564/0.4914, allocations: 439.6 kB / 0.594 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/0.4914, allocations: 36.62 kB / 0.594 GB, free: 13.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.023e-05/0.4915, allocations: 48.12 kB / 0.5941 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009216/0.4924, allocations: 430.8 kB / 0.5945 GB, free: 13.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.4925, allocations: 4.438 kB / 0.5945 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.481e-05/0.4925, allocations: 19.72 kB / 0.5945 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.099e-05/0.4925, allocations: 12.61 kB / 0.5945 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007947/0.4933, allocations: 371 kB / 0.5949 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002414/0.4958, allocations: 1.541 MB / 0.5964 GB, free: 12.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005957/0.4964, allocations: 356.1 kB / 0.5967 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/0.497, allocations: 352.2 kB / 0.5971 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.497, allocations: 3.906 kB / 0.5971 GB, free: 11.79 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.497, allocations: 36.78 kB / 0.5971 GB, free: 11.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.643e-06/0.497, allocations: 4 kB / 0.5971 GB, free: 11.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009452/0.498, allocations: 0.5009 MB / 0.5976 GB, free: 11.53 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/0.498, allocations: 59.56 kB / 0.5976 GB, free: 11.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005974/0.4987, allocations: 485.4 kB / 0.5981 GB, free: 11.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.4987, allocations: 31.02 kB / 0.5981 GB, free: 11.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.4989, allocations: 276.4 kB / 0.5984 GB, free: 10.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.499, allocations: 146.7 kB / 0.5985 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/0.499, allocations: 9.156 kB / 0.5986 GB, free: 10.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.4992, allocations: 358.9 kB / 0.5989 GB, free: 10.44 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002504/0.4994, allocations: 128.8 kB / 0.599 GB, free: 10.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.4997, allocations: 128.7 kB / 0.5991 GB, free: 10.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.5, allocations: 147.5 kB / 0.5993 GB, free: 10.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.5, allocations: 3.953 kB / 0.5993 GB, free: 10.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006688/0.5007, allocations: 407.5 kB / 0.5997 GB, free: 10.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.5007, allocations: 5.562 kB / 0.5997 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.5007, allocations: 0 / 0.5997 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/0.5007, allocations: 5.531 kB / 0.5997 GB, free: 10.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004965/0.5012, allocations: 130.2 kB / 0.5998 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.5012, allocations: 2.656 kB / 0.5998 GB, free: 9.996 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/0.5015, allocations: 50.89 kB / 0.5999 GB, free: 9.965 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.5016, allocations: 8.531 kB / 0.5999 GB, free: 9.965 MB / 446.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 (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000255/0.5018, allocations: 202.4 kB / 0.6001 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.5019, allocations: 51.95 kB / 0.6001 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.502, allocations: 65.92 kB / 0.6002 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/0.5021, allocations: 4.156 kB / 0.6002 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.156e-05/0.5021, allocations: 1.75 kB / 0.6002 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.5021, allocations: 0 / 0.6002 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/0.5028, allocations: 0.5779 MB / 0.6007 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5028, allocations: 0 / 0.6007 GB, free: 9.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005042/0.5033, allocations: 134 kB / 0.6009 GB, free: 9.195 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.5033, allocations: 6.641 kB / 0.6009 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.433e-05/0.5033, allocations: 5.562 kB / 0.6009 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.5033, allocations: 2.531 kB / 0.6009 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5033, allocations: 0 / 0.6009 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.5044, allocations: 0.6676 MB / 0.6015 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.5045, allocations: 135.1 kB / 0.6017 GB, free: 8.645 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.502e-05/0.5046, allocations: 14.3 kB / 0.6017 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002258/0.5048, allocations: 28.08 kB / 0.6017 GB, free: 8.617 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.5049, allocations: 24.5 kB / 0.6017 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.5049, allocations: 10.19 kB / 0.6017 GB, free: 8.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004232/0.5053, allocations: 347.6 kB / 0.6021 GB, free: 8.395 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5053, allocations: 0 / 0.6021 GB, free: 8.395 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004586/0.5058, allocations: 140.8 kB / 0.6022 GB, free: 8.367 MB / 446.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001497/0.506, allocations: 109.2 kB / 0.6023 GB, free: 8.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006269/0.5066, allocations: 334.6 kB / 0.6026 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5066, allocations: 1.031 kB / 0.6026 GB, free: 8.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.5069, allocations: 195.3 kB / 0.6028 GB, free: 8.039 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007093/0.5076, allocations: 122.3 kB / 0.6029 GB, free: 7.977 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002228/0.5099, allocations: 1.477 MB / 0.6044 GB, free: 6.906 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/0.5104, allocations: 0.8712 MB / 0.6052 GB, free: 6.121 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.5105, allocations: 37.84 kB / 0.6053 GB, free: 6.117 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5105, allocations: 0 / 0.6053 GB, free: 6.117 MB / 446.1 MB Notification: Performance of Templates: time 0.01124/0.5217, allocations: 6.74 MB / 0.6118 GB, free: 2.672 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1