Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009865/0.0009865, allocations: 99.12 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.001369/0.001369, allocations: 177.3 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.479/1.479, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.092/1.092, allocations: 143.4 MB / 435.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003538/0.0003538, allocations: 12 kB / 0.5167 GB, free: 11.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2193/0.2196, 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.InternalResistancesTwoUTube): time 0.004819/0.2245, allocations: 3.567 MB / 0.6016 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00429/0.2289, allocations: 2.217 MB / 0.6038 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007196/0.2296, allocations: 12 kB / 0.6038 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.2316, allocations: 449.9 kB / 0.6042 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009677/0.2326, allocations: 218.5 kB / 0.6044 GB, free: 1.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.233, allocations: 83.91 kB / 0.6045 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.2343, allocations: 0.7552 MB / 0.6052 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005704/0.2349, allocations: 249.5 kB / 0.6055 GB, free: 184 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.421/0.6559, allocations: 226.5 kB / 0.6057 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006889/0.6567, allocations: 276.3 kB / 0.6059 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.6568, allocations: 33.28 kB / 0.606 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.144e-05/0.6569, allocations: 36.28 kB / 0.606 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.6571, allocations: 123.9 kB / 0.6061 GB, free: 35.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001838/0.6572, allocations: 167.7 kB / 0.6063 GB, free: 35.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006622/0.6579, allocations: 0.8224 MB / 0.6071 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.6579, allocations: 0 / 0.6071 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.484e-06/0.6579, allocations: 2.531 kB / 0.6071 GB, free: 35.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.856e-06/0.658, allocations: 0.5469 kB / 0.6071 GB, free: 35.62 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001097/0.6591, allocations: 0.8491 MB / 0.6079 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.6591, allocations: 8.781 kB / 0.6079 GB, free: 35.05 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.26e-05/0.6592, allocations: 72.36 kB / 0.608 GB, free: 35.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005004/0.6597, allocations: 439.6 kB / 0.6084 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.6597, allocations: 35.09 kB / 0.6085 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.6598, allocations: 50.7 kB / 0.6085 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.6606, allocations: 428.3 kB / 0.6089 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.989e-05/0.6606, allocations: 3.188 kB / 0.6089 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.6607, allocations: 16.56 kB / 0.6089 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.6607, allocations: 13.22 kB / 0.6089 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/0.6613, allocations: 377.4 kB / 0.6093 GB, free: 34.72 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.6631, allocations: 1.538 MB / 0.6108 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004591/0.6636, allocations: 345.5 kB / 0.6111 GB, free: 34.24 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004273/0.664, allocations: 362.4 kB / 0.6115 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.6641, allocations: 10.03 kB / 0.6115 GB, free: 34.22 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.6641, allocations: 36.5 kB / 0.6115 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 1.703e-06/0.6641, allocations: 0 / 0.6115 GB, free: 34.18 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0008699/0.665, allocations: 0.5045 MB / 0.612 GB, free: 34.11 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.295e-05/0.665, allocations: 54.31 kB / 0.6121 GB, free: 34.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007618/0.6658, allocations: 487 kB / 0.6125 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.6658, allocations: 29.2 kB / 0.6126 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002362/0.6661, allocations: 275.8 kB / 0.6128 GB, free: 33.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001649/0.6663, allocations: 146.2 kB / 0.613 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.6663, allocations: 5.625 kB / 0.613 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.6665, allocations: 366.2 kB / 0.6133 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.6669, allocations: 123.8 kB / 0.6134 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003653/0.6672, allocations: 129.1 kB / 0.6136 GB, free: 33.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004525/0.6677, allocations: 150.8 kB / 0.6137 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6677, allocations: 0 / 0.6137 GB, free: 33.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008366/0.6686, allocations: 400.7 kB / 0.6141 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.6686, allocations: 12.06 kB / 0.6141 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.6686, allocations: 3.141 kB / 0.6141 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.51e-05/0.6687, allocations: 3.062 kB / 0.6141 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.6693, allocations: 130.1 kB / 0.6142 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.204e-05/0.6694, allocations: 3 kB / 0.6142 GB, free: 33.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000422/0.6698, allocations: 57.84 kB / 0.6143 GB, free: 33.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.174e-05/0.6698, allocations: 9.438 kB / 0.6143 GB, free: 33.26 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 (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.0003208/0.6702, allocations: 195.4 kB / 0.6145 GB, free: 33.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6703, allocations: 53.3 kB / 0.6145 GB, free: 33.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001527/0.6705, allocations: 61.42 kB / 0.6146 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.6705, allocations: 2.688 kB / 0.6146 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.6705, allocations: 9.578 kB / 0.6146 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.021e-05/0.6705, allocations: 3.328 kB / 0.6146 GB, free: 33.1 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008785/0.6714, allocations: 0.5683 MB / 0.6152 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.6714, allocations: 0 / 0.6152 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006657/0.6721, allocations: 124.5 kB / 0.6153 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.6721, allocations: 5.375 kB / 0.6153 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.962e-05/0.6722, allocations: 12.52 kB / 0.6153 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.6722, allocations: 0.6875 kB / 0.6153 GB, free: 32.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6722, allocations: 7.422 kB / 0.6153 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001435/0.6736, allocations: 0.664 MB / 0.6159 GB, free: 32.72 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001419/0.6738, allocations: 133.9 kB / 0.6161 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.09e-05/0.6739, allocations: 6.219 kB / 0.6161 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003355/0.6742, allocations: 36.38 kB / 0.6161 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.6743, allocations: 28.09 kB / 0.6161 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.6744, allocations: 8.938 kB / 0.6162 GB, free: 32.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005893/0.675, allocations: 355 kB / 0.6165 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.845e-06/0.675, allocations: 0 / 0.6165 GB, free: 32.5 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007004/0.6757, allocations: 142.8 kB / 0.6166 GB, free: 32.48 MB / 0.4981 GB 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.0001799/0.6759, allocations: 111.5 kB / 0.6167 GB, free: 32.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008047/0.6767, allocations: 337.1 kB / 0.6171 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.6767, allocations: 0 / 0.6171 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003975/0.6771, allocations: 178.8 kB / 0.6172 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.6782, allocations: 120.5 kB / 0.6173 GB, free: 32.38 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.681, allocations: 1.485 MB / 0.6188 GB, free: 31.57 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004444/0.6814, allocations: 0.8676 MB / 0.6196 GB, free: 30.87 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.6816, allocations: 42.44 kB / 0.6197 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of SimCode: time 8.92e-07/0.6816, allocations: 0 / 0.6197 GB, free: 30.86 MB / 0.4981 GB Notification: Performance of Templates: time 0.01297/0.6946, allocations: 6.756 MB / 0.6263 GB, free: 30.32 MB / 0.4981 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTubeCalcHelperMain.o] Error 1