Hi Isidro;
Yes, this sounds like an ORCAScript issue. I know from experience that ORCAScript can be finicky. Unfortunately, PB 10.5 is no longer supported and SAP have removed all the EBF downloads for older PB versions. So I am not sure how to advise you to proceed given this EOL'ed version of PB.
The only alternatives I can suggest are to either a) upgrade to a supported PB version or b) look at the PowerGEN product. At least the IDE build is working for now.
Regards ... Chris