Hi Jari,
Which op amp are you using and how are you powering it? If you're using a signle-supply you may not be able to connect the op amp input to ground.
Also, have you probed the op amp output to check if it is stable?
If you send me a schematic I can attempt to simulate it.
Regards,
Chris