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)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » Luk
  • » Profile

Posts

Posts

Aug-14-18 20:02:25
Class Modelica.Blocks.Interfaces.OutPort not found in scope Interfaces.Chassis

Hi,

I am trying to make the sample "SimpleCar" from MIcheal Tillers Modelica Instruction (http://extras.springer.com/2001/978-0-7 … SimpleCar) running. But I did not succeed so far.
I got the error message "Class Modelica.Blocks.Interfaces.OutPort not found in scope Interfaces.Chassis". Because OutPort is not in the Interface package I tried to substitute by RealOutput:

//  Modelica.Blocks.Interfaces.OutPort speed(final n=1)
  Modelica.Blocks.Interfaces.RealOutput speed(final n=1)

Than I  got the error messages:
"Forcing full instantiation of partial class Chassis during checkModel"
"Modified element n not found in class Real"

Is n=1 out of bound for type real resp. RealOutput? Maybe somebody knows if OutPOrt is an old connector which is not longer in use. If somebody has already experience with Tillers samples, would be great if you can share some experiences. Thanks a lot

Oct-23-17 20:03:24
Failure when attempting installation from source for Debian

Solved by this for ubuntu-xenial:

echo "deb http://build.openmodelica.org/apt xenial stable" | sudo tee /etc/apt/sources.list.d/openmodelica.list

wget -q http://build.openmodelica.org/apt/openmodelica.asc -O- | sudo apt-key add -

apt-key fingerprint

sudo apt update

sudo apt install openmodelica

sudo apt install omlib-.*

Oct-23-17 16:49:34
Failure when attempting installation from source for Debian

Hi,

seems I have similar/same issue like funnell. I tried to install latest stable version of open modelica acc. instruction (https://www.openmodelica.org/download/download-linux)

After step "$ sudo apt update", I got following response:

Ign:1 http://build.openmodelica.org/apt `lsb_release InRelease
OK:2 http://ppa.launchpad.net/damien-moore/c … ble/ubuntu xenial InRelease
Fehl:3 http://build.openmodelica.org/apt `lsb_release Release                 
  404  Not Found [IP: XXX]
OK:4 http://de.archive.ubuntu.com/ubuntu xenial InRelease                   
OK:5 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
OK:6 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
OK:7 http://de.archive.ubuntu.com/ubuntu xenial-security InRelease
Paketlisten werden gelesen... Fertig               
E: The repository 'http://build.openmodelica.org/apt `lsb_release Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.


Would be great toi get some support.

  • Index
  • » Users
  • » Luk
  • » Profile
You are here: