Package Details: openmodelica-git

Git Clone URL: (read-only, click to copy)
Package Base: openmodelica-git
Description: The Open Source Modelica Suite
Upstream URL:
Licenses: OSMC-PL
Conflicts: openmodelica, openmodelica-dev, openmodelica-svn
Provides: openmodelica
Submitter: Xwang
Maintainer: ElMastro
Last Packager: ElMastro
Votes: 8
Popularity: 0.113788
First Submitted: 2015-06-20 11:21
Last Updated: 2020-04-07 18:48

Dependencies (25)

Required by (0)

Sources (0)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

strugk commented on 2020-04-08 06:35

There is still probably one more dependency missing. Got such an error: "checking for lrelease... configure: error: /usr/bin/lrelease does not exist configure: error: ./configure failed for OMPlot ==> ERROR: A failure occurred in build(). Aborting... Error making: openmodelica-git"

ElMastro commented on 2020-04-07 18:54

New version loaded. Now OMSens should work out of the box, for the optimizations (sweep, vectorial, etc..). OMOptim still loaded as submodule.

ElMastro commented on 2019-12-11 21:36

I commented it on PKGBUILD. My version seems to compile it even with something missing (I added a comment on the forum. I don't remember my ssystem writing all this warning. As soon as I have enough time I'll investigate it in detail.

Xwang commented on 2019-12-06 17:58


I've tried to comment out the specific lines regarding OMOptim compilation and to add the --with-omniORB=/usr configuration parameters and in such a why the compilation detect a CORBA providing tool and tries to compile OMOptim too, but it gives an error as you can see in this thread:

where they say that they do not compile OMOptim because it is not maintained, so I think that it is better to comment out the lines in the PKGBUILD and avoid to compile and install OMOptim.

Do you agree?

ElMastro commented on 2019-12-06 15:22

@Xwang, thank you for your pacience, it has been fixed. Now it should build OMOptim, I hope it works, mine still gives a segfault..... As soon as I have time enough I will try to understand why even with git module sync it doesn't compile build and install OMOptim

Xwang commented on 2019-12-05 13:02


in order to solve the OMOptim installation issue you have to add the following two lines:

cd OMOptim

make install DESTDIR=${pkgdir}

at the end of the package() function (after the 6 "install ..." lines)

PS I do not know if it is possible to force the makefile in "$srcdir/$pkgname" to configure, make and install OMOptim too without the need of this second configuration, building and installation process specifically for OMOptim.

Xwang commented on 2019-12-05 11:49


I've compiled the newer package and I see that:

1) These are the last lines of make: make[2]: uscita dalla directory "/home/andreak/tmp/AUR/openmodelica/src/openmodelica-git/OMOptim/OMOptim/build" make[1]: uscita dalla directory "/home/andreak/tmp/AUR/openmodelica/src/openmodelica-git/OMOptim/OMOptim/build" cp -a OMOptim/bin/OMOptim /home/andreak/tmp/AUR/openmodelica/src/openmodelica-git/OMOptim/build/bin ==> Entro nell'ambiente fakeroot... ==> Avvio di package() in corso...

2) in the openmodelica/src/openmodelica-git/OMOptim/OMOptim/bin/ folder there is this situation: drwxr-xr-x 2 andreak andreak 4096 5 dic 10.17 . drwxr-xr-x 8 andreak andreak 4096 5 dic 10.14 .. -rw-r--r-- 1 andreak andreak 10447150 5 dic 10.17 libOMOptim.a -rwxr-xr-x 1 andreak andreak 4377104 5 dic 10.17 OMOptim

3) no additional executable is added to the package

So it seems that OMOptim is correctly built, but not correctly added to the package Do you have the same result?

ElMastro commented on 2019-12-04 22:34

I'm sorry about that, I corrected it. @steinbuch, I don't understand what happened, it seems that could be a configuration of your compiler...Did openmodelica-git compile right before? If so maybe we should change the CXX flag on the OMOptim part

Xwang commented on 2019-12-04 18:00

I have seen that the OMOptim is only configured but no make command is present after the Omoptim (and at least in my case no binary is built). Except for that the compilation has worked correctly in my case.

steinbuch commented on 2019-12-04 17:57

fmilib compiles fine for me, but the general build fails:

checking for inttypes.h... /usr/bin/ld: Error_omc.boot.o: relocation R_X86_64_PC32 against symbol `errorext_once_create_key' can not be used when making a shared object; recompile with -fPIC