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.001577/0.001577, allocations: 116.7 kB / 19.18 MB, free: 3.762 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.001641/0.001641, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.459/1.459, allocations: 230.2 MB / 255.1 MB, free: 15.24 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.001851/0.001851, allocations: 59.89 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 53.32 MB / 427.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.2214/0.3289, allocations: 6.983 MB / 434.8 MB, free: 8.047 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005122/0.3341, allocations: 3.133 MB / 438 MB, free: 6.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008143/0.3349, allocations: 35.34 kB / 438 MB, free: 6.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001629/0.3365, allocations: 0.6796 MB / 438.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003232/0.3397, allocations: 1.38 MB / 440.1 MB, free: 6.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.3408, allocations: 0.4994 MB / 440.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004741/0.3455, allocations: 3.203 MB / 443.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000815/0.3463, allocations: 383.8 kB / 444.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.3479, allocations: 0.7883 MB / 444.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001929/0.3498, allocations: 1.334 MB / 446.2 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003758/0.3502, allocations: 130.3 kB / 446.4 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00204/0.3523, allocations: 0.9701 MB / 447.3 MB, free: 3.887 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001176/0.3534, allocations: 1.096 MB / 448.4 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001159/0.3546, allocations: 1.211 MB / 449.7 MB, free: 2.641 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00452/0.3591, allocations: 4.004 MB / 453.7 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3591, allocations: 5.188 kB / 453.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.3591, allocations: 0 / 453.7 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.954e-05/0.3592, allocations: 3.938 kB / 453.7 MB, free: 0.5156 MB / 350.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.007265/0.3664, allocations: 3.253 MB / 456.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.3665, allocations: 9.531 kB / 456.9 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009003/0.3755, allocations: 2.026 MB / 459 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003261/0.3788, allocations: 1.597 MB / 460.6 MB, free: 12.17 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.3789, allocations: 118.8 kB / 460.7 MB, free: 12.11 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000913/0.3798, allocations: 300.5 kB / 461 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01542/0.3952, allocations: 8.223 MB / 469.2 MB, free: 6.777 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.687e-05/0.3953, allocations: 39.7 kB / 469.2 MB, free: 6.738 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002873/0.3956, allocations: 75.89 kB / 469.3 MB, free: 6.664 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002432/0.398, allocations: 1.397 MB / 470.7 MB, free: 5.262 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01919/0.4172, allocations: 9.538 MB / 480.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04143/0.4586, allocations: 30.57 MB / 0.4988 GB, free: 12.32 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.472, allocations: 4.33 MB / 0.5031 GB, free: 7.828 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003383/0.4754, allocations: 2.084 MB / 0.5051 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.433e-05/0.4755, allocations: 15.97 kB / 0.5051 GB, free: 5.715 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.652e-05/0.4755, allocations: 54.5 kB / 0.5052 GB, free: 5.652 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 4.589e-06/0.4755, allocations: 1.406 kB / 0.5052 GB, free: 5.652 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.05248/0.528, allocations: 18.42 MB / 0.5232 GB, free: 2.953 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002981/0.531, allocations: 3.24 MB / 0.5263 GB, free: 15.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004788/0.5358, allocations: 2.983 MB / 0.5292 GB, free: 12.38 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006924/0.5365, allocations: 45.69 kB / 0.5293 GB, free: 12.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001873/0.5383, allocations: 2.159 MB / 0.5314 GB, free: 10.15 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001152/0.5395, allocations: 0.5932 MB / 0.532 GB, free: 9.551 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002004/0.5415, allocations: 1.02 MB / 0.533 GB, free: 8.52 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5416, allocations: 305.3 kB / 0.5333 GB, free: 8.219 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004521/0.5461, allocations: 2.63 MB / 0.5358 GB, free: 5.582 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006786/0.5529, allocations: 5.592 MB / 0.5413 GB, free: 14.51 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.012/0.5649, allocations: 8.62 MB / 0.5497 GB, free: 4.43 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.581e-05/0.565, allocations: 28 kB / 0.5497 GB, free: 4.402 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0369/0.6019, allocations: 11.93 MB / 0.5614 GB, free: 8.434 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.947e-05/0.602, allocations: 52.94 kB / 0.5614 GB, free: 8.383 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0255/0.6275, allocations: 7.144 MB / 0.5684 GB, free: 1.207 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02413/0.6516, allocations: 4.728 MB / 0.573 GB, free: 12.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004527/0.6561, allocations: 1.244 MB / 0.5742 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01968/0.6758, allocations: 12.6 MB / 0.5865 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005575/0.6814, allocations: 0.5772 MB / 0.5871 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009704/0.6824, allocations: 315.9 kB / 0.5874 GB, free: 13.16 MB / 0.4981 GB 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.002716/0.6851, allocations: 1.41 MB / 0.5888 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006152/0.6857, allocations: 266.2 kB / 0.589 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.6867, allocations: 414.9 kB / 0.5894 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01337/0.7001, allocations: 4.991 MB / 0.5943 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.346e-05/0.7001, allocations: 7.984 kB / 0.5943 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.057e-05/0.7002, allocations: 11.92 kB / 0.5943 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009434/0.7096, allocations: 5.361 MB / 0.5996 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/0.7096, allocations: 3.938 kB / 0.5996 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001862/0.7115, allocations: 371.4 kB / 0.5999 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009756/0.7212, allocations: 2.376 MB / 0.6022 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000402/0.7216, allocations: 51.94 kB / 0.6023 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01146/0.7331, allocations: 9.439 MB / 0.6115 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002605/0.7357, allocations: 3.075 MB / 0.6145 GB, free: 400 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2113/0.947, allocations: 8.762 MB / 0.6231 GB, free: 163.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008252/0.9478, allocations: 329.3 kB / 0.6234 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005745/0.9484, allocations: 36.02 kB / 0.6234 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002266/0.9507, allocations: 318.2 kB / 0.6237 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004627/0.9511, allocations: 107.1 kB / 0.6238 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001894/0.9513, allocations: 54.5 kB / 0.6239 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002958/0.9543, allocations: 1.862 MB / 0.6257 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.9543, allocations: 0 / 0.6257 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004674/0.959, allocations: 0.9946 MB / 0.6267 GB, free: 162.6 MB / 0.5137 GB 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.0005355/0.9595, allocations: 174.2 kB / 0.6268 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01264/0.9721, allocations: 7.194 MB / 0.6339 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9721, allocations: 0 / 0.6339 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006117/0.9783, allocations: 3.576 MB / 0.6373 GB, free: 158.3 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.9806, allocations: 302.1 kB / 0.6376 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.9912, allocations: 8.481 MB / 0.6459 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001647/0.9928, allocations: 2.294 MB / 0.6482 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/0.994, allocations: 231.2 kB / 0.6484 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of SimCode: time 1.142e-06/0.994, allocations: 0 / 0.6484 GB, free: 153.3 MB / 0.5137 GB Notification: Performance of Templates: time 0.1115/1.106, allocations: 145.9 MB / 0.7909 GB, free: 11.66 MB / 0.5137 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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 4.946798064978793] 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.1138410749845207 1.129165788 0.766394468 Calling exit ...