Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009137/0.0009137, 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.001004/0.001005, allocations: 185.3 kB / 16.92 MB, free: 6.688 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.412/1.412, allocations: 223.2 MB / 240.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001682/0.001682, allocations: 270.5 kB / 292.3 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9691/0.9691, allocations: 169.5 MB / 0.501 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004274/0.0004274, allocations: 15.14 kB / 0.5993 GB, free: 28.08 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1954/0.1959, allocations: 88.55 MB / 0.6858 GB, free: 15.01 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells): time 0.001336/0.1973, allocations: 0.9651 MB / 0.6868 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008523/0.1981, allocations: 473 kB / 0.6872 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.524e-05/0.1982, allocations: 5.688 kB / 0.6872 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/0.1982, allocations: 0 / 0.6872 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.1983, allocations: 7.922 kB / 0.6872 GB, free: 13.56 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.1986, allocations: 36.92 kB / 0.6873 GB, free: 13.52 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.842e-05/0.1987, allocations: 23.97 kB / 0.6873 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.763e-05/0.1987, allocations: 4 kB / 0.6873 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.44e-05/0.1988, allocations: 15.39 kB / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.741e-05/0.1988, allocations: 4 kB / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.005e-06/0.1988, allocations: 0 / 0.6873 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.199, allocations: 67.84 kB / 0.6874 GB, free: 13.41 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.199, allocations: 11.98 kB / 0.6874 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.592e-05/0.1991, allocations: 33.64 kB / 0.6874 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.1992, allocations: 48.14 kB / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1992, allocations: 0 / 0.6875 GB, free: 13.32 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.108e-06/0.1992, allocations: 4 kB / 0.6875 GB, free: 13.31 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1992, allocations: 0.625 kB / 0.6875 GB, free: 13.31 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003447/0.1996, allocations: 324.2 kB / 0.6878 GB, free: 12.95 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1996, allocations: 8.562 kB / 0.6878 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.906e-05/0.1997, allocations: 7.312 kB / 0.6878 GB, free: 12.94 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.1998, allocations: 164.4 kB / 0.688 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.1998, allocations: 384 / 0.688 GB, free: 12.74 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.385e-05/0.1998, allocations: 8.312 kB / 0.688 GB, free: 12.73 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1999, allocations: 50 kB / 0.688 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.393e-06/0.2, allocations: 0 / 0.688 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.2, allocations: 4.5 kB / 0.688 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.2, allocations: 8.625 kB / 0.688 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.488e-05/0.2, allocations: 8 kB / 0.688 GB, free: 12.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001437/0.2002, allocations: 158.3 kB / 0.6882 GB, free: 12.45 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.589e-05/0.2002, allocations: 40.34 kB / 0.6882 GB, free: 12.41 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.576e-05/0.2003, allocations: 16.95 kB / 0.6882 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.864e-06/0.2003, allocations: 0 / 0.6882 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001335/0.2004, allocations: 73.83 kB / 0.6883 GB, free: 12.3 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.2004, allocations: 0 / 0.6883 GB, free: 12.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=7): time 0.0002201/0.2006, allocations: 93.67 kB / 0.6884 GB, free: 12.21 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.2007, allocations: 55.41 kB / 0.6884 GB, free: 12.14 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.445e-05/0.2007, allocations: 96.48 kB / 0.6885 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.2008, allocations: 29.7 kB / 0.6886 GB, free: 12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.075e-05/0.2008, allocations: 84.12 kB / 0.6886 GB, free: 11.92 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.2008, allocations: 19.8 kB / 0.6887 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.143e-05/0.2009, allocations: 17.72 kB / 0.6887 GB, free: 11.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.201, allocations: 323.7 kB / 0.689 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.594e-05/0.201, allocations: 19.98 kB / 0.689 GB, free: 11.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.76e-05/0.2011, allocations: 74.34 kB / 0.6891 GB, free: 11.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.2012, allocations: 98.89 kB / 0.6892 GB, free: 11.32 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.2013, allocations: 0 / 0.6892 GB, free: 11.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000157/0.2014, allocations: 121.5 kB / 0.6893 GB, free: 11.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.2014, allocations: 11.92 kB / 0.6893 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.2015, allocations: 0 / 0.6893 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.2015, allocations: 4 kB / 0.6893 GB, free: 11.18 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.358e-05/0.2016, allocations: 12 kB / 0.6893 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2016, allocations: 0 / 0.6893 GB, free: 11.17 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.74e-05/0.2016, allocations: 11.98 kB / 0.6893 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.2016, allocations: 4 kB / 0.6893 GB, free: 11.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (QAggShi_flow[5],$PRE.QAggShi_flow[5],QAggShi_flow[4],$PRE.QAggShi_flow[4],QAggShi_flow[3],$PRE.QAggShi_flow[3],QAggShi_flow[2],$PRE.QAggShi_flow[2],QAggShi_flow[1],$PRE.QAggShi_flow[1],curCel,$PRE.curCel,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 prepare postOptimizeDAE: time 0.0001064/0.2017, allocations: 134.5 kB / 0.6895 GB, free: 11.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.686e-06/0.2018, allocations: 3.938 kB / 0.6895 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.211e-05/0.2018, allocations: 3.969 kB / 0.6895 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.2018, allocations: 0 / 0.6895 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2018, allocations: 4 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2018, allocations: 0 / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2019, allocations: 157.6 kB / 0.6896 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.2019, allocations: 0 / 0.6896 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.597e-06/0.2019, allocations: 3.938 kB / 0.6896 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.202, allocations: 3.938 kB / 0.6896 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.202, allocations: 7.938 kB / 0.6896 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.202, allocations: 0 / 0.6896 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.202, allocations: 4 kB / 0.6896 GB, free: 10.78 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001219/0.2021, allocations: 109 kB / 0.6897 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.2022, allocations: 81.05 kB / 0.6898 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.2022, allocations: 7.984 kB / 0.6898 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.16e-05/0.2022, allocations: 0 / 0.6898 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.391e-05/0.2022, allocations: 4 kB / 0.6898 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.2022, allocations: 4.031 kB / 0.6898 GB, free: 10.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.672e-05/0.2023, allocations: 75.28 kB / 0.6899 GB, free: 10.47 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2023, allocations: 0 / 0.6899 GB, free: 10.47 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002158/0.2025, allocations: 20 kB / 0.6899 GB, free: 10.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,curCel,QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of discrete states: 5 (QAggShi_flow[1],QAggShi_flow[2],QAggShi_flow[3],QAggShi_flow[4],QAggShi_flow[5]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002098/0.2027, allocations: 128 kB / 0.69 GB, free: 10.32 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001255/0.2029, allocations: 56.3 kB / 0.6901 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2029, allocations: 4.062 kB / 0.6901 GB, free: 10.26 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.474e-05/0.2029, allocations: 27.91 kB / 0.6901 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/0.203, allocations: 3.938 kB / 0.6901 GB, free: 10.23 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002903/0.2033, allocations: 154.3 kB / 0.6903 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.2036, allocations: 0.677 MB / 0.6909 GB, free: 9.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.595e-05/0.2036, allocations: 11.44 kB / 0.691 GB, free: 9.328 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2036, allocations: 0 / 0.691 GB, free: 9.328 MB / 494.1 MB Notification: Performance of Templates: time 0.002294/0.2059, allocations: 0.8024 MB / 0.6917 GB, free: 8.531 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCells.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.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.ShiftAggregationCellsCalcHelperMain.o] Error 1