I've been able to get JAGs models to knit properly without running the model in console by saving it as a file instead of using sink . Like so:
cat(file = "model.txt"," model {