Exhibit 23.1
Consent of Independent Registered Public Accounting Firm
The Board of Directors
NuStar GP, LLC:
We consent to the use of our reports with respect to the consolidated financial statements and the effectiveness of internal control over financial reporting
incorporated by reference herein.
San Antonio, Texas
April 30, 2021