Failing to precompile OptimizationBase

@Vaibhavdixit02 I think it might be due to this part of the extension:

Since AutoModelingToolkit doesn’t exist anymore, I don’t see how you can extend the constructor?