I have set up a simulation in Repast that is supposed to model people boarding an airplane. I wish to run it multiple times to get an average of how much time it takes to board the airplane for various methods. The model works completely fine when running normally, and the model output works just fine then. However, when I try to do a batch run it gives me this error in the console, and the final model output it gives is just an empty file. Also, the console gives this message:
WARN [SwingWorker-pool-2-thread-2] 17:40:56,274 OutputFinder - No model output found matching glob:{**/,}ModelOutput*.batch_param_map.txt in /var/folders/nh/8k546jq14l5gnwkjgxvch8180000gn/T/simphony_model_1651246794058/instance_2
WARN [SwingWorker-pool-2-thread-2] 17:40:56,274 OutputFinder - No model output found matching glob:{**/,}ModelOutput*.txt in /var/folders/nh/8k546jq14l5gnwkjgxvch8180000gn/T/simphony_model_1651246794058/instance_2
WARN [SwingWorker-pool-2-thread-2] 17:40:56,275 OutputFinder - No model output found matching glob:{**/,}ModelOutput*.batch_param_map.txt in /var/folders/nh/8k546jq14l5gnwkjgxvch8180000gn/T/simphony_model_1651246794058/instance_1
WARN [SwingWorker-pool-2-thread-2] 17:40:56,275 OutputFinder - No model output found matching glob:{**/,}ModelOutput*.txt in /var/folders/nh/8k546jq14l5gnwkjgxvch8180000gn/T/simphony_model_1651246794058/instance_1
From what I have seen, there could be four issues why a model doesn't work in batch when it works normally.
Thank you for any help!
This error results when using a JRE > 11. (Note that when doing a batch run, the first "java" in the PATH is used which may not be what Eclipse is using.)
See the FAQ entry here for a solution:
The arguments specified there can be added in the JVM Arguments text box in the batch run GUI.