Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001847/0.001847, allocations: 120.5 kB / 21.94 MB, free: 8 kB / 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.002426/0.002426, allocations: 204.8 kB / 25.24 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.648/1.648, allocations: 207.6 MB / 236 MB, free: 9.969 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 51.92 kB / 348.5 MB, free: 9.598 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3281, allocations: 49.16 MB / 397.6 MB, free: 9.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.007367/0.3355, allocations: 7.042 MB / 404.7 MB, free: 4.516 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006479/0.342, allocations: 3.152 MB / 407.8 MB, free: 2.469 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000903/0.3429, allocations: 36.38 kB / 407.8 MB, free: 2.461 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.3451, allocations: 0.6763 MB / 408.5 MB, free: 2.176 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004424/0.3495, allocations: 1.432 MB / 410 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001476/0.351, allocations: 0.4883 MB / 410.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005303/0.3563, allocations: 3.134 MB / 413.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001354/0.3576, allocations: 497.3 kB / 414.1 MB, free: 15.51 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002188/0.3598, allocations: 0.8244 MB / 414.9 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/0.3629, allocations: 1.34 MB / 416.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007483/0.3637, allocations: 135.3 kB / 416.4 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00278/0.3665, allocations: 0.9857 MB / 417.3 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001959/0.3684, allocations: 1.117 MB / 418.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002904/0.3713, allocations: 1.231 MB / 419.7 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007731/0.3791, allocations: 4.065 MB / 423.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3791, allocations: 0 / 423.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3791, allocations: 0 / 423.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001822/0.3792, allocations: 4 kB / 423.8 MB, free: 9.207 MB / 334.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.01013/0.3894, allocations: 3.218 MB / 427 MB, free: 5.941 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.802e-05/0.3894, allocations: 15.92 kB / 427 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008472/0.3979, allocations: 1.906 MB / 428.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004487/0.4024, allocations: 1.697 MB / 430.6 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001647/0.4026, allocations: 110.6 kB / 430.7 MB, free: 2.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001321/0.4039, allocations: 303.5 kB / 431 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02052/0.4244, allocations: 8.223 MB / 439.2 MB, free: 9.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001494/0.4246, allocations: 31.75 kB / 439.3 MB, free: 9.062 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000787/0.4253, allocations: 79.89 kB / 439.3 MB, free: 8.984 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002574/0.4279, allocations: 1.393 MB / 440.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02094/0.4489, allocations: 9.592 MB / 450.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04953/0.4984, allocations: 30.52 MB / 480.8 MB, free: 14.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01271/0.5111, allocations: 3.884 MB / 484.7 MB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003556/0.5147, allocations: 2.074 MB / 486.8 MB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000138/0.5148, allocations: 12.12 kB / 486.8 MB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.914e-05/0.5148, allocations: 54.48 kB / 486.9 MB, free: 8.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=122): time 4.358e-06/0.5148, allocations: 3.938 kB / 486.9 MB, free: 8.496 MB / 398.1 MB Notification: Performance of matching and sorting (n=136): time 0.0563/0.5712, allocations: 17.89 MB / 0.4929 GB, free: 6.484 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003316/0.5745, allocations: 3.036 MB / 0.4959 GB, free: 3.164 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007087/0.5816, allocations: 3.011 MB / 0.4988 GB, free: 136 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007184/0.5823, allocations: 41.7 kB / 0.4989 GB, free: 88 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002407/0.5847, allocations: 2.175 MB / 0.501 GB, free: 13.89 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001473/0.5862, allocations: 0.5854 MB / 0.5016 GB, free: 13.3 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003691/0.5898, allocations: 1.028 MB / 0.5026 GB, free: 12.26 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.59, allocations: 301.1 kB / 0.5029 GB, free: 11.96 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005134/0.5951, allocations: 2.629 MB / 0.5054 GB, free: 9.328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008126/0.6032, allocations: 5.588 MB / 0.5109 GB, free: 2.262 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01432/0.6176, allocations: 8.63 MB / 0.5193 GB, free: 8.16 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001351/0.6177, allocations: 28 kB / 0.5193 GB, free: 8.133 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03847/0.6562, allocations: 11.78 MB / 0.5308 GB, free: 12.32 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/0.6563, allocations: 48 kB / 0.5309 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02617/0.6825, allocations: 6.994 MB / 0.5377 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02328/0.7058, allocations: 4.546 MB / 0.5422 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005549/0.7113, allocations: 1.244 MB / 0.5434 GB, free: 15.42 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/0.7329, allocations: 12.13 MB / 0.5552 GB, free: 2.824 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007523/0.7404, allocations: 0.5733 MB / 0.5558 GB, free: 2.25 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002132/0.7426, allocations: 311.9 kB / 0.5561 GB, free: 1.945 MB / 478.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.006005/0.7486, allocations: 1.422 MB / 0.5575 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001519/0.7501, allocations: 274.2 kB / 0.5577 GB, free: 248 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3545/1.105, allocations: 410.8 kB / 0.5581 GB, free: 146.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0165/1.121, allocations: 4.995 MB / 0.563 GB, free: 146 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.796e-05/1.121, allocations: 6.344 kB / 0.563 GB, free: 146 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.45e-05/1.121, allocations: 6.531 kB / 0.563 GB, free: 146 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01498/1.136, allocations: 5.284 MB / 0.5682 GB, free: 144 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.881e-05/1.136, allocations: 2.156 kB / 0.5682 GB, free: 144 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002185/1.138, allocations: 364.8 kB / 0.5685 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009107/1.147, allocations: 2.388 MB / 0.5708 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008536/1.148, allocations: 47.42 kB / 0.5709 GB, free: 143.6 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01087/1.159, allocations: 9.037 MB / 0.5797 GB, free: 137.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001703/1.161, allocations: 2.87 MB / 0.5825 GB, free: 134.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01708/1.178, allocations: 8.767 MB / 0.5911 GB, free: 130.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.179, allocations: 268.1 kB / 0.5913 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007103/1.18, allocations: 31.55 kB / 0.5914 GB, free: 130.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002253/1.182, allocations: 327.7 kB / 0.5917 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005556/1.183, allocations: 110.8 kB / 0.5918 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002185/1.183, allocations: 58.91 kB / 0.5918 GB, free: 130.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003598/1.186, allocations: 1.879 MB / 0.5937 GB, free: 129.6 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.186, allocations: 0 / 0.5937 GB, free: 129.6 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.007674/1.194, allocations: 1.005 MB / 0.5947 GB, free: 128.8 MB / 478.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.000785/1.195, allocations: 172 kB / 0.5948 GB, free: 128.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01308/1.208, allocations: 6.895 MB / 0.6016 GB, free: 121.8 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.208, allocations: 3.25 kB / 0.6016 GB, free: 121.8 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006182/1.214, allocations: 3.273 MB / 0.6048 GB, free: 118.4 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003478/1.218, allocations: 302.6 kB / 0.605 GB, free: 118.2 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01473/1.232, allocations: 8.563 MB / 0.6134 GB, free: 109.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001825/1.234, allocations: 2.287 MB / 0.6156 GB, free: 107.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001199/1.235, allocations: 243.3 kB / 0.6159 GB, free: 107 MB / 478.1 MB Notification: Performance of SimCode: time 1.543e-06/1.235, allocations: 0 / 0.6159 GB, free: 107 MB / 478.1 MB Notification: Performance of Templates: time 0.4873/1.723, allocations: 146.4 MB / 0.7589 GB, free: 169 MB / 0.4981 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp:25: In file included from ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgLoopMain.cpp:39: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:53: error: use of undeclared identifier 'body2_P_Q_start_' tmp148 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp148 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:154: error: use of undeclared identifier 'body2_P_Q_start_' tmp148 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:205: error: use of undeclared identifier 'body2_P_Q_start_' tmp148 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:258: error: use of undeclared identifier 'body2_P_Q_start_' tmp148 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:308: error: use of undeclared identifier 'body2_P_Q_start_' tmp148 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:359: error: use of undeclared identifier 'body2_P_Q_start_' tmp148 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:410: error: use of undeclared identifier 'body2_P_Q_start_' tmp148 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:53: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:154: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:205: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:258: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:308: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:359: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:410: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:53: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:154: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.9724520379677415] 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.7340817640069872 1.747047497 1.365164561 Calling exit ...