problem with error 148

hello everyone,
I have a problem with my GAMS code. I receive Error 148 when compiling.
The code file is attached to this topic.
Please help me to solve this problem.
Thanks a lot.
BiddingCurve.gms (5.13 KB)

Can you also attach the gdx file? It will be easy to reproduce the error.