Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001723/0.001723, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001903/0.001903, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 230.5 MB / 258.1 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0023/0.0023, allocations: 67.89 kB / 379 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2952, allocations: 53.42 MB / 432.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009074/0.3043, allocations: 6.172 MB / 438.6 MB, free: 360 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006801/0.3111, allocations: 2.94 MB / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000918/0.312, allocations: 39.81 kB / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.3139, allocations: 0.6613 MB / 442.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00373/0.3176, allocations: 1.405 MB / 443.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001092/0.3187, allocations: 495.1 kB / 444.1 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004248/0.3229, allocations: 3.214 MB / 447.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007644/0.3237, allocations: 494 kB / 447.8 MB, free: 7.094 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001101/0.3248, allocations: 0.8056 MB / 448.6 MB, free: 6.285 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001722/0.3265, allocations: 1.304 MB / 449.9 MB, free: 4.977 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002991/0.3268, allocations: 132 kB / 450 MB, free: 4.848 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.3284, allocations: 0.8462 MB / 450.9 MB, free: 4 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001089/0.3295, allocations: 1.094 MB / 452 MB, free: 2.902 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001009/0.3305, allocations: 0.8807 MB / 452.9 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005449/0.336, allocations: 4.009 MB / 456.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.336, allocations: 3.938 kB / 456.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.336, allocations: 0 / 456.9 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001026/0.3361, allocations: 0 / 456.9 MB, free: 13.99 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.006801/0.3429, allocations: 3.187 MB / 460.1 MB, free: 10.75 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.3429, allocations: 11.98 kB / 460.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008752/0.3517, allocations: 2.019 MB / 462.1 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004081/0.3557, allocations: 1.556 MB / 463.6 MB, free: 7.129 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.3559, allocations: 118.6 kB / 463.8 MB, free: 7.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001023/0.3569, allocations: 299.5 kB / 464.1 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01645/0.3733, allocations: 8.219 MB / 472.3 MB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-05/0.3734, allocations: 35.7 kB / 472.3 MB, free: 13.89 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000292/0.3737, allocations: 75.89 kB / 472.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/0.3762, allocations: 1.405 MB / 473.8 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01967/0.3959, allocations: 9.553 MB / 483.3 MB, free: 2.855 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03841/0.4343, allocations: 29.14 MB / 0.5005 GB, free: 4.871 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01222/0.4465, allocations: 3.884 MB / 0.5043 GB, free: 0.9414 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003284/0.4498, allocations: 2.078 MB / 0.5063 GB, free: 14.85 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.013e-05/0.4499, allocations: 12 kB / 0.5063 GB, free: 14.84 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.999e-05/0.4499, allocations: 46.5 kB / 0.5063 GB, free: 14.78 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.647e-06/0.4499, allocations: 0 / 0.5063 GB, free: 14.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04923/0.4992, allocations: 17.87 MB / 0.5238 GB, free: 12.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002831/0.502, allocations: 2.982 MB / 0.5267 GB, free: 9.547 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004181/0.5062, allocations: 2.838 MB / 0.5295 GB, free: 6.684 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000563/0.5067, allocations: 41.7 kB / 0.5295 GB, free: 6.637 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001937/0.5087, allocations: 2.186 MB / 0.5317 GB, free: 4.426 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001165/0.5098, allocations: 0.5893 MB / 0.5322 GB, free: 3.832 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001972/0.5118, allocations: 1.028 MB / 0.5332 GB, free: 2.793 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001429/0.5119, allocations: 301.1 kB / 0.5335 GB, free: 2.496 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2155/0.7274, allocations: 2.627 MB / 0.5361 GB, free: 100.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006094/0.7335, allocations: 5.589 MB / 0.5415 GB, free: 96.58 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008511/0.7421, allocations: 8.615 MB / 0.55 GB, free: 90.39 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001225/0.7422, allocations: 32.31 kB / 0.55 GB, free: 90.39 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02957/0.7717, allocations: 11.9 MB / 0.5616 GB, free: 84.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.146e-05/0.7718, allocations: 48 kB / 0.5617 GB, free: 84.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02165/0.7935, allocations: 7.146 MB / 0.5686 GB, free: 77.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02132/0.8148, allocations: 4.717 MB / 0.5732 GB, free: 72.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003907/0.8187, allocations: 1.248 MB / 0.5745 GB, free: 71.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01378/0.8325, allocations: 11.96 MB / 0.5861 GB, free: 59.27 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004963/0.8374, allocations: 0.5787 MB / 0.5867 GB, free: 58.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008748/0.8383, allocations: 315.9 kB / 0.587 GB, free: 58.4 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.002132/0.8404, allocations: 1.417 MB / 0.5884 GB, free: 57.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004865/0.8409, allocations: 240.5 kB / 0.5886 GB, free: 56.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000591/0.8415, allocations: 396.2 kB / 0.589 GB, free: 56.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0104/0.8519, allocations: 5.001 MB / 0.5939 GB, free: 51.53 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/0.8519, allocations: 4 kB / 0.5939 GB, free: 51.52 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.568e-05/0.852, allocations: 7.922 kB / 0.5939 GB, free: 51.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007413/0.8594, allocations: 4.58 MB / 0.5984 GB, free: 46.95 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/0.8594, allocations: 0 / 0.5984 GB, free: 46.95 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/0.861, allocations: 375.3 kB / 0.5987 GB, free: 46.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007933/0.869, allocations: 2.382 MB / 0.601 GB, free: 44.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004597/0.8694, allocations: 52.33 kB / 0.6011 GB, free: 44.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007147/0.8766, allocations: 8.921 MB / 0.6098 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001278/0.8778, allocations: 2.818 MB / 0.6126 GB, free: 31.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01502/0.8929, allocations: 8.737 MB / 0.6211 GB, free: 23.19 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007425/0.8936, allocations: 233.5 kB / 0.6213 GB, free: 22.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005455/0.8941, allocations: 35.98 kB / 0.6213 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/0.8962, allocations: 319.4 kB / 0.6217 GB, free: 22.62 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/0.8965, allocations: 110 kB / 0.6218 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001508/0.8967, allocations: 51.91 kB / 0.6218 GB, free: 22.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00195/0.8986, allocations: 1.637 MB / 0.6234 GB, free: 20.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8986, allocations: 0 / 0.6234 GB, free: 20.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004182/0.9028, allocations: 0.9947 MB / 0.6244 GB, free: 19.83 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.0005157/0.9033, allocations: 172.5 kB / 0.6245 GB, free: 19.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01091/0.9142, allocations: 6.889 MB / 0.6313 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.9142, allocations: 0 / 0.6313 GB, free: 12.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005637/0.9199, allocations: 3.273 MB / 0.6345 GB, free: 9.391 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002009/0.9219, allocations: 274.8 kB / 0.6347 GB, free: 9.125 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01027/0.9321, allocations: 8.494 MB / 0.643 GB, free: 0.5977 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002104/0.9342, allocations: 1.717 MB / 0.6447 GB, free: 14.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001363/0.9356, allocations: 231.3 kB / 0.6449 GB, free: 14.62 MB / 462.1 MB Notification: Performance of SimCode: time 1.633e-06/0.9356, allocations: 0 / 0.6449 GB, free: 14.62 MB / 462.1 MB Notification: Performance of Templates: time 0.3764/1.312, allocations: 145.7 MB / 0.7872 GB, free: 145.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] make -j1 -f Modelica_trunk_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 -DOMC_BUILD -DUSE_THREAD -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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp:25: In file included from ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgLoopMain.cpp:39: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:153: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:204: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:256: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:307: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:358: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:408: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:153: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:204: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:256: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:307: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:358: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:408: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp140 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:102: error: use of undeclared identifier 'body2_P_Q_start_' tmp140 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:156: error: use of undeclared identifier 'body2_P_Q_start_' tmp140 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.184738424606621] 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.3214860199950635 1.331442664 0.992968714 Calling exit ...