As for the $MODEL_TECH variable, where is it defined? Where should point to?
I am not an expert, but that looks like an environment variable. Those are usually set when the product is installed; do you have access to the Questa Installation Guide?
Retrieving data ...