Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.0017/0.0017, allocations: 120.8 kB / 18.46 MB, free: 4.449 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.001791/0.001791, allocations: 190.9 kB / 21.39 MB, free: 1.52 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.432/1.432, allocations: 225.6 MB / 249.8 MB, free: 3.613 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.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.body.frame_a.r_0.1.|body.body.frame_a.r_0.2.|body.body.frame_a.r_0.3.|body.body.w_a.1.|body.body.w_a.2.|body.body.w_a.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1026, allocations: 52.14 MB / 419 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01219/0.1148, allocations: 10.5 MB / 429.5 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007445/0.1223, allocations: 3.84 MB / 433.3 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001345/0.1236, allocations: 59.81 kB / 433.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004418/0.128, allocations: 2.348 MB / 435.7 MB, free: 11.27 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004392/0.1324, allocations: 1.731 MB / 437.4 MB, free: 9.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001492/0.1339, allocations: 0.6122 MB / 438.1 MB, free: 8.918 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005009/0.1389, allocations: 3.451 MB / 441.5 MB, free: 5.461 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003174/0.1421, allocations: 2.572 MB / 444.1 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002081/0.1442, allocations: 1.367 MB / 445.4 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.215/0.3592, allocations: 1.95 MB / 447.4 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001021/0.3602, allocations: 288.9 kB / 447.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.3627, allocations: 1.186 MB / 448.9 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001931/0.3647, allocations: 1.739 MB / 450.6 MB, free: 10.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003318/0.368, allocations: 1.954 MB / 452.6 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01325/0.3812, allocations: 6.272 MB / 458.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.3812, allocations: 3.469 kB / 458.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.987e-06/0.3812, allocations: 0.7969 kB / 458.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003135/0.3815, allocations: 0 / 458.8 MB, free: 9.398 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: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.01708/0.3986, allocations: 4.344 MB / 463.2 MB, free: 7.527 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3987, allocations: 9.25 kB / 463.2 MB, free: 7.527 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.4094, allocations: 1.854 MB / 465 MB, free: 7.258 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006555/0.416, allocations: 2.059 MB / 467.1 MB, free: 6.719 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.4162, allocations: 218.9 kB / 467.3 MB, free: 6.707 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001379/0.4176, allocations: 368.2 kB / 467.7 MB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01585/0.4334, allocations: 8.869 MB / 476.5 MB, free: 2.426 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.4336, allocations: 37.83 kB / 476.6 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004192/0.434, allocations: 139 kB / 476.7 MB, free: 2.355 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002351/0.4363, allocations: 1.643 MB / 478.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01486/0.4512, allocations: 7.498 MB / 485.9 MB, free: 14.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05164/0.5028, allocations: 35.08 MB / 0.5087 GB, free: 11.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009331/0.5121, allocations: 3.348 MB / 0.512 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002251/0.5144, allocations: 1.375 MB / 0.5133 GB, free: 6.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01098/0.5254, allocations: 6.817 MB / 0.52 GB, free: 15.9 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.584e-05/0.5254, allocations: 45.66 kB / 0.52 GB, free: 15.85 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 3.637e-06/0.5254, allocations: 0 / 0.52 GB, free: 15.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.0298/0.5552, allocations: 11.3 MB / 0.5311 GB, free: 4.434 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001627/0.5569, allocations: 1.707 MB / 0.5327 GB, free: 2.559 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005628/0.5625, allocations: 3.547 MB / 0.5362 GB, free: 15.02 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004214/0.5629, allocations: 49.06 kB / 0.5362 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002449/0.5654, allocations: 2.903 MB / 0.5391 GB, free: 12.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001009/0.5664, allocations: 0.5901 MB / 0.5397 GB, free: 11.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001781/0.5682, allocations: 1.118 MB / 0.5407 GB, free: 10.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.5683, allocations: 308.5 kB / 0.541 GB, free: 10.07 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.5714, allocations: 1.916 MB / 0.5429 GB, free: 8.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005991/0.5774, allocations: 5.368 MB / 0.5481 GB, free: 1.109 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00999/0.5874, allocations: 7.821 MB / 0.5558 GB, free: 8.066 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-05/0.5875, allocations: 36 kB / 0.5558 GB, free: 8.031 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02253/0.61, allocations: 8.775 MB / 0.5644 GB, free: 15.36 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.798e-05/0.6101, allocations: 56 kB / 0.5644 GB, free: 15.3 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0113/0.6214, allocations: 3.428 MB / 0.5678 GB, free: 11.86 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01107/0.6325, allocations: 2.233 MB / 0.57 GB, free: 9.617 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004223/0.6367, allocations: 1.259 MB / 0.5712 GB, free: 8.355 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01103/0.6477, allocations: 7.411 MB / 0.5784 GB, free: 0.668 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004562/0.6523, allocations: 383 kB / 0.5788 GB, free: 308 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007195/0.653, allocations: 344 kB / 0.5791 GB, free: 15.96 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 36 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (676): * Single equations (assignments): 667 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003388/0.6564, allocations: 1.85 MB / 0.5809 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006049/0.657, allocations: 313.9 kB / 0.5812 GB, free: 13.79 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005968/0.6629, allocations: 2.766 MB / 0.5839 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004906/0.6679, allocations: 2.351 MB / 0.5862 GB, free: 8.637 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/0.6679, allocations: 4 kB / 0.5862 GB, free: 8.633 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.6679, allocations: 3.984 kB / 0.5862 GB, free: 8.629 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01647/0.6843, allocations: 7.834 MB / 0.5939 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.867e-05/0.6844, allocations: 8.797 kB / 0.5939 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.6855, allocations: 219.7 kB / 0.5941 GB, free: 500 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003314/0.6888, allocations: 1.053 MB / 0.5951 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001999/0.689, allocations: 39.97 kB / 0.5952 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006567/0.6956, allocations: 5.283 MB / 0.6003 GB, free: 9.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001338/0.697, allocations: 1.567 MB / 0.6019 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008829/0.7058, allocations: 4.982 MB / 0.6067 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/0.7071, allocations: 370.8 kB / 0.6071 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004394/0.7075, allocations: 35.98 kB / 0.6071 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.709, allocations: 119.8 kB / 0.6072 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002885/0.7092, allocations: 87.59 kB / 0.6073 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000129/0.7094, allocations: 39.98 kB / 0.6074 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.003938/0.7133, allocations: 2.187 MB / 0.6095 GB, free: 268 kB / 0.4981 GB Notification: Performance of sort global known variables: time 6e-08/0.7133, allocations: 0 / 0.6095 GB, free: 268 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005787/0.7191, allocations: 0.9687 MB / 0.6104 GB, free: 15.29 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.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 (105): * Single equations (assignments): 98 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0006391/0.7197, allocations: 180.5 kB / 0.6106 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01033/0.7301, allocations: 5.033 MB / 0.6155 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.7301, allocations: 0 / 0.6155 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004245/0.7343, allocations: 1.946 MB / 0.6174 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003235/0.7376, allocations: 393.8 kB / 0.6178 GB, free: 7.648 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0199/0.7574, allocations: 8.947 MB / 0.6265 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004474/0.7619, allocations: 2.905 MB / 0.6294 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/0.7631, allocations: 251.4 kB / 0.6296 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of SimCode: time 1.603e-06/0.7631, allocations: 0 / 0.6296 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of Templates: time 0.3346/1.098, allocations: 118.6 MB / 0.7455 GB, free: 96.75 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.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.FreeBodyCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgLoopMain.cpp:24: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:59: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:184: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:247: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:312: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:374: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:437: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:500: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = std::atan2(((((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:59: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1))) + (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1))) + (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:184: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1))) + (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:247: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1))) + (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:312: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1))) + (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:374: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1))) + (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:437: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1))) + (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:500: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp118 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(2)) - (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(1))) + (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:59: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp119 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(2))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp119 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(2))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(4)))); ^ ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:184: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp119 = std::atan2(((((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(2))) - (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(3))) - (_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(4))), ((((_system->_body_P_body_P_Q_(1) * body_P_body_P_Q_start_(1)) + (_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(2))) + (_system->_body_P_body_P_Q_(3) * body_P_body_P_Q_start_(3))) + (_system->_body_P_body_P_Q_(4) * body_P_body_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.FreeBodyCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.043393589789048] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.body.frame_a.r_0[1]', 'body.body.frame_a.r_0[2]', 'body.body.frame_a.r_0[3]', 'body.body.w_a[1]', 'body.body.w_a[2]', 'body.body.w_a[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]'] 1.106590012088418 1.114623901 0.731168678 Calling exit ...