Archived OpenModelica forums. Posting is disabled.
Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)
Yes, you can. Don't forget that in the model, you don't have "inputs" and "outputs", but rather "parameters" and "variables".