OS has agreements with a bunch of non-M&M-code-share-partners, which allow you to earn status miles when booked on them with an OS-flight-number (Tarom is for sure one of them).
I suggest to call OS for being sure whether you can earn miles with Bulgaria Air.
Tyrolean is not a code-share-partner, but is owned by OS and operates on behalf of the mainline.