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.001384/0.001384, allocations: 109.1 kB / 21.19 MB, free: 0.7617 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.001614/0.001614, allocations: 217 kB / 24.5 MB, free: 4.133 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.463/1.463, allocations: 230.5 MB / 258.1 MB, free: 8.004 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.002126/0.002126, allocations: 63.89 kB / 379 MB, free: 2.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2782, allocations: 53.41 MB / 432.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009791/0.288, allocations: 7.009 MB / 439.5 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006814/0.2948, allocations: 3.154 MB / 442.6 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001002/0.2958, allocations: 39.81 kB / 442.6 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0019/0.2977, allocations: 0.6808 MB / 443.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004413/0.3021, allocations: 1.386 MB / 444.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.3036, allocations: 0.4952 MB / 445.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005275/0.3089, allocations: 3.218 MB / 448.4 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001134/0.31, allocations: 490.3 kB / 448.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001663/0.3117, allocations: 0.8056 MB / 449.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002581/0.3143, allocations: 1.339 MB / 451.1 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006088/0.3149, allocations: 132 kB / 451.2 MB, free: 3.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002466/0.3174, allocations: 0.9671 MB / 452.1 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001597/0.319, allocations: 1.09 MB / 453.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002619/0.3216, allocations: 1.211 MB / 454.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006821/0.3284, allocations: 4.012 MB / 458.5 MB, free: 12.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3284, allocations: 4 kB / 458.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3284, allocations: 0 / 458.5 MB, free: 12.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001287/0.3285, allocations: 3.938 kB / 458.5 MB, free: 12.65 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.008644/0.3372, allocations: 3.183 MB / 461.7 MB, free: 9.418 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.552e-05/0.3372, allocations: 8.031 kB / 461.7 MB, free: 9.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008822/0.3461, allocations: 2.019 MB / 463.7 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004051/0.3501, allocations: 1.54 MB / 465.2 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001792/0.3503, allocations: 122.6 kB / 465.3 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001194/0.3515, allocations: 299.5 kB / 465.6 MB, free: 5.398 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02011/0.3716, allocations: 8.219 MB / 473.8 MB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001392/0.3717, allocations: 39.7 kB / 473.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007886/0.3725, allocations: 79.89 kB / 474 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00268/0.3752, allocations: 1.397 MB / 475.4 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02065/0.3958, allocations: 9.581 MB / 484.9 MB, free: 1.508 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04574/0.4416, allocations: 30.51 MB / 0.5034 GB, free: 2.129 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01261/0.4542, allocations: 3.881 MB / 0.5072 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003534/0.4577, allocations: 2.082 MB / 0.5092 GB, free: 12.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000148/0.4579, allocations: 15.94 kB / 0.5092 GB, free: 12.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.4579, allocations: 46.5 kB / 0.5093 GB, free: 12.03 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 4.478e-06/0.4579, allocations: 4 kB / 0.5093 GB, free: 12.03 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.05236/0.5103, allocations: 17.85 MB / 0.5267 GB, free: 10.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003116/0.5134, allocations: 3.029 MB / 0.5297 GB, free: 6.742 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005061/0.5185, allocations: 2.979 MB / 0.5326 GB, free: 3.742 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005458/0.519, allocations: 41.7 kB / 0.5326 GB, free: 3.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.5209, allocations: 2.163 MB / 0.5347 GB, free: 1.512 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001155/0.5221, allocations: 0.5932 MB / 0.5353 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.2208/0.7429, allocations: 1.013 MB / 0.5363 GB, free: 101.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.074e-05/0.7429, allocations: 304.4 kB / 0.5366 GB, free: 100.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004672/0.7476, allocations: 2.63 MB / 0.5391 GB, free: 100.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004973/0.7526, allocations: 5.585 MB / 0.5446 GB, free: 95.91 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007573/0.7602, allocations: 8.632 MB / 0.553 GB, free: 89.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.349e-05/0.7603, allocations: 29.06 kB / 0.5531 GB, free: 89.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02901/0.7893, allocations: 11.92 MB / 0.5647 GB, free: 82.54 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.461e-05/0.7893, allocations: 56.25 kB / 0.5647 GB, free: 82.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02051/0.8099, allocations: 7.137 MB / 0.5717 GB, free: 75.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02071/0.8306, allocations: 4.721 MB / 0.5763 GB, free: 70.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004247/0.8348, allocations: 1.24 MB / 0.5775 GB, free: 69.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01376/0.8486, allocations: 12.19 MB / 0.5894 GB, free: 56.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00495/0.8535, allocations: 0.5744 MB / 0.59 GB, free: 56.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001101/0.8546, allocations: 323.8 kB / 0.5903 GB, free: 55.88 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.002651/0.8573, allocations: 1.419 MB / 0.5917 GB, free: 54.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006014/0.8579, allocations: 261.2 kB / 0.5919 GB, free: 54.41 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008469/0.8587, allocations: 410.9 kB / 0.5923 GB, free: 54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009683/0.8684, allocations: 5.001 MB / 0.5972 GB, free: 48.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.8684, allocations: 4 kB / 0.5972 GB, free: 48.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.922e-05/0.8684, allocations: 15.97 kB / 0.5972 GB, free: 48.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007229/0.8757, allocations: 5.282 MB / 0.6024 GB, free: 43.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.993e-06/0.8757, allocations: 0.875 kB / 0.6024 GB, free: 43.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.8772, allocations: 367.4 kB / 0.6027 GB, free: 43.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007323/0.8846, allocations: 2.382 MB / 0.6051 GB, free: 40.91 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003437/0.8849, allocations: 54.94 kB / 0.6051 GB, free: 40.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007078/0.892, allocations: 9.044 MB / 0.614 GB, free: 31.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001278/0.8933, allocations: 2.866 MB / 0.6168 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01405/0.9073, allocations: 8.763 MB / 0.6253 GB, free: 19.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006484/0.908, allocations: 259.2 kB / 0.6256 GB, free: 19.29 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006147/0.9086, allocations: 31.98 kB / 0.6256 GB, free: 19.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002244/0.9108, allocations: 323.4 kB / 0.6259 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004156/0.9112, allocations: 119.5 kB / 0.626 GB, free: 18.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001993/0.9114, allocations: 47.95 kB / 0.6261 GB, free: 18.78 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002431/0.9139, allocations: 1.863 MB / 0.6279 GB, free: 16.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9139, allocations: 0 / 0.6279 GB, free: 16.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004074/0.9179, allocations: 0.9931 MB / 0.6289 GB, free: 15.93 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.0005132/0.9185, allocations: 173.7 kB / 0.629 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01022/0.9287, allocations: 6.89 MB / 0.6357 GB, free: 8.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.9287, allocations: 4.062 kB / 0.6357 GB, free: 8.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005336/0.934, allocations: 3.27 MB / 0.6389 GB, free: 5.48 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002128/0.9361, allocations: 308.2 kB / 0.6392 GB, free: 5.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01187/0.948, allocations: 8.533 MB / 0.6476 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002747/0.9508, allocations: 2.282 MB / 0.6498 GB, free: 10.3 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001354/0.9521, allocations: 239.3 kB / 0.65 GB, free: 10.06 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.9521, allocations: 0 / 0.65 GB, free: 10.06 MB / 462.1 MB Notification: Performance of Templates: time 0.3452/1.297, allocations: 145.9 MB / 0.7925 GB, free: 141.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 -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_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_' 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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.246338053140789] 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.3064771539065987 1.315844925 0.984807648 Calling exit ...