Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009574/0.0009573, allocations: 99.5 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.001145/0.001145, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.428/1.428, allocations: 223.3 MB / 241 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.001778/0.001778, allocations: 274.7 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.9433/0.9433, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004555, allocations: 18.42 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1914/0.1918, allocations: 88.56 MB / 0.6858 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells): time 0.0006982/0.1926, allocations: 266.6 kB / 0.6861 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009066/0.1935, allocations: 0.7845 MB / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.004e-05/0.1935, allocations: 0 / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.345e-05/0.1935, allocations: 1.188 kB / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.328e-06/0.1936, allocations: 0 / 0.6868 GB, free: 13.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.1938, allocations: 11.94 kB / 0.6869 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.6e-05/0.1938, allocations: 4.531 kB / 0.6869 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.128e-05/0.1939, allocations: 5.422 kB / 0.6869 GB, free: 13.96 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.487e-05/0.1939, allocations: 3.984 kB / 0.6869 GB, free: 13.95 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001438/0.194, allocations: 13.28 kB / 0.6869 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.153e-06/0.194, allocations: 0 / 0.6869 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.867e-06/0.1941, allocations: 1.781 kB / 0.6869 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.1941, allocations: 0 / 0.6869 GB, free: 13.94 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.122e-05/0.1941, allocations: 33.69 kB / 0.6869 GB, free: 13.9 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.41e-05/0.1941, allocations: 0 / 0.6869 GB, free: 13.9 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.1942, allocations: 4 kB / 0.6869 GB, free: 13.9 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1942, allocations: 2.656 kB / 0.6869 GB, free: 13.9 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.705e-06/0.1942, allocations: 0 / 0.6869 GB, free: 13.9 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002385/0.1944, allocations: 303.6 kB / 0.6872 GB, free: 13.55 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.1945, allocations: 12.09 kB / 0.6872 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.764e-05/0.1945, allocations: 0.9375 kB / 0.6872 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.341e-05/0.1946, allocations: 160.4 kB / 0.6874 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.1946, allocations: 0.875 kB / 0.6874 GB, free: 13.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.045e-05/0.1946, allocations: 12.86 kB / 0.6874 GB, free: 13.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.087e-05/0.1947, allocations: 27.23 kB / 0.6874 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.743e-06/0.1947, allocations: 4.188 kB / 0.6874 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.1947, allocations: 3.938 kB / 0.6874 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.1947, allocations: 1.688 kB / 0.6874 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.261e-05/0.1948, allocations: 0 / 0.6874 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002598/0.195, allocations: 380.2 kB / 0.6878 GB, free: 12.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.119e-05/0.1951, allocations: 179.6 kB / 0.688 GB, free: 12.69 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.464e-05/0.1952, allocations: 80.14 kB / 0.688 GB, free: 12.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1952, allocations: 79.28 kB / 0.6881 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.82e-05/0.1952, allocations: 107.8 kB / 0.6882 GB, free: 12.41 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.1952, allocations: 0 / 0.6882 GB, free: 12.41 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.561e-05/0.1953, allocations: 29.7 kB / 0.6882 GB, free: 12.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.731e-05/0.1954, allocations: 131.2 kB / 0.6884 GB, free: 12.24 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.125e-05/0.1955, allocations: 91.58 kB / 0.6885 GB, free: 12.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.1955, allocations: 25.7 kB / 0.6885 GB, free: 12.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.953e-05/0.1955, allocations: 80.42 kB / 0.6886 GB, free: 12.03 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.999e-06/0.1955, allocations: 4.594 kB / 0.6886 GB, free: 12.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.139e-05/0.1955, allocations: 13.72 kB / 0.6886 GB, free: 12 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.1957, allocations: 315.5 kB / 0.6889 GB, free: 11.69 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-06/0.1957, allocations: 0.875 kB / 0.6889 GB, free: 11.69 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.51e-06/0.1957, allocations: 0.625 kB / 0.6889 GB, free: 11.69 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.904e-05/0.1957, allocations: 10.23 kB / 0.6889 GB, free: 11.68 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1957, allocations: 0 / 0.6889 GB, free: 11.68 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.673e-05/0.1958, allocations: 33.64 kB / 0.6889 GB, free: 11.64 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1958, allocations: 4.688 kB / 0.6889 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.1959, allocations: 3.938 kB / 0.6889 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.1959, allocations: 8.219 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/0.1959, allocations: 0 / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.1959, allocations: 0 / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.214e-05/0.196, allocations: 3.938 kB / 0.6889 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.196, allocations: 3.984 kB / 0.6889 GB, free: 11.61 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001132/0.1961, allocations: 193.7 kB / 0.6891 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.223e-05/0.1961, allocations: 101 kB / 0.6892 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.285e-05/0.1962, allocations: 112 kB / 0.6893 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.336e-05/0.1963, allocations: 184.3 kB / 0.6895 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.127e-05/0.1964, allocations: 184.2 kB / 0.6897 GB, free: 10.82 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.239e-05/0.1964, allocations: 180.2 kB / 0.6899 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.1966, allocations: 401.2 kB / 0.6902 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/0.1967, allocations: 109.4 kB / 0.6903 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.484e-05/0.1967, allocations: 109 kB / 0.6904 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.384e-05/0.1968, allocations: 180.3 kB / 0.6906 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.751e-05/0.1969, allocations: 184.2 kB / 0.6908 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.391e-05/0.1969, allocations: 184.5 kB / 0.691 GB, free: 9.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.733e-05/0.197, allocations: 180.2 kB / 0.6911 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.1971, allocations: 311.8 kB / 0.6914 GB, free: 8.887 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.144e-05/0.1972, allocations: 186 kB / 0.6916 GB, free: 8.68 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.1973, allocations: 176.3 kB / 0.6918 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.338e-05/0.1974, allocations: 116.8 kB / 0.6919 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/0.1974, allocations: 176.3 kB / 0.6921 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.1975, allocations: 105 kB / 0.6922 GB, free: 8.09 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.915e-05/0.1975, allocations: 79.22 kB / 0.6922 GB, free: 8.012 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1975, allocations: 0 / 0.6922 GB, free: 8.012 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002007/0.1977, allocations: 4 kB / 0.6922 GB, free: 8.008 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000142/0.1979, allocations: 175.3 kB / 0.6924 GB, free: 7.824 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.543e-05/0.198, allocations: 8 kB / 0.6924 GB, free: 7.816 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.198, allocations: 4.156 kB / 0.6924 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.343e-06/0.198, allocations: 0 / 0.6924 GB, free: 7.812 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.1983, allocations: 0.5224 MB / 0.6929 GB, free: 7.285 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001816/0.1985, allocations: 171.7 kB / 0.6931 GB, free: 7.082 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002295/0.1988, allocations: 0.6731 MB / 0.6938 GB, free: 6.383 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.845e-05/0.1988, allocations: 11.44 kB / 0.6938 GB, free: 6.371 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1988, allocations: 7.938 kB / 0.6938 GB, free: 6.363 MB / 494.1 MB Notification: Performance of Templates: time 0.001354/0.2002, allocations: 316.4 kB / 0.6941 GB, free: 6.059 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.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.CountAggregationCellsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCellsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCellsCalcHelperMain.o] Error 1