Heat wave triggers maintenance warning in California, sets new demand record in Texas