Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0008147/0.0008145, 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.001203/0.001203, allocations: 179.2 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.516/1.516, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.567/2.567, allocations: 390.5 MB / 0.6662 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005867/0.0005868, allocations: 12 kB / 0.8154 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9514/0.952, allocations: 142.3 MB / 0.9544 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance): time 0.001336/0.9534, allocations: 1.003 MB / 0.9554 GB, free: 7.277 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003967/0.9574, allocations: 3.515 MB / 0.9588 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.947e-05/0.9574, allocations: 0 / 0.9588 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.9575, allocations: 3.984 kB / 0.9588 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003847/0.9579, allocations: 77.38 kB / 0.9589 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.9581, allocations: 93.48 kB / 0.959 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.289e-05/0.9582, allocations: 29.27 kB / 0.959 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.124e-05/0.9582, allocations: 3.984 kB / 0.959 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.9583, allocations: 20.73 kB / 0.9591 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.9585, allocations: 39.55 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.411e-05/0.9585, allocations: 1.812 kB / 0.9591 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004884/0.959, allocations: 295.2 kB / 0.9594 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.272e-05/0.959, allocations: 5.344 kB / 0.9594 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.238e-05/0.959, allocations: 27.45 kB / 0.9594 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001647/0.9592, allocations: 76.59 kB / 0.9595 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.9592, allocations: 1.312 kB / 0.9595 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.265e-06/0.9592, allocations: 0 / 0.9595 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.059e-06/0.9592, allocations: 0 / 0.9595 GB, free: 4.008 MB / 0.7169 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.0003279/0.9596, allocations: 356.8 kB / 0.9598 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.9596, allocations: 8.594 kB / 0.9598 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.198e-05/0.9597, allocations: 9.141 kB / 0.9598 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.595e-05/0.9598, allocations: 173 kB / 0.96 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.9598, allocations: 1.188 kB / 0.96 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.9598, allocations: 1.219 kB / 0.96 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.381e-05/0.9599, allocations: 28.73 kB / 0.96 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.9599, allocations: 0 / 0.96 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.9599, allocations: 5.141 kB / 0.96 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.9599, allocations: 0 / 0.96 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.681e-05/0.96, allocations: 15.2 kB / 0.9601 GB, free: 3.363 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001426/0.9601, allocations: 154.2 kB / 0.9602 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.462e-05/0.9602, allocations: 28.19 kB / 0.9602 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.269e-05/0.9602, allocations: 12.38 kB / 0.9602 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.9604, allocations: 97.41 kB / 0.9603 GB, free: 3.023 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.905e-05/0.9605, allocations: 31.84 kB / 0.9604 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.9605, allocations: 4 kB / 0.9604 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001482/0.9606, allocations: 43.72 kB / 0.9604 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.968e-05/0.9607, allocations: 56.61 kB / 0.9605 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.651e-05/0.9607, allocations: 103.4 kB / 0.9606 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.045e-05/0.9607, allocations: 26.73 kB / 0.9606 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.104e-05/0.9608, allocations: 84.14 kB / 0.9607 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-05/0.9608, allocations: 8.844 kB / 0.9607 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-06/0.9608, allocations: 1 kB / 0.9607 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.711e-05/0.9609, allocations: 316.1 kB / 0.961 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.9609, allocations: 1.906 kB / 0.961 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.9609, allocations: 5.969 kB / 0.961 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.997e-05/0.9609, allocations: 3.562 kB / 0.961 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.9609, allocations: 0 / 0.961 GB, free: 2.324 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.029e-05/0.961, allocations: 42.91 kB / 0.961 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.961, allocations: 4.656 kB / 0.961 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.961, allocations: 1.281 kB / 0.961 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.961, allocations: 0 / 0.961 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.184e-05/0.9611, allocations: 7.625 kB / 0.961 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.9611, allocations: 3.953 kB / 0.961 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.9611, allocations: 1.438 kB / 0.961 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.9611, allocations: 0 / 0.961 GB, free: 2.277 MB / 0.7169 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 5.428e-05/0.9612, allocations: 120.1 kB / 0.9612 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-06/0.9612, allocations: 1.312 kB / 0.9612 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001044/0.9613, allocations: 46.61 kB / 0.9612 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.9613, allocations: 4.031 kB / 0.9612 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9613, allocations: 5.703 kB / 0.9612 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.9614, allocations: 3.953 kB / 0.9612 GB, free: 2.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.608e-05/0.9614, allocations: 153.6 kB / 0.9614 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.9614, allocations: 3.984 kB / 0.9614 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.268e-05/0.9615, allocations: 4.031 kB / 0.9614 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.9615, allocations: 0 / 0.9614 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.9615, allocations: 0 / 0.9614 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.9615, allocations: 2.375 kB / 0.9614 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.9615, allocations: 3.938 kB / 0.9614 GB, free: 1.891 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.311e-05/0.9616, allocations: 74.33 kB / 0.9614 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.318e-05/0.9616, allocations: 79.11 kB / 0.9615 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.9616, allocations: 1.875 kB / 0.9615 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.47e-05/0.9617, allocations: 0 / 0.9615 GB, free: 1.715 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.9617, allocations: 3.938 kB / 0.9615 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.9617, allocations: 1.875 kB / 0.9615 GB, free: 1.711 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.748e-05/0.9617, allocations: 87.23 kB / 0.9616 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9617, allocations: 0 / 0.9616 GB, free: 1.629 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002243/0.962, allocations: 25.16 kB / 0.9616 GB, free: 1.621 MB / 0.7169 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.0002085/0.9622, allocations: 130.2 kB / 0.9618 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 6.96e-05/0.9622, allocations: 11.52 kB / 0.9618 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9623, allocations: 0 / 0.9618 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.9623, allocations: 8.281 kB / 0.9618 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.9625, allocations: 9.125 kB / 0.9618 GB, free: 1.504 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.9628, allocations: 184.6 kB / 0.962 GB, free: 1.324 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.9629, allocations: 0.6735 MB / 0.9626 GB, free: 0.6289 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.831e-05/0.963, allocations: 9.906 kB / 0.9626 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.963, allocations: 0 / 0.9626 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of Templates: time 0.002126/0.9651, allocations: 0.7114 MB / 0.9633 GB, free: 276 kB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistance.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistanceCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistanceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ConvectionResistanceCalcHelperMain.o] Error 1