I think the error arises due to the direct passing of OptTools as the optimizer argument. Instead try using a wrapper that utilizes OptTools and then pass the wrapper into OptimPreproc class as the optimizer.