Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009355/0.0009355, allocations: 102.7 kB / 15.71 MB, free: 460 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.001187/0.001187, allocations: 173.8 kB / 16.58 MB, free: 6.402 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.474/1.474, allocations: 223.3 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.153/1.153, allocations: 143.4 MB / 435.1 MB, free: 13.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003534/0.0003535, allocations: 12 kB / 0.5167 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.203/0.2034, allocations: 83.41 MB / 0.5981 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004911/0.2084, allocations: 2.577 MB / 0.6006 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004065/0.2125, allocations: 1.948 MB / 0.6025 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002453/0.2127, allocations: 4 kB / 0.6025 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.2145, allocations: 422.2 kB / 0.6029 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.215, allocations: 131.1 kB / 0.6031 GB, free: 2.656 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001653/0.2152, allocations: 39.97 kB / 0.6031 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006405/0.2158, allocations: 413.9 kB / 0.6035 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003028/0.2161, allocations: 122.9 kB / 0.6036 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.2164, allocations: 135.4 kB / 0.6037 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.2166, allocations: 159.3 kB / 0.6039 GB, free: 1.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.073e-05/0.2167, allocations: 20 kB / 0.6039 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.2168, allocations: 16 kB / 0.6039 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001286/0.2169, allocations: 87.66 kB / 0.604 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2171, allocations: 105.5 kB / 0.6041 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006039/0.2177, allocations: 462.6 kB / 0.6046 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.2177, allocations: 0 / 0.6046 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.535e-06/0.2177, allocations: 0 / 0.6046 GB, free: 1.113 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.2177, allocations: 0 / 0.6046 GB, free: 1.113 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001201/0.2189, allocations: 0.6578 MB / 0.6052 GB, free: 416 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.219, allocations: 8.031 kB / 0.6052 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.784e-05/0.2191, allocations: 51.39 kB / 0.6053 GB, free: 356 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4164/0.6354, allocations: 347.5 kB / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.291e-05/0.6355, allocations: 15.59 kB / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.488e-05/0.6356, allocations: 21.16 kB / 0.6056 GB, free: 40.84 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.6362, allocations: 208.2 kB / 0.6058 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.6362, allocations: 3.625 kB / 0.6058 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.028e-05/0.6362, allocations: 4.516 kB / 0.6058 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.048e-05/0.6363, allocations: 7.781 kB / 0.6058 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003797/0.6366, allocations: 177 kB / 0.606 GB, free: 40.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.6379, allocations: 0.8729 MB / 0.6069 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.6382, allocations: 159.6 kB / 0.607 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.6384, allocations: 117.2 kB / 0.6071 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.6384, allocations: 0.625 kB / 0.6071 GB, free: 40.39 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.6384, allocations: 36.88 kB / 0.6072 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 2.084e-06/0.6384, allocations: 2.719 kB / 0.6072 GB, free: 40.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005562/0.639, allocations: 273 kB / 0.6074 GB, free: 40.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.639, allocations: 58.14 kB / 0.6075 GB, free: 40.23 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004581/0.6395, allocations: 414.9 kB / 0.6079 GB, free: 40.13 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.6395, allocations: 32.61 kB / 0.6079 GB, free: 40.1 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000139/0.6397, allocations: 198.5 kB / 0.6081 GB, free: 40 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.728e-05/0.6397, allocations: 70.5 kB / 0.6082 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.388e-06/0.6398, allocations: 2.625 kB / 0.6082 GB, free: 39.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.378e-05/0.6399, allocations: 348 kB / 0.6085 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.64, allocations: 59.3 kB / 0.6085 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.6401, allocations: 65.11 kB / 0.6086 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.6403, allocations: 68.48 kB / 0.6087 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.6403, allocations: 1.531 kB / 0.6087 GB, free: 39.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003354/0.6406, allocations: 221.8 kB / 0.6089 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.6407, allocations: 9.703 kB / 0.6089 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.6407, allocations: 0.75 kB / 0.6089 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.6407, allocations: 2.5 kB / 0.6089 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002347/0.6409, allocations: 57.66 kB / 0.609 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.6409, allocations: 0 / 0.609 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.6411, allocations: 28.08 kB / 0.609 GB, free: 39.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.6411, allocations: 2.969 kB / 0.609 GB, free: 39.59 MB / 0.4981 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 (20): * Single equations (assignments): 20 * 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.0001387/0.6413, allocations: 166.4 kB / 0.6091 GB, free: 39.47 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.6413, allocations: 36.19 kB / 0.6092 GB, free: 39.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.994e-05/0.6414, allocations: 44.14 kB / 0.6092 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.6414, allocations: 6.031 kB / 0.6092 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.6414, allocations: 3.375 kB / 0.6092 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.6414, allocations: 2.297 kB / 0.6092 GB, free: 39.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.6418, allocations: 366.6 kB / 0.6096 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.6418, allocations: 3.844 kB / 0.6096 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002365/0.6421, allocations: 55.78 kB / 0.6096 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.6421, allocations: 0 / 0.6096 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.6421, allocations: 10.03 kB / 0.6096 GB, free: 39.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6421, allocations: 6.984 kB / 0.6097 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.6421, allocations: 0 / 0.6097 GB, free: 39.24 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005479/0.6427, allocations: 401.1 kB / 0.61 GB, free: 39.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.325e-05/0.6428, allocations: 120.5 kB / 0.6102 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.196e-05/0.6428, allocations: 7.156 kB / 0.6102 GB, free: 38.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001506/0.643, allocations: 15.27 kB / 0.6102 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.051e-05/0.643, allocations: 16.17 kB / 0.6102 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.145e-06/0.643, allocations: 2.594 kB / 0.6102 GB, free: 38.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002961/0.6433, allocations: 301.1 kB / 0.6105 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6433, allocations: 0 / 0.6105 GB, free: 38.88 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002958/0.6436, allocations: 74.66 kB / 0.6105 GB, free: 38.87 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001294/0.6438, allocations: 107.6 kB / 0.6107 GB, free: 38.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003382/0.6441, allocations: 159.7 kB / 0.6108 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.6441, allocations: 0 / 0.6108 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.6443, allocations: 79.59 kB / 0.6109 GB, free: 38.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005993/0.6449, allocations: 90.53 kB / 0.611 GB, free: 38.77 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.6461, allocations: 0.9259 MB / 0.6119 GB, free: 38.27 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.6463, allocations: 0.7958 MB / 0.6126 GB, free: 37.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.6464, allocations: 25.25 kB / 0.6127 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.6464, allocations: 0 / 0.6127 GB, free: 37.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.00602/0.6524, allocations: 4.308 MB / 0.6169 GB, free: 37.26 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTubeCalcHelperMain.o] Error 1