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.0009644/0.0009646, allocations: 97.78 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.001065/0.001065, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.422/1.422, allocations: 223.2 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001832/0.001832, allocations: 262.7 kB / 292.3 MB, free: 1.875 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9804/0.9804, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004504/0.0004505, allocations: 13.16 kB / 0.5994 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2099, allocations: 88.55 MB / 0.6858 GB, free: 15 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001594/0.2116, allocations: 1.153 MB / 0.687 GB, free: 13.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00449/0.2161, allocations: 2.943 MB / 0.6898 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.543e-05/0.2161, allocations: 0.875 kB / 0.6898 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.892e-05/0.2162, allocations: 3.984 kB / 0.6898 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.625e-05/0.2162, allocations: 8.375 kB / 0.6898 GB, free: 10.88 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003203/0.2194, allocations: 1.388 MB / 0.6912 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.296e-05/0.2195, allocations: 43.73 kB / 0.6912 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.145e-05/0.2196, allocations: 0 / 0.6912 GB, free: 9.484 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.834e-05/0.2196, allocations: 11.94 kB / 0.6913 GB, free: 9.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.104e-05/0.2196, allocations: 23.86 kB / 0.6913 GB, free: 9.449 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.012e-05/0.2197, allocations: 4 kB / 0.6913 GB, free: 9.445 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.2216, allocations: 1.462 MB / 0.6927 GB, free: 7.98 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.455e-05/0.2217, allocations: 8 kB / 0.6927 GB, free: 7.973 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.443e-05/0.2217, allocations: 45.56 kB / 0.6928 GB, free: 7.922 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009504/0.2227, allocations: 0.772 MB / 0.6935 GB, free: 7.148 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.2227, allocations: 4 kB / 0.6935 GB, free: 7.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 3.557e-06/0.2227, allocations: 0 / 0.6935 GB, free: 7.145 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.857e-06/0.2227, allocations: 3.938 kB / 0.6935 GB, free: 7.141 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.000584/0.2233, allocations: 0.5165 MB / 0.694 GB, free: 6.578 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.2234, allocations: 12.03 kB / 0.694 GB, free: 6.566 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.175e-05/0.2234, allocations: 80.12 kB / 0.6941 GB, free: 6.488 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001594/0.2236, allocations: 243.6 kB / 0.6943 GB, free: 6.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.719e-05/0.2237, allocations: 154.9 kB / 0.6945 GB, free: 6.059 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.24e-05/0.2237, allocations: 150.9 kB / 0.6946 GB, free: 5.91 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.638e-05/0.2238, allocations: 109.1 kB / 0.6947 GB, free: 5.797 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/0.2238, allocations: 83.27 kB / 0.6948 GB, free: 5.715 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/0.2239, allocations: 150.6 kB / 0.695 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-05/0.2239, allocations: 154.6 kB / 0.6951 GB, free: 5.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.224, allocations: 154.5 kB / 0.6953 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00029/0.2243, allocations: 469.9 kB / 0.6957 GB, free: 4.754 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.636e-05/0.2244, allocations: 169.1 kB / 0.6959 GB, free: 4.578 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.2244, allocations: 80.14 kB / 0.6959 GB, free: 4.496 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.122e-05/0.2245, allocations: 75.28 kB / 0.696 GB, free: 4.422 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.143e-05/0.2245, allocations: 113.7 kB / 0.6961 GB, free: 4.301 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 2.404e-06/0.2245, allocations: 4 kB / 0.6961 GB, free: 4.297 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.247e-05/0.2246, allocations: 41.55 kB / 0.6962 GB, free: 4.25 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.557e-05/0.2247, allocations: 126.7 kB / 0.6963 GB, free: 4.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.2248, allocations: 136.3 kB / 0.6964 GB, free: 3.973 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.2248, allocations: 29.7 kB / 0.6964 GB, free: 3.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.444e-05/0.2249, allocations: 88.14 kB / 0.6965 GB, free: 3.848 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.374e-06/0.2249, allocations: 0 / 0.6965 GB, free: 3.848 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.2249, allocations: 13.72 kB / 0.6965 GB, free: 3.828 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.2251, allocations: 322.9 kB / 0.6969 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.335e-05/0.2251, allocations: 4 kB / 0.6969 GB, free: 3.5 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.2251, allocations: 8 kB / 0.6969 GB, free: 3.492 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.739e-05/0.2252, allocations: 20.73 kB / 0.6969 GB, free: 3.469 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2252, allocations: 0 / 0.6969 GB, free: 3.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001592/0.2253, allocations: 61.53 kB / 0.6969 GB, free: 3.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2253, allocations: 4 kB / 0.6969 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.2254, allocations: 4 kB / 0.697 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.2254, allocations: 0 / 0.697 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.2254, allocations: 64 / 0.697 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.2254, allocations: 12.05 kB / 0.697 GB, free: 3.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.2254, allocations: 4 kB / 0.697 GB, free: 3.379 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2254, allocations: 0 / 0.697 GB, free: 3.379 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 9.929e-05/0.2256, allocations: 185.8 kB / 0.6971 GB, free: 3.188 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.038e-05/0.2256, allocations: 116.8 kB / 0.6973 GB, free: 3.066 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.084e-05/0.2257, allocations: 108.9 kB / 0.6974 GB, free: 2.949 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.935e-05/0.2257, allocations: 184.3 kB / 0.6975 GB, free: 2.762 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.051e-05/0.2258, allocations: 180.2 kB / 0.6977 GB, free: 2.578 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.837e-05/0.2259, allocations: 180.3 kB / 0.6979 GB, free: 2.395 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002136/0.2261, allocations: 413.1 kB / 0.6983 GB, free: 1.934 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.845e-05/0.2262, allocations: 104.9 kB / 0.6984 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.2262, allocations: 109 kB / 0.6985 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.364e-05/0.2263, allocations: 184.2 kB / 0.6987 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.022e-05/0.2264, allocations: 180.2 kB / 0.6988 GB, free: 1.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.819e-05/0.2264, allocations: 180.2 kB / 0.699 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.215e-05/0.2265, allocations: 180.3 kB / 0.6992 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001394/0.2266, allocations: 311.7 kB / 0.6995 GB, free: 0.6445 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.496e-05/0.2267, allocations: 186 kB / 0.6996 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.262e-05/0.2268, allocations: 188.2 kB / 0.6998 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.531e-05/0.2269, allocations: 104.9 kB / 0.6999 GB, free: 140 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.227, allocations: 184.2 kB / 0.7001 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.227, allocations: 105 kB / 0.7002 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.591e-05/0.2271, allocations: 109 kB / 0.7003 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2271, allocations: 0 / 0.7003 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006909/0.2278, allocations: 287.8 kB / 0.7006 GB, free: 15.45 MB / 0.4981 GB 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.001058/0.2289, allocations: 0.533 MB / 0.7011 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.229, allocations: 45.7 kB / 0.7011 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.229, allocations: 0 / 0.7011 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/0.229, allocations: 7.875 kB / 0.7011 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.2295, allocations: 0.5302 MB / 0.7017 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003643/0.2299, allocations: 281.5 kB / 0.7019 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002781/0.2301, allocations: 0.6848 MB / 0.7026 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.386e-05/0.2302, allocations: 11.38 kB / 0.7026 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.2302, allocations: 3.938 kB / 0.7026 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.007581/0.2378, allocations: 4.756 MB / 0.7073 GB, free: 8.543 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