Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001928/0.001928, 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.003363/0.003363, allocations: 197.3 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.661/2.661, allocations: 222.9 MB / 240.5 MB, free: 4.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004393/0.004393, allocations: 287 kB / 290.9 MB, free: 2.07 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.122/2.122, allocations: 169.2 MB / 0.4983 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002674/0.002674, allocations: 87.42 kB / 0.5952 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3879, allocations: 86.98 MB / 0.6801 GB, free: 1.09 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.006646/0.3946, allocations: 1.486 MB / 0.6816 GB, free: 15.61 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009586/0.4043, allocations: 3.016 MB / 0.6845 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.4045, allocations: 4 kB / 0.6845 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.433e-05/0.4046, allocations: 7.922 kB / 0.6845 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.4049, allocations: 7.938 kB / 0.6846 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008342/0.4132, allocations: 1.405 MB / 0.6859 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002073/0.4135, allocations: 35.75 kB / 0.686 GB, free: 11.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.924e-05/0.4136, allocations: 11.97 kB / 0.686 GB, free: 11.13 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.709e-05/0.4137, allocations: 19.94 kB / 0.686 GB, free: 11.11 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.382e-05/0.4137, allocations: 15.88 kB / 0.686 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.4138, allocations: 0 / 0.686 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005938/0.4197, allocations: 1.466 MB / 0.6874 GB, free: 9.629 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.197e-05/0.4198, allocations: 3.984 kB / 0.6874 GB, free: 9.625 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.138e-05/0.4199, allocations: 19.88 kB / 0.6875 GB, free: 9.605 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003171/0.4231, allocations: 0.7837 MB / 0.6882 GB, free: 8.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.198e-05/0.4231, allocations: 0 / 0.6882 GB, free: 8.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4231, allocations: 0 / 0.6882 GB, free: 8.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.4232, allocations: 4 kB / 0.6882 GB, free: 8.816 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.001664/0.4248, allocations: 0.5107 MB / 0.6887 GB, free: 8.258 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.172e-05/0.4249, allocations: 8.031 kB / 0.6887 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001309/0.4251, allocations: 84.12 kB / 0.6888 GB, free: 8.168 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.4254, allocations: 253.1 kB / 0.6891 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.4255, allocations: 150.9 kB / 0.6892 GB, free: 7.734 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.4257, allocations: 150.9 kB / 0.6893 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001528/0.4258, allocations: 109.1 kB / 0.6894 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.578e-05/0.4259, allocations: 83.28 kB / 0.6895 GB, free: 7.391 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.426, allocations: 150.6 kB / 0.6897 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001405/0.4262, allocations: 150.6 kB / 0.6898 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.4263, allocations: 154.5 kB / 0.69 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005879/0.4269, allocations: 469.9 kB / 0.6904 GB, free: 6.434 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001652/0.4271, allocations: 165.1 kB / 0.6906 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.408e-05/0.4272, allocations: 80.14 kB / 0.6906 GB, free: 6.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.82e-05/0.4273, allocations: 75.28 kB / 0.6907 GB, free: 6.105 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001064/0.4274, allocations: 121.7 kB / 0.6908 GB, free: 5.977 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.4274, allocations: 3.938 kB / 0.6908 GB, free: 5.973 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001522/0.4276, allocations: 41.64 kB / 0.6909 GB, free: 5.926 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.4277, allocations: 134.6 kB / 0.691 GB, free: 5.781 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002869/0.428, allocations: 132.1 kB / 0.6911 GB, free: 5.645 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.208e-05/0.4281, allocations: 25.7 kB / 0.6912 GB, free: 5.613 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.4282, allocations: 92.14 kB / 0.6912 GB, free: 5.52 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/0.4282, allocations: 0 / 0.6912 GB, free: 5.52 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.741e-05/0.4283, allocations: 25.7 kB / 0.6913 GB, free: 5.488 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000245/0.4285, allocations: 310.8 kB / 0.6916 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.787e-05/0.4286, allocations: 8 kB / 0.6916 GB, free: 5.168 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.886e-05/0.4286, allocations: 4 kB / 0.6916 GB, free: 5.164 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.965e-05/0.4287, allocations: 24.78 kB / 0.6916 GB, free: 5.137 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4287, allocations: 0 / 0.6916 GB, free: 5.137 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002145/0.429, allocations: 45.64 kB / 0.6916 GB, free: 5.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.429, allocations: 8 kB / 0.6916 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.696e-05/0.429, allocations: 64 / 0.6916 GB, free: 5.078 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.4291, allocations: 8 kB / 0.6917 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.643e-06/0.4291, allocations: 0 / 0.6917 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.4291, allocations: 0 / 0.6917 GB, free: 5.07 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.611e-05/0.4292, allocations: 3.906 kB / 0.6917 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.542e-05/0.4292, allocations: 3.984 kB / 0.6917 GB, free: 5.062 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.000194/0.4294, allocations: 185.8 kB / 0.6918 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.4295, allocations: 116.8 kB / 0.692 GB, free: 4.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.551e-05/0.4296, allocations: 116.9 kB / 0.6921 GB, free: 4.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.633e-05/0.4297, allocations: 180.2 kB / 0.6922 GB, free: 4.441 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001231/0.4298, allocations: 184.3 kB / 0.6924 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001306/0.43, allocations: 180.3 kB / 0.6926 GB, free: 4.07 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000435/0.4304, allocations: 413.2 kB / 0.693 GB, free: 3.609 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.888e-05/0.4305, allocations: 108.9 kB / 0.6931 GB, free: 3.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.576e-05/0.4306, allocations: 112.9 kB / 0.6932 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001497/0.4308, allocations: 176.3 kB / 0.6934 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.4309, allocations: 176.3 kB / 0.6935 GB, free: 3.02 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001551/0.4311, allocations: 184.2 kB / 0.6937 GB, free: 2.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001598/0.4313, allocations: 180.3 kB / 0.6939 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.4316, allocations: 307.8 kB / 0.6942 GB, free: 2.324 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/0.4318, allocations: 197.9 kB / 0.6944 GB, free: 2.105 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.4319, allocations: 188.1 kB / 0.6945 GB, free: 1.914 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.432, allocations: 101 kB / 0.6946 GB, free: 1.809 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.4322, allocations: 192.2 kB / 0.6948 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.657e-05/0.4323, allocations: 101 kB / 0.6949 GB, free: 1.508 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001029/0.4324, allocations: 95.27 kB / 0.695 GB, free: 1.414 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4324, allocations: 0 / 0.695 GB, free: 1.414 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001635/0.4341, allocations: 291.8 kB / 0.6953 GB, free: 1.129 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.001846/0.4359, allocations: 0.5331 MB / 0.6958 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001912/0.4361, allocations: 41.69 kB / 0.6958 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.4361, allocations: 7.875 kB / 0.6958 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 5.23e-06/0.4361, allocations: 4 kB / 0.6958 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.4369, allocations: 0.5308 MB / 0.6964 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006302/0.4376, allocations: 267.5 kB / 0.6966 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004965/0.4381, allocations: 0.6848 MB / 0.6973 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.972e-05/0.4381, allocations: 11.44 kB / 0.6973 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of SimCode: time 6.72e-07/0.4381, allocations: 0 / 0.6973 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.01522/0.4534, allocations: 4.764 MB / 0.702 GB, free: 10.23 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegativeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegativeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegativeCalcHelperMain.o] Error 1