Package Details: openmodelica-git 1.16.0.dev.r66.gd7cc1e91f-3

Git Clone URL: https://aur.archlinux.org/openmodelica-git.git (read-only, click to copy)
Package Base: openmodelica-git
Description: The Open Source Modelica Suite
Upstream URL: https://openmodelica.org
Licenses: OSMC-PL
Conflicts: openmodelica, openmodelica-dev, openmodelica-svn
Provides: openmodelica
Submitter: Xwang
Maintainer: ElMastro
Last Packager: ElMastro
Votes: 8
Popularity: 0.139733
First Submitted: 2015-06-20 11:21
Last Updated: 2019-12-11 21:12

Dependencies (25)

Required by (0)

Sources (0)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 ... Next › Last »

Xwang commented on 2019-11-28 18:51

Moreover running ./runtests.pl fromthe partest folder I get the following result:

Failed tests: ./omsimulator/DualMassOscillator.mos ./openmodelica/cppruntime/BouncingBall.mos ./openmodelica/cppruntime/RefArrayDim2.mos ./openmodelica/cppruntime/WhenStatement1.mos ./openmodelica/cppruntime/WhenTuple.mos ./openmodelica/cppruntime/arraySliceTest.mos ./openmodelica/cppruntime/clockedAlgloopTest.mos ./openmodelica/cppruntime/clockedEventTest.mos ./openmodelica/cppruntime/clockedSolverTest.mos ./openmodelica/cppruntime/clockedTest.mos ./openmodelica/cppruntime/clockedTypesTest.mos ./openmodelica/cppruntime/externalArrayInputTest.mos ./openmodelica/cppruntime/fmu/modelExchange/1.0/Crane_FMU1_CPP.mos ./openmodelica/cppruntime/fmu/modelExchange/1.0/DIC_FMU1_CPP.mos ./openmodelica/cppruntime/fmu/modelExchange/2.0/DIC_FMU2_CPP.mos ./openmodelica/cppruntime/fmu/modelExchange/2.0/testArrayEquations.mos ./openmodelica/cppruntime/fmu/modelExchange/2.0/testCSTR.mos ./openmodelica/cppruntime/fmu/modelExchange/2.0/testClockDescription.mos ./openmodelica/cppruntime/fmu/modelExchange/2.0/testDrumBoiler.mos ./openmodelica/cppruntime/fmu/modelExchange/2.0/testFMU2MatrixIO.mos ./openmodelica/cppruntime/fmu/modelExchange/2.0/testModelDescription.mos ./openmodelica/cppruntime/functionPointerTest.mos ./openmodelica/cppruntime/genDebugSymbols/Modelica.Fluid.Examples.BranchingDynamicPipes_genDebugSymbols.mos ./openmodelica/cppruntime/hardcodedStartValues/Modelica.Fluid.Examples.BranchingDynamicPipes_hardcodedStartValues.mos ./openmodelica/cppruntime/hpcom/Modelica.Electrical.Analog.Examples.CauerLowPassSC_level_omp_measureTime.mos ./openmodelica/cppruntime/hpcom/Modelica.Electrical.Analog.Examples.CauerLowPassSC_levelfix_pthreads_memory.mos ./openmodelica/cppruntime/hpcom/Modelica.Electrical.Spice3.Examples.CoupledInductors_level_omp.mos ./openmodelica/cppruntime/hpcom/Modelica.Electrical.Spice3.Examples.CoupledInductors_list_pthreads_spin.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Blocks.Examples.BooleanNetwork1.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Blocks.Examples.Filter.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Electrical.Analog.Examples.CauerLowPassSC.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Electrical.Analog.Examples.ShowSaturatingInductor.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Electrical.Digital.Examples.Counter.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Electrical.QuasiStationary.SinglePhase.Examples.ParallelResonance.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Electrical.Spice3.Examples.CoupledInductors.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetDriving.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Mechanics.Rotational.Examples.Backlash.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Mechanics.Rotational.Examples.RollingWheel.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Mechanics.Translational.Examples.Accelerate.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Mechanics.Translational.Examples.InitialConditions.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Media.Examples.IdealGasH2O.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Media.Examples.TestOnly.IdealGasN2.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Media.Examples.Tests.MediaTestModels.Air.DryAirNasa.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Media.Examples.WaterIF97.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.StateGraph.Examples.FirstExample.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Thermal.HeatTransfer.Examples.ControlledTemperature.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Thermal.HeatTransfer.Examples.TwoMasses.mos ./openmodelica/cppruntime/libraries/msl32/Modelica.Utilities.Examples.readRealParameterModel.mos ./openmodelica/cppruntime/mathFunctionsTest.mos ./openmodelica/cppruntime/nameClashTest.mos ./openmodelica/cppruntime/negatedParameter.mos ./openmodelica/cppruntime/recordTupleReturnTest.mos ./openmodelica/cppruntime/solveTest.mos ./openmodelica/cppruntime/tearnonlin1.mos ./openmodelica/cppruntime/testArrayEquations.mos ./openmodelica/cppruntime/testMatrixIO.mos ./openmodelica/cppruntime/testVectorizedBlocks.mos ./openmodelica/cppruntime/testVectorizedPowerSystem.mos ./openmodelica/cppruntime/testVectorizedSolarSystem.mos ./openmodelica/cppruntime/trapezoidTest.mos ./openmodelica/cruntime/optimization/basic/TFC6.mos ./openmodelica/cruntime/optimization/basic/testAlgLoop6.mos ./openmodelica/cruntime/optimization/basic/testAlgLoop7.mos ./openmodelica/cruntime/optimization/basic/testDerInput.mos ./openmodelica/cruntime/optimization/benchmark/runDrumBoiler.mos ./openmodelica/cruntime/optimization/benchmark/runReduceDrumBoiler.mos ./simulation/libraries/msl32/Modelica.Electrical.Analog.Examples.DifferenceAmplifier.mos ./simulation/libraries/msl32/Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_DOL.mos ./simulation/modelica/initialization/startValue2.mos ./simulation/modelica/nonlinear_system/bug_2841.mos ./simulation/modelica/statemachines/EnteringByReset.mos ./simulation/modelica/statemachines/SMGraphicalTestCases_DeepHierarchy.mos ./simulation/modelica/statemachines/Ticket4618.mos ./simulation/modelica/synchronous/EventClock_cpp.mos ./simulation/modelica/synchronous/boolSubClocks.mos ./simulation/modelica/tearing/Tearing18-minimal.mos

