Since you are a new user, it would be advisable to start from the latest TELEMAC version that has many fixes.
In your case, the error could originate from mixing subroutines from different telemac versions. You must always take the subroutines from sources and modify them all again if you install another version.
In the latest version, most commonly user modifiable subroutines have a separate user version ('user_' prefix) for modifications only, thus it is less prone to errors.
Please try to use the latest version and post the entire error log. Use
> output.txt 2>&1
at the end of your command to output stdout and stderr logs to a file.
Best Regards,
Costas