Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.009611/0.009611, allocations: 102.7 kB / 21.93 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 210.7 kB / 25.22 MB, free: 3.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.664/1.664, allocations: 207.7 MB / 236.1 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002688/0.002688, allocations: 60.44 kB / 348.5 MB, free: 9.375 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4399, allocations: 49.15 MB / 397.6 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008966/0.4489, allocations: 6.217 MB / 403.8 MB, free: 5.332 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007078/0.456, allocations: 2.924 MB / 406.7 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001247/0.4572, allocations: 39.41 kB / 406.8 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00206/0.4593, allocations: 0.6629 MB / 407.4 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00457/0.4638, allocations: 1.437 MB / 408.9 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00142/0.4653, allocations: 0.4883 MB / 409.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.004407/0.4697, allocations: 3.134 MB / 412.5 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007866/0.4705, allocations: 0.4935 MB / 413 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001285/0.4717, allocations: 0.8239 MB / 413.8 MB, free: 112 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002041/0.4738, allocations: 1.32 MB / 415.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.4741, allocations: 131.4 kB / 415.3 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.4762, allocations: 0.8629 MB / 416.1 MB, free: 14.96 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001357/0.4776, allocations: 1.116 MB / 417.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001256/0.4788, allocations: 0.8897 MB / 418.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006751/0.4856, allocations: 4.07 MB / 422.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4856, allocations: 0 / 422.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4856, allocations: 0 / 422.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.963e-05/0.4856, allocations: 0 / 422.2 MB, free: 10.54 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.007977/0.4936, allocations: 3.214 MB / 425.4 MB, free: 7.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.989e-05/0.4937, allocations: 19.98 kB / 425.4 MB, free: 7.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008246/0.5019, allocations: 1.898 MB / 427.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004512/0.5064, allocations: 1.712 MB / 429.1 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001358/0.5066, allocations: 114.6 kB / 429.2 MB, free: 3.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009605/0.5075, allocations: 307.5 kB / 429.5 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01686/0.5244, allocations: 8.215 MB / 437.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-05/0.5245, allocations: 35.75 kB / 437.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002788/0.5248, allocations: 75.89 kB / 437.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002485/0.5272, allocations: 1.397 MB / 439.2 MB, free: 8.906 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0208/0.548, allocations: 9.553 MB / 448.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04462/0.5927, allocations: 29.16 MB / 477.9 MB, free: 1.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01226/0.6049, allocations: 3.886 MB / 481.8 MB, free: 13.4 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003392/0.6083, allocations: 2.07 MB / 483.9 MB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.99e-05/0.6084, allocations: 15.94 kB / 483.9 MB, free: 11.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.621e-05/0.6085, allocations: 50.55 kB / 483.9 MB, free: 11.24 MB / 398.1 MB Notification: Performance of pre-optimization done (n=122): time 4.448e-06/0.6085, allocations: 0 / 483.9 MB, free: 11.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=136): time 0.05144/0.6599, allocations: 17.92 MB / 0.4901 GB, free: 9.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002898/0.6628, allocations: 2.982 MB / 0.493 GB, free: 5.957 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004918/0.6677, allocations: 2.866 MB / 0.4958 GB, free: 3.066 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007873/0.6685, allocations: 41.7 kB / 0.4958 GB, free: 3.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001868/0.6704, allocations: 2.186 MB / 0.498 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00124/0.6716, allocations: 0.5892 MB / 0.4985 GB, free: 220 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001724/0.6733, allocations: 1.028 MB / 0.4995 GB, free: 15.18 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6735, allocations: 305.1 kB / 0.4998 GB, free: 14.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004484/0.678, allocations: 2.633 MB / 0.5024 GB, free: 12.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007264/0.6852, allocations: 5.585 MB / 0.5079 GB, free: 5.172 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01265/0.6979, allocations: 8.614 MB / 0.5163 GB, free: 11.09 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/0.698, allocations: 32 kB / 0.5163 GB, free: 11.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03565/0.7336, allocations: 11.76 MB / 0.5278 GB, free: 15.27 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.693e-05/0.7337, allocations: 52 kB / 0.5278 GB, free: 15.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02498/0.7587, allocations: 6.991 MB / 0.5347 GB, free: 8.191 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02346/0.7822, allocations: 4.546 MB / 0.5391 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005258/0.7874, allocations: 1.244 MB / 0.5403 GB, free: 2.367 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02/0.8074, allocations: 11.92 MB / 0.5519 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006391/0.8138, allocations: 0.5773 MB / 0.5525 GB, free: 5.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/0.8154, allocations: 319.9 kB / 0.5528 GB, free: 5.145 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004677/0.8201, allocations: 1.414 MB / 0.5542 GB, free: 3.719 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008758/0.821, allocations: 246.4 kB / 0.5544 GB, free: 3.477 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009131/0.8219, allocations: 388.7 kB / 0.5548 GB, free: 3.094 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.303/1.125, allocations: 4.996 MB / 0.5597 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.965e-05/1.125, allocations: 4.594 kB / 0.5597 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-05/1.125, allocations: 7.094 kB / 0.5597 GB, free: 145.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/1.137, allocations: 4.579 MB / 0.5642 GB, free: 144.2 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/1.137, allocations: 1.938 kB / 0.5642 GB, free: 144.2 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/1.139, allocations: 371.2 kB / 0.5645 GB, free: 144.2 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008848/1.148, allocations: 2.388 MB / 0.5669 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006915/1.149, allocations: 52.11 kB / 0.5669 GB, free: 143.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009285/1.158, allocations: 8.908 MB / 0.5756 GB, free: 138.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001581/1.16, allocations: 2.827 MB / 0.5784 GB, free: 135.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01674/1.176, allocations: 8.741 MB / 0.5869 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009852/1.177, allocations: 240.4 kB / 0.5871 GB, free: 132.6 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000664/1.178, allocations: 37.83 kB / 0.5872 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002281/1.18, allocations: 323.4 kB / 0.5875 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004278/1.181, allocations: 106.3 kB / 0.5876 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001714/1.181, allocations: 54.91 kB / 0.5876 GB, free: 132.3 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002501/1.183, allocations: 1.659 MB / 0.5892 GB, free: 131.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/1.183, allocations: 0 / 0.5892 GB, free: 131.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005263/1.189, allocations: 0.998 MB / 0.5902 GB, free: 131.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005646/1.189, allocations: 175.5 kB / 0.5904 GB, free: 131.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01144/1.201, allocations: 6.887 MB / 0.5971 GB, free: 125.9 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/1.201, allocations: 4 kB / 0.5971 GB, free: 125.9 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005653/1.206, allocations: 3.278 MB / 0.6003 GB, free: 122.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00233/1.209, allocations: 267.5 kB / 0.6006 GB, free: 122.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01145/1.22, allocations: 8.526 MB / 0.6089 GB, free: 113.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001816/1.222, allocations: 1.727 MB / 0.6106 GB, free: 112 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001408/1.223, allocations: 231.3 kB / 0.6108 GB, free: 111.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.192e-06/1.223, allocations: 0 / 0.6108 GB, free: 111.7 MB / 478.1 MB Notification: Performance of Templates: time 0.376/1.599, allocations: 146.3 MB / 0.7536 GB, free: 171.9 MB / 0.4981 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp:25: In file included from ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgLoopMain.cpp:39: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:53: error: use of undeclared identifier 'body2_P_Q_start_' tmp137 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp137 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:154: error: use of undeclared identifier 'body2_P_Q_start_' tmp137 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:205: error: use of undeclared identifier 'body2_P_Q_start_' tmp137 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:258: error: use of undeclared identifier 'body2_P_Q_start_' tmp137 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:308: error: use of undeclared identifier 'body2_P_Q_start_' tmp137 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:359: error: use of undeclared identifier 'body2_P_Q_start_' tmp137 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:410: error: use of undeclared identifier 'body2_P_Q_start_' tmp137 = std::atan2(((((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:53: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:154: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:205: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:258: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:308: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:359: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:410: error: use of undeclared identifier 'body2_P_Q_start_' tmp138 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:53: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(2))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(2))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:154: error: use of undeclared identifier 'body2_P_Q_start_' tmp139 = std::atan2(((((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(2))) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))), ((((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + (_system->_body2_P_Q_(2) * body2_P_Q_start_(2))) + (_system->_body2_P_Q_(3) * body2_P_Q_start_(3))) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.885783062782139] 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.6113321199081838 1.621124446 1.133102939 Calling exit ...