- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Compilation process failed due to...
Compilation process failed due to function
Compilation process failed due to function
Hi,
I wrote a function HVapId to calculate vapor enthaply. Used it in a model and i works fine. I wrote HLiqId for liquid enthalpy which inturn calls HvapId for calculations. These 2 functions worked normally in a model.
But while i'm using it in a different model, compilation process fails.
So, I changed algorithm in HvapId and saved it as HvapId1. So, the new model works with HvapId and HLiqId (which uses HVapId1 instead of HVapId). both the functions HvapId and HvapId1 have same inputs and output just a different algo. The only problem is when I call HvapId from HliqId the compilation fails. If I call HVapId1 from HLiqId it runs! But the algorithm in HVapId1 fails for some cases, so I want to use HVapId.
Since both the functions HVapId and HVapId1 have same inputs, I don't understand why there is an issue with compilation. That too only for a different model.
I'll try to reproduce the error with a simple model and post the model.
-Swaroop
- swaroop.katta
- 23 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Compilation process failed due to...