A Framework for Stochastic and Surrogate-Assisted Optimization using Sequential Modular Process Simulators