Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001534/0.001534, allocations: 115.1 kB / 18.45 MB, free: 4.605 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.00193/0.00193, allocations: 207.3 kB / 21.41 MB, free: 1.648 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 254.8 MB, free: 15.25 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 55.91 kB / 374.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09864/0.1002, allocations: 53.32 MB / 427.5 MB, free: 4.406 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.1921/0.2923, allocations: 6.991 MB / 434.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005123/0.2974, allocations: 3.12 MB / 437.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007554/0.2981, allocations: 40.19 kB / 437.6 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001522/0.2997, allocations: 0.6843 MB / 438.3 MB, free: 6.434 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003163/0.3028, allocations: 1.38 MB / 439.7 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3038, allocations: 0.4953 MB / 440.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004487/0.3083, allocations: 3.206 MB / 443.4 MB, free: 4.836 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006998/0.309, allocations: 378.7 kB / 443.8 MB, free: 4.668 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.3104, allocations: 0.8057 MB / 444.6 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001739/0.3121, allocations: 1.333 MB / 445.9 MB, free: 3.945 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003957/0.3125, allocations: 134.6 kB / 446 MB, free: 3.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001824/0.3144, allocations: 0.9768 MB / 447 MB, free: 3.711 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.3154, allocations: 1.089 MB / 448.1 MB, free: 3.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.3165, allocations: 1.208 MB / 449.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004405/0.3209, allocations: 4.012 MB / 453.3 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3209, allocations: 0 / 453.3 MB, free: 344 kB / 350.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3209, allocations: 1.562 kB / 453.3 MB, free: 344 kB / 350.1 MB Notification: Performance of Transformations before backend: time 8.011e-05/0.321, allocations: 0 / 453.3 MB, free: 344 kB / 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.008031/0.329, allocations: 3.253 MB / 456.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.329, allocations: 10.03 kB / 456.6 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009357/0.3384, allocations: 2.025 MB / 458.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.342, allocations: 1.601 MB / 460.2 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.3421, allocations: 118.8 kB / 460.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001039/0.3431, allocations: 304.6 kB / 460.6 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01678/0.3599, allocations: 8.22 MB / 468.9 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.714e-05/0.36, allocations: 31.7 kB / 468.9 MB, free: 6.477 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003452/0.3604, allocations: 79.89 kB / 469 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002591/0.363, allocations: 1.401 MB / 470.4 MB, free: 4.992 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02039/0.3833, allocations: 9.539 MB / 479.9 MB, free: 11.45 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04164/0.425, allocations: 30.57 MB / 0.4985 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/0.4378, allocations: 4.328 MB / 0.5027 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003351/0.4411, allocations: 2.092 MB / 0.5048 GB, free: 5.465 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.565e-05/0.4412, allocations: 11.98 kB / 0.5048 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.4413, allocations: 42.56 kB / 0.5048 GB, free: 5.402 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.356e-06/0.4413, allocations: 0 / 0.5048 GB, free: 5.402 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.05308/0.4944, allocations: 18.45 MB / 0.5228 GB, free: 2.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002918/0.4973, allocations: 3.232 MB / 0.526 GB, free: 15.12 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00534/0.5026, allocations: 2.987 MB / 0.5289 GB, free: 12.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006944/0.5033, allocations: 41.7 kB / 0.529 GB, free: 12.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001932/0.5052, allocations: 2.159 MB / 0.5311 GB, free: 9.887 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001231/0.5065, allocations: 0.5932 MB / 0.5316 GB, free: 9.289 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001775/0.5082, allocations: 1.024 MB / 0.5326 GB, free: 8.254 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5084, allocations: 301.1 kB / 0.5329 GB, free: 7.957 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004378/0.5128, allocations: 2.633 MB / 0.5355 GB, free: 5.316 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00721/0.52, allocations: 5.584 MB / 0.541 GB, free: 14.25 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01279/0.5328, allocations: 8.624 MB / 0.5494 GB, free: 4.172 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.231e-05/0.5328, allocations: 28 kB / 0.5494 GB, free: 4.145 MB / 462.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03796/0.5708, allocations: 11.93 MB / 0.5611 GB, free: 8.18 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001321/0.5709, allocations: 55.94 kB / 0.5611 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02674/0.5977, allocations: 7.13 MB / 0.5681 GB, free: 0.9609 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02533/0.623, allocations: 4.727 MB / 0.5727 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004855/0.6279, allocations: 1.244 MB / 0.5739 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01996/0.6478, allocations: 12.61 MB / 0.5862 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005872/0.6537, allocations: 0.5772 MB / 0.5868 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001246/0.6549, allocations: 316 kB / 0.5871 GB, free: 12.91 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.003835/0.6588, allocations: 1.419 MB / 0.5885 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009526/0.6597, allocations: 262.5 kB / 0.5887 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001574/0.6613, allocations: 413.7 kB / 0.5891 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01413/0.6754, allocations: 5.003 MB / 0.594 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.557e-05/0.6755, allocations: 7.938 kB / 0.594 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-05/0.6755, allocations: 11.91 kB / 0.594 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01176/0.6872, allocations: 5.35 MB / 0.5992 GB, free: 336 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-05/0.6873, allocations: 7.938 kB / 0.5992 GB, free: 328 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002124/0.6894, allocations: 371.3 kB / 0.5996 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01004/0.6994, allocations: 2.378 MB / 0.6019 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005761/0.7, allocations: 48.81 kB / 0.602 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01188/0.7119, allocations: 9.443 MB / 0.6112 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00265/0.7145, allocations: 3.073 MB / 0.6142 GB, free: 136 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2155/0.93, allocations: 8.758 MB / 0.6227 GB, free: 163.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/0.9308, allocations: 335.6 kB / 0.6231 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006772/0.9315, allocations: 36.16 kB / 0.6231 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/0.9339, allocations: 316.4 kB / 0.6234 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000481/0.9344, allocations: 107 kB / 0.6235 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00019/0.9346, allocations: 55.66 kB / 0.6236 GB, free: 163.2 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003043/0.9376, allocations: 1.862 MB / 0.6254 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9376, allocations: 0 / 0.6254 GB, free: 162.5 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005115/0.9427, allocations: 0.9937 MB / 0.6263 GB, free: 162.4 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.0005383/0.9433, allocations: 174.1 kB / 0.6265 GB, free: 162.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01281/0.9561, allocations: 7.19 MB / 0.6335 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.9561, allocations: 0 / 0.6335 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006171/0.9622, allocations: 3.577 MB / 0.637 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002625/0.9649, allocations: 302.6 kB / 0.6373 GB, free: 158.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.9759, allocations: 8.475 MB / 0.6456 GB, free: 154.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/0.9776, allocations: 2.288 MB / 0.6478 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001285/0.9789, allocations: 242.3 kB / 0.6481 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/0.9789, allocations: 0 / 0.6481 GB, free: 153.2 MB / 0.5137 GB Notification: Performance of Templates: time 0.1098/1.089, allocations: 145.9 MB / 0.7906 GB, free: 11.48 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] make -j1 -f Modelica_4.1.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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp In file included from OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgLoopMain.cpp:39: ./OMCppModelica_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_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_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.004020517022582] 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.0972794010012876 1.106872797 0.7832945060000001 Calling exit ...