Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001905/0.001905, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001847/0.001847, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.567/1.567, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001623/0.001623, allocations: 47.92 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2838, allocations: 52.18 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009256/0.2931, allocations: 6.207 MB / 430 MB, free: 8.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006529/0.2996, allocations: 2.925 MB / 433 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001/0.3006, allocations: 35.81 kB / 433 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.3024, allocations: 0.6574 MB / 433.7 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003456/0.3059, allocations: 1.444 MB / 435.1 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009606/0.3068, allocations: 495.1 kB / 435.6 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003882/0.3107, allocations: 3.117 MB / 438.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008662/0.3116, allocations: 0.4903 MB / 439.2 MB, free: 15.03 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001151/0.3127, allocations: 0.8134 MB / 440 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.3145, allocations: 1.312 MB / 441.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002865/0.3148, allocations: 132 kB / 441.4 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.3165, allocations: 0.8735 MB / 442.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001082/0.3175, allocations: 1.098 MB / 443.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009836/0.3185, allocations: 0.8885 MB / 444.3 MB, free: 9.898 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004505/0.323, allocations: 4.06 MB / 448.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.323, allocations: 0 / 448.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.323, allocations: 0 / 448.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.589e-05/0.3231, allocations: 0 / 448.4 MB, free: 5.824 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.006344/0.3294, allocations: 3.207 MB / 451.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.3295, allocations: 12.92 kB / 451.6 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007977/0.3374, allocations: 1.91 MB / 453.5 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003634/0.3411, allocations: 1.607 MB / 455.1 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.3412, allocations: 114.6 kB / 455.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000881/0.3421, allocations: 295.5 kB / 455.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01503/0.3571, allocations: 8.23 MB / 463.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.26e-05/0.3572, allocations: 39.69 kB / 463.8 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002574/0.3574, allocations: 75.89 kB / 463.8 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002361/0.3598, allocations: 1.409 MB / 465.2 MB, free: 4.281 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01917/0.379, allocations: 9.546 MB / 474.8 MB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05761/0.4366, allocations: 29.14 MB / 0.4921 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/0.4599, allocations: 3.88 MB / 0.4959 GB, free: 8.816 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006022/0.4659, allocations: 2.077 MB / 0.4979 GB, free: 6.723 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.466, allocations: 16 kB / 0.498 GB, free: 6.707 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.174e-05/0.4661, allocations: 55.55 kB / 0.498 GB, free: 6.645 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 6.332e-06/0.4661, allocations: 0 / 0.498 GB, free: 6.645 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.05169/0.5178, allocations: 17.87 MB / 0.5155 GB, free: 4.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002857/0.5206, allocations: 2.987 MB / 0.5184 GB, free: 1.402 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004172/0.5248, allocations: 2.846 MB / 0.5212 GB, free: 14.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004544/0.5252, allocations: 45.69 kB / 0.5212 GB, free: 14.48 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001776/0.527, allocations: 2.182 MB / 0.5233 GB, free: 12.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000877/0.5279, allocations: 0.5893 MB / 0.5239 GB, free: 11.68 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001598/0.5295, allocations: 1.02 MB / 0.5249 GB, free: 10.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.5296, allocations: 309.1 kB / 0.5252 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004338/0.534, allocations: 2.629 MB / 0.5278 GB, free: 7.707 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007216/0.5412, allocations: 5.581 MB / 0.5332 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01248/0.5537, allocations: 8.615 MB / 0.5416 GB, free: 6.574 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-05/0.5538, allocations: 35.92 kB / 0.5417 GB, free: 6.539 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.2468/0.8006, allocations: 11.76 MB / 0.5532 GB, free: 117.3 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.333e-05/0.8007, allocations: 52.06 kB / 0.5532 GB, free: 117.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02439/0.8251, allocations: 7 MB / 0.56 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03353/0.8586, allocations: 4.54 MB / 0.5645 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006332/0.8649, allocations: 1.242 MB / 0.5657 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01995/0.8849, allocations: 11.92 MB / 0.5773 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005198/0.8901, allocations: 0.5828 MB / 0.5779 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/0.8912, allocations: 311.9 kB / 0.5782 GB, free: 100.9 MB / 462.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.003009/0.8942, allocations: 1.411 MB / 0.5796 GB, free: 99.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006278/0.8949, allocations: 244.8 kB / 0.5798 GB, free: 99.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008309/0.8957, allocations: 393.5 kB / 0.5802 GB, free: 99.11 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01032/0.906, allocations: 5.005 MB / 0.5851 GB, free: 94.09 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/0.906, allocations: 4 kB / 0.5851 GB, free: 94.09 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.539e-05/0.9061, allocations: 6.047 kB / 0.5851 GB, free: 94.08 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007507/0.9136, allocations: 4.583 MB / 0.5896 GB, free: 89.52 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.327e-06/0.9136, allocations: 3.984 kB / 0.5896 GB, free: 89.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001658/0.9152, allocations: 371.4 kB / 0.5899 GB, free: 89.15 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007795/0.923, allocations: 2.386 MB / 0.5922 GB, free: 86.74 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005468/0.9236, allocations: 55.17 kB / 0.5923 GB, free: 86.69 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007127/0.9307, allocations: 8.905 MB / 0.601 GB, free: 77.45 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001279/0.932, allocations: 2.82 MB / 0.6037 GB, free: 74.42 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.9463, allocations: 8.727 MB / 0.6123 GB, free: 65.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007602/0.9471, allocations: 239.7 kB / 0.6125 GB, free: 65.69 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005328/0.9476, allocations: 31.98 kB / 0.6125 GB, free: 65.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002059/0.9497, allocations: 319.4 kB / 0.6128 GB, free: 65.35 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003938/0.9501, allocations: 111.7 kB / 0.6129 GB, free: 65.24 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001614/0.9502, allocations: 55.62 kB / 0.613 GB, free: 65.19 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001969/0.9522, allocations: 1.641 MB / 0.6146 GB, free: 63.54 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.9522, allocations: 0 / 0.6146 GB, free: 63.54 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004082/0.9563, allocations: 1.001 MB / 0.6156 GB, free: 62.54 MB / 462.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.0004559/0.9567, allocations: 176.4 kB / 0.6157 GB, free: 62.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.9671, allocations: 6.893 MB / 0.6225 GB, free: 55.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.9671, allocations: 0 / 0.6225 GB, free: 55.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00564/0.9728, allocations: 3.278 MB / 0.6257 GB, free: 52.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002289/0.975, allocations: 276.8 kB / 0.6259 GB, free: 51.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/0.9861, allocations: 8.505 MB / 0.6342 GB, free: 43.28 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.9878, allocations: 1.724 MB / 0.6359 GB, free: 41.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/0.989, allocations: 227.3 kB / 0.6361 GB, free: 41.31 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/0.989, allocations: 0 / 0.6361 GB, free: 41.31 MB / 462.1 MB Notification: Performance of Templates: time 0.4046/1.394, allocations: 146 MB / 0.7788 GB, free: 178.8 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgLoopMain.cpp:39: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:53: 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_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_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_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:154: 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_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:205: 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_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:258: 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_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:308: 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_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:359: 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_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:410: 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_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:53: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:154: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:205: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:258: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:308: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:359: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:410: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:53: 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:103: 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:154: 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.354954468086362] 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.4029268161393702 1.411607582 1.086321753 Calling exit ...