78 of 4046 failed

Xwang commented on 2019-11-28 13:05

Hi, I've checked the package with namcap and I've disocvered that there are other unused dependencies. So I have rebuilt the package with the following depends= line:

depends=('java-environment' 'lpsolve' 'openscenegraph' 'python' 'ruby' 'suitesparse' 'boost-libs' 'qt5-webkit' 'qt5-xmlpatterns' 'qt5-svg' 'fmilib')

moreover I have added --with-UMFPACK to the ./configure --prefix=/usr/ CC=clang CXX=clang++ line which becomes:

./configure --prefix=/usr/ CC=clang CXX=clang++ --with-UMFPACK

and added -j1 to the following make command (somewhere on the openmodelica forum I've seen that compiling in parallel sometimes can create problems.

Can you please update the PKGBUILD?

This is the output of namcap https://pastebin.com/YvguK07W where the "Referenced library 'xyz' is an uninstalled dependency" messages refers all to library created by this package an correctly installed in the system and so seem to be "false positives". I do not know how to solve/manage the other warnings.

Moreover I've run the testcase and I've got 102 log files. Only 14 of those log files contain errors and they are: cppruntime.log (3 out of 3 tests failed) https://pastebin.com/0EbbD9rF ; cppruntimeFMU1.log (2 out of 2 tests failed) https://pastebin.com/UPTAadL9 ; cppruntimeFMU2.log (7 out of 7 tests failed) https://pastebin.com/HXzyuYJ5 ; cppruntimeGenDebugSymbols.log (1 out of 1 tests failed) https://pastebin.com/W2Bp1bHT ; cppruntimeHardcodedStartValues.log (1 out of 1 tests failed) https://pastebin.com/Y0jBaeRQ ; cppruntimeHpcom.log (4 out of 4 tests failed) https://pastebin.com/e194Ms3Y ; interactive-API.log (1 out of 81 tests failed) https://pastebin.com/a32TyhGC ; msl32simulation_cpp_mini.log (22 out of 22 tests failed) https://pastebin.com/yatttjzQ ; msl32simulation.log (2 out of 278 tests failed) https://pastebin.com/M5hT0VwW ; omsimulator.log (1 out of 12 tests failed) https://pastebin.com/UvRb36wC ; optimization.log (2 out of 3 tests failed) https://pastebin.com/WwiGd4zp ; simulationnonlinear_system.log (1 out of 48 tests failed) https://pastebin.com/drms0EG8 ; simulationstatemachines.log (3 out of 12 tests failed) https://pastebin.com/vP1AHhYN ; simulationsynchronous.log (2 out of 16 tests failed) https://pastebin.com/Kdi8WRdt .

Can you please check if you obtain the same results without the modifications to the PKGBUILD I have proposed above?

ElMastro commented on 2019-11-27 21:19

@Zwang, I just finished checking: -Yes, coin-or-ipopt is no more needed, in the previous releases was needed so it will be deleted from the dependencies; -Thank you for you suggestion with the omedit.ico, that will be included in the PKGBUILD -I've made a dozen of tries to make OmOptim work, I couldn't so far. According to GitHub should be everything ok, yet it doesn't work. It seems also on openModelica forum there isn't much help

Xwang commented on 2019-11-26 21:48

Is coin-or-ipopt really needed? I'm compiling without it and everything seems working correctly. Moreover is it normal that there is no OMOPtim executable in the /usr/bin folder? Should I add something to the configuration to get OMOPtim compiled?

Xwang commented on 2019-11-26 21:44

The omedit.ico install line should be changed from this:

install -D -m644 "OMEdit/OMEdit/OMEditGUI/Resources/icons/omedit.ico" "${pkgdir}/usr/share/openmodelica/icons/omedit.ico"

to this:

install -D -m644 "OMEdit/OMEditLIB/Resources/icons/omedit.ico" "${pkgdir}/usr/share/openmodelica/icons/omedit.ico"

ElMastro commented on 2019-11-03 21:58

You are welcome, remcycles. However, the PKGBUILD on pastebin.com should be the same of the one on AUR, I apologize for forgetting to remove my precious comment.

remcycles commented on 2019-10-31 17:02

I can confirm that the latest PKGBUILD on pastebin.com works for me. Thanks!

ElMastro commented on 2019-08-17 14:40

For some unknown reason git doesn't allow me to push on master anymore. The working PKGBUILD is here: https://pastebin.com/yNCy8Syn I'll upload it as soon as I understand where is the problem

jack_ew commented on 2019-08-17 12:16

Please add qt5-xmlpatterns as a dependency, otherwise it won't compile.

ElMastro commented on 2019-06-23 12:49

OMOptim is the part relative to the optimization. It depends on CORBA, that should be provided by omniorb. In detail the discussion is https://openmodelica.org/forum/default-topic/2709-installing-form-git-gives-me-errors-solved