Hello Rafal
In most cases, this error is shown if the project folder path contains an unsupported character in its name. So first step would be to make sure there are only latin characters in the folder path. If you are uncertain, you may try to move the project to a folder with a short path, like C:\Test. If that compiles, then you know there is something bad in your other folder path.
If the path is ok, you should also make sure you run "Compile All" when you compile the project (and not for example "Compile changed").
It can also be that there are files in the project folder that are write protected or that the project is on a network path.
If this above does not help, we would like to have your project sent to plus+1helpdesk@danfoss.com so we can have a look at it.
Thanks!
Daniel