Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001568/0.001568, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 230.6 MB / 258.3 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 43.94 kB / 379 MB, free: 2.746 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.2374, allocations: 53.37 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008509/0.2459, allocations: 7.005 MB / 439.4 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00599/0.2519, allocations: 3.158 MB / 442.6 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007515/0.2527, allocations: 39.81 kB / 442.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001476/0.2541, allocations: 0.6769 MB / 443.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003054/0.2572, allocations: 1.393 MB / 444.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009709/0.2582, allocations: 0.4913 MB / 445.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004411/0.2626, allocations: 3.211 MB / 448.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007732/0.2633, allocations: 494.3 kB / 448.9 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.2645, allocations: 0.8056 MB / 449.7 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001734/0.2662, allocations: 1.335 MB / 451 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.2665, allocations: 132 kB / 451.1 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001714/0.2682, allocations: 0.9711 MB / 452.1 MB, free: 3.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001038/0.2692, allocations: 1.094 MB / 453.2 MB, free: 2.074 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.2704, allocations: 1.215 MB / 454.4 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005081/0.2755, allocations: 4.008 MB / 458.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.2755, allocations: 4 kB / 458.4 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2755, allocations: 3.938 kB / 458.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.675e-05/0.2756, allocations: 0 / 458.4 MB, free: 12.82 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.006588/0.2821, allocations: 3.184 MB / 461.6 MB, free: 9.594 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.2822, allocations: 8.031 kB / 461.6 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00831/0.2905, allocations: 2.023 MB / 463.6 MB, free: 7.559 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003779/0.2943, allocations: 1.548 MB / 465.2 MB, free: 5.977 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.2944, allocations: 110.6 kB / 465.3 MB, free: 5.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009099/0.2953, allocations: 303.5 kB / 465.6 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01504/0.3103, allocations: 8.219 MB / 473.8 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.655e-05/0.3104, allocations: 39.64 kB / 473.8 MB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/0.3107, allocations: 75.89 kB / 473.9 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002219/0.3129, allocations: 1.397 MB / 475.3 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01839/0.3313, allocations: 9.581 MB / 484.9 MB, free: 1.684 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03922/0.3705, allocations: 30.51 MB / 0.5033 GB, free: 2.309 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01211/0.3826, allocations: 3.888 MB / 0.5071 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003305/0.3859, allocations: 2.074 MB / 0.5091 GB, free: 12.28 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.3861, allocations: 19.84 kB / 0.5092 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.757e-05/0.3862, allocations: 58.48 kB / 0.5092 GB, free: 12.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.548e-06/0.3862, allocations: 0 / 0.5092 GB, free: 12.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.05057/0.4367, allocations: 17.85 MB / 0.5266 GB, free: 10.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002799/0.4395, allocations: 3.021 MB / 0.5296 GB, free: 6.926 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005719/0.4452, allocations: 2.983 MB / 0.5325 GB, free: 3.922 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006197/0.4459, allocations: 45.69 kB / 0.5326 GB, free: 3.871 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00201/0.4479, allocations: 2.159 MB / 0.5347 GB, free: 1.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00117/0.449, allocations: 0.5893 MB / 0.5352 GB, free: 1.098 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002937/0.452, allocations: 1.024 MB / 0.5362 GB, free: 64 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2046/0.6566, allocations: 305.4 kB / 0.5365 GB, free: 101.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004877/0.6615, allocations: 2.63 MB / 0.5391 GB, free: 101.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005207/0.6667, allocations: 5.587 MB / 0.5446 GB, free: 96.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007892/0.6746, allocations: 8.623 MB / 0.553 GB, free: 89.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.743e-05/0.6747, allocations: 29.19 kB / 0.553 GB, free: 89.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02769/0.7023, allocations: 11.93 MB / 0.5647 GB, free: 82.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.927e-05/0.7024, allocations: 52 kB / 0.5647 GB, free: 82.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01971/0.7221, allocations: 7.138 MB / 0.5717 GB, free: 75.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01974/0.7419, allocations: 4.729 MB / 0.5763 GB, free: 70.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003792/0.7456, allocations: 1.24 MB / 0.5775 GB, free: 69.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01305/0.7587, allocations: 12.18 MB / 0.5894 GB, free: 57.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004808/0.7635, allocations: 0.5784 MB / 0.59 GB, free: 56.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000843/0.7643, allocations: 323.5 kB / 0.5903 GB, free: 56.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002114/0.7665, allocations: 1.413 MB / 0.5917 GB, free: 54.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005358/0.767, allocations: 261 kB / 0.5919 GB, free: 54.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008006/0.7678, allocations: 410.9 kB / 0.5923 GB, free: 54.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009935/0.7777, allocations: 5.005 MB / 0.5972 GB, free: 49.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-05/0.7778, allocations: 7.984 kB / 0.5972 GB, free: 49.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.201e-05/0.7778, allocations: 7.984 kB / 0.5972 GB, free: 49.26 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007726/0.7855, allocations: 5.275 MB / 0.6023 GB, free: 44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.7855, allocations: 0 / 0.6023 GB, free: 44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.7872, allocations: 375.4 kB / 0.6027 GB, free: 43.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007451/0.7946, allocations: 2.385 MB / 0.605 GB, free: 41.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000412/0.795, allocations: 47.95 kB / 0.6051 GB, free: 41.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006924/0.802, allocations: 9.042 MB / 0.6139 GB, free: 31.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00127/0.8032, allocations: 2.863 MB / 0.6167 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01355/0.8168, allocations: 8.762 MB / 0.6253 GB, free: 19.85 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007383/0.8175, allocations: 267.2 kB / 0.6255 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00043/0.8179, allocations: 35.98 kB / 0.6256 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/0.8198, allocations: 319.4 kB / 0.6259 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003483/0.8202, allocations: 115.8 kB / 0.626 GB, free: 19.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.8203, allocations: 47.95 kB / 0.626 GB, free: 19.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002165/0.8225, allocations: 1.863 MB / 0.6278 GB, free: 17.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8225, allocations: 4 kB / 0.6278 GB, free: 17.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003787/0.8263, allocations: 0.9886 MB / 0.6288 GB, free: 16.23 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004112/0.8267, allocations: 175.8 kB / 0.629 GB, free: 16.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01017/0.8369, allocations: 6.894 MB / 0.6357 GB, free: 9.125 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.8369, allocations: 3.391 kB / 0.6357 GB, free: 9.125 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00525/0.8421, allocations: 3.264 MB / 0.6389 GB, free: 5.797 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.8443, allocations: 320 kB / 0.6392 GB, free: 5.488 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01142/0.8558, allocations: 8.522 MB / 0.6475 GB, free: 12.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002467/0.8582, allocations: 2.282 MB / 0.6497 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001369/0.8596, allocations: 243.3 kB / 0.65 GB, free: 10.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.092e-06/0.8596, allocations: 0 / 0.65 GB, free: 10.38 MB / 462.1 MB Notification: Performance of Templates: time 0.3548/1.214, allocations: 145.9 MB / 0.7925 GB, free: 141.9 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp In file included from OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgLoopMain.cpp:39: ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:153: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:204: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:256: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:307: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:358: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:408: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:153: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:204: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:256: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:307: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:358: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:408: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp151 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(2)) + (((-_system->_body2_P_Q_(2)) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:102: error: use of undeclared identifier 'body2_P_Q_start_' tmp151 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(2)) + (((-_system->_body2_P_Q_(2)) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:156: error: use of undeclared identifier 'body2_P_Q_start_' tmp151 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(2)) + (((-_system->_body2_P_Q_(2)) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.933507955167443] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]', 'body2.frame_a.r_0[1]', 'body2.frame_a.r_0[2]', 'body2.frame_a.r_0[3]', 'body2.v_0[1]', 'body2.v_0[2]', 'body2.v_0[3]', 'body2.w_a[1]', 'body2.w_a[2]', 'body2.w_a[3]'] 1.2233848380856216 1.232818748 0.955030957 Calling exit ...