Predicting char yield of high-temperature resins