• I always send my code directly to the attached device - thus, I never touch (nor even see) the compiled code.

    And, indeed, trying to compile computeDiffusion or computeHeating breaks everything - sometimes even immediately after uploading (although I don't really start my code - except for those initialization lines)

    This sounds as if s.th. gets overwritten during upload.