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.001396/0.001396, allocations: 119.4 kB / 18.46 MB, free: 4.582 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.001331/0.001331, allocations: 192.3 kB / 21.4 MB, free: 1.648 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.45/1.45, allocations: 225.6 MB / 249.8 MB, free: 3.723 MB / 190.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.001557/0.001557, allocations: 51.91 kB / 366.8 MB, free: 416 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1076, allocations: 52.14 MB / 419 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008587/0.1162, allocations: 7.009 MB / 426 MB, free: 5.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006136/0.1223, allocations: 3.106 MB / 429.1 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008213/0.1231, allocations: 31.94 kB / 429.1 MB, free: 1.984 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.1247, allocations: 0.6924 MB / 429.8 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003217/0.128, allocations: 1.413 MB / 431.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009936/0.129, allocations: 0.4951 MB / 431.7 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00408/0.133, allocations: 3.123 MB / 434.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006178/0.1337, allocations: 375.2 kB / 435.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001028/0.1347, allocations: 0.79 MB / 436 MB, free: 11.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.1365, allocations: 1.343 MB / 437.3 MB, free: 9.727 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003048/0.1368, allocations: 128 kB / 437.5 MB, free: 9.602 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001849/0.1387, allocations: 0.9944 MB / 438.5 MB, free: 8.605 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001135/0.1398, allocations: 1.102 MB / 439.6 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00133/0.1411, allocations: 1.227 MB / 440.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005207/0.1463, allocations: 4.065 MB / 444.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.1463, allocations: 0 / 444.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1463, allocations: 0 / 444.8 MB, free: 2.184 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.00011/0.1464, allocations: 4 kB / 444.9 MB, free: 2.18 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.2309/0.3774, allocations: 3.28 MB / 448.1 MB, free: 28.98 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3774, allocations: 9.219 kB / 448.1 MB, free: 28.98 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008407/0.3858, allocations: 1.907 MB / 450 MB, free: 28.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003496/0.3893, allocations: 1.653 MB / 451.7 MB, free: 28.51 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001063/0.3894, allocations: 113.9 kB / 451.8 MB, free: 28.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009626/0.3904, allocations: 303.8 kB / 452.1 MB, free: 28.5 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01662/0.407, allocations: 8.225 MB / 460.3 MB, free: 25.58 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.041e-05/0.4071, allocations: 41.33 kB / 460.4 MB, free: 25.56 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/0.4074, allocations: 79.06 kB / 460.5 MB, free: 25.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002403/0.4098, allocations: 1.398 MB / 461.8 MB, free: 25.3 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01884/0.4287, allocations: 9.537 MB / 471.4 MB, free: 21.37 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0333/0.462, allocations: 30.57 MB / 0.4902 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01255/0.4745, allocations: 4.342 MB / 0.4944 GB, free: 3.086 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003304/0.4778, allocations: 2.076 MB / 0.4965 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.303e-05/0.4779, allocations: 8 kB / 0.4965 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.523e-05/0.478, allocations: 63.48 kB / 0.4965 GB, free: 0.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=122): time 3.677e-06/0.478, allocations: 0 / 0.4965 GB, free: 0.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=136): time 0.05002/0.528, allocations: 18.45 MB / 0.5145 GB, free: 14.23 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002897/0.5309, allocations: 3.232 MB / 0.5177 GB, free: 10.66 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004571/0.5355, allocations: 2.983 MB / 0.5206 GB, free: 7.656 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006089/0.5361, allocations: 41.7 kB / 0.5207 GB, free: 7.609 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001875/0.5379, allocations: 2.171 MB / 0.5228 GB, free: 5.418 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001169/0.5391, allocations: 0.5971 MB / 0.5234 GB, free: 4.816 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001754/0.5409, allocations: 1.033 MB / 0.5244 GB, free: 3.773 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.541, allocations: 301.1 kB / 0.5247 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004263/0.5453, allocations: 2.625 MB / 0.5272 GB, free: 0.8438 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007043/0.5523, allocations: 5.581 MB / 0.5327 GB, free: 9.781 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0122/0.5645, allocations: 8.626 MB / 0.5411 GB, free: 15.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.839e-05/0.5646, allocations: 32 kB / 0.5411 GB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.03584/0.6004, allocations: 11.78 MB / 0.5526 GB, free: 3.855 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.848e-05/0.6005, allocations: 52 kB / 0.5527 GB, free: 3.805 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02502/0.6255, allocations: 6.998 MB / 0.5595 GB, free: 12.77 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0237/0.6492, allocations: 4.533 MB / 0.5639 GB, free: 8.207 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004545/0.6538, allocations: 1.248 MB / 0.5652 GB, free: 6.957 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.6729, allocations: 12.54 MB / 0.5774 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005436/0.6784, allocations: 0.5735 MB / 0.578 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001096/0.6794, allocations: 319.9 kB / 0.5783 GB, free: 8.98 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.003761/0.6832, allocations: 1.422 MB / 0.5797 GB, free: 7.543 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007573/0.684, allocations: 270.2 kB / 0.5799 GB, free: 7.277 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00109/0.6851, allocations: 415.6 kB / 0.5803 GB, free: 6.871 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01283/0.6979, allocations: 4.99 MB / 0.5852 GB, free: 1.844 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-05/0.6979, allocations: 8 kB / 0.5852 GB, free: 1.836 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-05/0.698, allocations: 7.969 kB / 0.5852 GB, free: 1.828 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01012/0.7081, allocations: 5.365 MB / 0.5904 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.309e-05/0.7081, allocations: 0 / 0.5904 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/0.7101, allocations: 371.4 kB / 0.5908 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009358/0.7194, allocations: 2.383 MB / 0.5931 GB, free: 9.605 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000556/0.72, allocations: 51.94 kB / 0.5932 GB, free: 9.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01091/0.7309, allocations: 9.444 MB / 0.6024 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002421/0.7333, allocations: 3.083 MB / 0.6054 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01856/0.7519, allocations: 8.748 MB / 0.6139 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008502/0.7527, allocations: 339.2 kB / 0.6143 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006141/0.7533, allocations: 35.98 kB / 0.6143 GB, free: 2.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002353/0.7557, allocations: 323.4 kB / 0.6146 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004702/0.7562, allocations: 107.7 kB / 0.6147 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001884/0.7564, allocations: 51.91 kB / 0.6148 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003085/0.7594, allocations: 1.871 MB / 0.6166 GB, free: 0.6445 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7594, allocations: 4 kB / 0.6166 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005153/0.7646, allocations: 1.008 MB / 0.6176 GB, free: 15.63 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.0005586/0.7651, allocations: 168.7 kB / 0.6177 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01413/0.7793, allocations: 7.197 MB / 0.6248 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.7793, allocations: 0 / 0.6248 GB, free: 8.137 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.007058/0.7863, allocations: 3.57 MB / 0.6283 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/0.7888, allocations: 312 kB / 0.6286 GB, free: 4.121 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2271/1.016, allocations: 8.488 MB / 0.6368 GB, free: 168.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002514/1.018, allocations: 2.293 MB / 0.6391 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001588/1.02, allocations: 235.7 kB / 0.6393 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.773e-06/1.02, allocations: 1.469 kB / 0.6393 GB, free: 167.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1342/1.154, allocations: 146.2 MB / 0.7821 GB, free: 43.38 MB / 0.5137 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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_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_' tmp149 = 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_' tmp149 = 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_' tmp149 = 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_' tmp149 = 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_' tmp149 = 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_' tmp149 = 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_' tmp149 = 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_' tmp149 = 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_' tmp150 = 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_' tmp150 = 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_' tmp150 = 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_' tmp150 = 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_' tmp150 = 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_' tmp150 = 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_' tmp150 = 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_' tmp150 = 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_' 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:103: 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:154: 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.09913096902892] 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.1639678820502013 1.17293177 1.024245959 Calling exit ...