Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow_nominal|m_flow|R",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000956/0.000956, allocations: 99.36 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.001193/0.001193, allocations: 178 kB / 16.58 MB, free: 6.422 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.515/1.515, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.742/2.742, allocations: 436.7 MB / 0.7113 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003732, allocations: 15.94 kB / 0.8717 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8512/0.8516, allocations: 153.7 MB / 1.022 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001427/0.853, allocations: 1.008 MB / 1.023 GB, free: 132 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004389/0.8574, allocations: 3.509 MB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.948e-05/0.8575, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.687e-05/0.8575, allocations: 0 / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004056/0.8579, allocations: 83.55 kB / 1.026 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002524/0.8582, allocations: 91.75 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.299e-05/0.8583, allocations: 27.86 kB / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.655e-05/0.8583, allocations: 0 / 1.026 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.8584, allocations: 27.91 kB / 1.026 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.8585, allocations: 35.91 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.152e-05/0.8586, allocations: 0 / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000561/0.8591, allocations: 291.6 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.8591, allocations: 11.92 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.079e-05/0.8592, allocations: 33.7 kB / 1.027 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001527/0.8593, allocations: 73.86 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.8594, allocations: 3.938 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.084e-06/0.8594, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.8594, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004405/0.8598, allocations: 351.3 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.8599, allocations: 15.98 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.967e-05/0.8599, allocations: 0 / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.8601, allocations: 167 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.8601, allocations: 11.95 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.8601, allocations: 0 / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.945e-05/0.8602, allocations: 33.7 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.096e-06/0.8602, allocations: 3.938 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.8602, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.8602, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.595e-05/0.8603, allocations: 7.984 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.8605, allocations: 153.7 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.158e-05/0.8606, allocations: 30.52 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.8606, allocations: 12.92 kB / 1.028 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002418/0.8609, allocations: 93.09 kB / 1.028 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.8609, allocations: 34.56 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.8609, allocations: 0 / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001476/0.8611, allocations: 49.73 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.774e-05/0.8611, allocations: 55.41 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.8612, allocations: 101.9 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.8612, allocations: 29.64 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.8613, allocations: 84.12 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.009e-05/0.8613, allocations: 7.891 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.8613, allocations: 4 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.8615, allocations: 314.8 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.048e-05/0.8615, allocations: 0 / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.518e-06/0.8615, allocations: 8 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.984e-05/0.8615, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.8615, allocations: 3.938 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.987e-05/0.8616, allocations: 49.58 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.8616, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.8616, allocations: 0 / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.8616, allocations: 4.25 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.226e-05/0.8617, allocations: 0 / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.8617, allocations: 4 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.561e-05/0.8617, allocations: 8.094 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.8618, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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 8.741e-05/0.8618, allocations: 105.8 kB / 1.028 GB, free: 9.969 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.8619, allocations: 7.953 kB / 1.028 GB, free: 9.961 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.862, allocations: 52.66 kB / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.862, allocations: 0 / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.862, allocations: 0 / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.862, allocations: 0 / 1.029 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.8621, allocations: 157.7 kB / 1.029 GB, free: 9.703 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.8621, allocations: 4 kB / 1.029 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.8622, allocations: 3.984 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.8622, allocations: 4 kB / 1.029 GB, free: 9.691 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.8622, allocations: 3.953 kB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8622, allocations: 0 / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8622, allocations: 0 / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.277e-05/0.8623, allocations: 65.14 kB / 1.029 GB, free: 9.605 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.671e-05/0.8624, allocations: 81.09 kB / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.8624, allocations: 0 / 1.029 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.625e-05/0.8624, allocations: 7.891 kB / 1.029 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.705e-05/0.8624, allocations: 8 kB / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.8624, allocations: 0 / 1.029 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.8625, allocations: 83.27 kB / 1.029 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8625, allocations: 3.938 kB / 1.029 GB, free: 9.406 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002269/0.8627, allocations: 20 kB / 1.029 GB, free: 9.387 MB / 0.7794 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 (2): * Single equations (assignments): 2 * 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.0002271/0.8629, allocations: 131.2 kB / 1.029 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.054e-05/0.863, allocations: 15.98 kB / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.863, allocations: 0 / 1.029 GB, free: 9.234 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.17e-05/0.8631, allocations: 7.938 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.8633, allocations: 2.812 kB / 1.029 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.8636, allocations: 184.2 kB / 1.029 GB, free: 9.016 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.8641, allocations: 0.677 MB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.905e-05/0.8641, allocations: 7.438 kB / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8641, allocations: 0 / 1.03 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of Templates: time 0.002155/0.8663, allocations: 0.7157 MB / 1.031 GB, free: 7.594 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.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 OMCppBuildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistanceCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistanceCalcHelperMain.o] Error 1