Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001373/0.001373, 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.001716/0.001715, allocations: 195.9 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.701/2.701, allocations: 222.9 MB / 240.4 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004203/0.004203, allocations: 294.8 kB / 290.9 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.031/2.031, allocations: 169.2 MB / 0.4984 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002648/0.002648, allocations: 99.61 kB / 0.5952 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3916, allocations: 86.99 MB / 0.6801 GB, free: 1.129 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.007096/0.3988, allocations: 1.486 MB / 0.6816 GB, free: 15.64 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009782/0.4086, allocations: 3.005 MB / 0.6845 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001169/0.4088, allocations: 0 / 0.6845 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.766e-05/0.409, allocations: 11.92 kB / 0.6845 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.4092, allocations: 15.86 kB / 0.6846 GB, free: 12.6 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009777/0.419, allocations: 1.401 MB / 0.6859 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002483/0.4193, allocations: 39.75 kB / 0.686 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.427e-05/0.4194, allocations: 3.984 kB / 0.686 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.138e-05/0.4194, allocations: 11.94 kB / 0.686 GB, free: 11.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.668e-05/0.4195, allocations: 23.88 kB / 0.686 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.4196, allocations: 4 kB / 0.686 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006843/0.4264, allocations: 1.462 MB / 0.6874 GB, free: 9.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.1e-05/0.4265, allocations: 0 / 0.6874 GB, free: 9.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.4267, allocations: 19.88 kB / 0.6875 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003738/0.4304, allocations: 0.7837 MB / 0.6882 GB, free: 8.867 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.437e-05/0.4305, allocations: 0 / 0.6882 GB, free: 8.867 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.458e-06/0.4305, allocations: 0 / 0.6882 GB, free: 8.867 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4305, allocations: 0 / 0.6882 GB, free: 8.867 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001915/0.4324, allocations: 0.5185 MB / 0.6887 GB, free: 8.301 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.988e-05/0.4325, allocations: 8.031 kB / 0.6887 GB, free: 8.293 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001307/0.4327, allocations: 84.12 kB / 0.6888 GB, free: 8.211 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.433, allocations: 251.6 kB / 0.6891 GB, free: 7.926 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.4331, allocations: 150.9 kB / 0.6892 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001142/0.4332, allocations: 150.9 kB / 0.6893 GB, free: 7.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001174/0.4334, allocations: 113.1 kB / 0.6894 GB, free: 7.512 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.504e-05/0.4334, allocations: 75.28 kB / 0.6895 GB, free: 7.438 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001005/0.4335, allocations: 154.5 kB / 0.6897 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.235e-05/0.4336, allocations: 158.6 kB / 0.6898 GB, free: 7.129 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.892e-05/0.4337, allocations: 150.6 kB / 0.69 GB, free: 6.98 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005891/0.4343, allocations: 469.9 kB / 0.6904 GB, free: 6.473 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.4345, allocations: 165.1 kB / 0.6906 GB, free: 6.301 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.173e-05/0.4346, allocations: 88.08 kB / 0.6907 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.017e-05/0.4347, allocations: 75.28 kB / 0.6907 GB, free: 6.137 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.147e-05/0.4348, allocations: 113.7 kB / 0.6908 GB, free: 6.016 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.522e-06/0.4348, allocations: 4 kB / 0.6908 GB, free: 6.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001674/0.435, allocations: 41.64 kB / 0.6909 GB, free: 5.965 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/0.4351, allocations: 130.6 kB / 0.691 GB, free: 5.824 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.4354, allocations: 139.9 kB / 0.6911 GB, free: 5.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.4354, allocations: 25.7 kB / 0.6912 GB, free: 5.648 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.735e-05/0.4355, allocations: 84.14 kB / 0.6912 GB, free: 5.562 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-06/0.4356, allocations: 0 / 0.6912 GB, free: 5.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.589e-05/0.4356, allocations: 25.7 kB / 0.6913 GB, free: 5.531 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4359, allocations: 318.8 kB / 0.6916 GB, free: 5.211 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.143e-05/0.4359, allocations: 4 kB / 0.6916 GB, free: 5.207 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.761e-05/0.436, allocations: 7.938 kB / 0.6916 GB, free: 5.199 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.484e-05/0.4361, allocations: 16.84 kB / 0.6916 GB, free: 5.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4361, allocations: 0 / 0.6916 GB, free: 5.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002661/0.4364, allocations: 49.64 kB / 0.6916 GB, free: 5.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.648e-05/0.4364, allocations: 4 kB / 0.6916 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-05/0.4365, allocations: 4 kB / 0.6916 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.4365, allocations: 64 / 0.6916 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.273e-06/0.4365, allocations: 4 kB / 0.6917 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.4365, allocations: 0 / 0.6917 GB, free: 5.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.245e-05/0.4366, allocations: 11.89 kB / 0.6917 GB, free: 5.102 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.4366, allocations: 3.984 kB / 0.6917 GB, free: 5.098 MB / 494.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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0002171/0.4369, allocations: 189.7 kB / 0.6918 GB, free: 4.902 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.437, allocations: 116.9 kB / 0.692 GB, free: 4.781 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001255/0.4371, allocations: 108.9 kB / 0.6921 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001175/0.4373, allocations: 188.2 kB / 0.6922 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001192/0.4374, allocations: 176.3 kB / 0.6924 GB, free: 4.293 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001288/0.4375, allocations: 180.3 kB / 0.6926 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004988/0.4381, allocations: 413.2 kB / 0.693 GB, free: 3.648 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.743e-05/0.4382, allocations: 104.9 kB / 0.6931 GB, free: 3.539 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001112/0.4383, allocations: 117 kB / 0.6932 GB, free: 3.418 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001491/0.4385, allocations: 180.3 kB / 0.6934 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.4386, allocations: 184.2 kB / 0.6935 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001148/0.4387, allocations: 176.3 kB / 0.6937 GB, free: 2.867 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001283/0.4389, allocations: 180.3 kB / 0.6939 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002817/0.4392, allocations: 311.8 kB / 0.6942 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/0.4394, allocations: 197.8 kB / 0.6944 GB, free: 2.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.4395, allocations: 180.3 kB / 0.6945 GB, free: 1.953 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001589/0.4397, allocations: 105 kB / 0.6946 GB, free: 1.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/0.4399, allocations: 180.2 kB / 0.6948 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.194e-05/0.4399, allocations: 109 kB / 0.6949 GB, free: 1.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001223/0.4401, allocations: 99.27 kB / 0.695 GB, free: 1.449 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4401, allocations: 0 / 0.695 GB, free: 1.449 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.002014/0.4421, allocations: 291.8 kB / 0.6953 GB, free: 1.164 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.003055/0.4452, allocations: 0.535 MB / 0.6958 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002303/0.4454, allocations: 49.56 kB / 0.6959 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.4455, allocations: 0 / 0.6959 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.993e-06/0.4455, allocations: 0 / 0.6959 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008786/0.4464, allocations: 0.5263 MB / 0.6964 GB, free: 36 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007172/0.4471, allocations: 275.6 kB / 0.6966 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004269/0.4476, allocations: 0.6809 MB / 0.6973 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.175e-05/0.4476, allocations: 11.44 kB / 0.6973 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of SimCode: time 1.833e-06/0.4476, allocations: 4 kB / 0.6973 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of Templates: time 0.01761/0.4652, allocations: 4.749 MB / 0.7019 GB, free: 10.27 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTubeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1