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.001851/0.001851, allocations: 104 kB / 21.18 MB, free: 0.6719 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.002163/0.002163, allocations: 194.4 kB / 24.46 MB, free: 4.016 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.423/1.423, allocations: 225.7 MB / 253.3 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.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.001593/0.001593, allocations: 47.92 kB / 371.6 MB, free: 9.184 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2772, allocations: 52.17 MB / 423.8 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01133/0.2885, allocations: 9.184 MB / 433 MB, free: 5.281 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007948/0.2965, allocations: 3.644 MB / 436.6 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001625/0.2981, allocations: 75.62 kB / 436.7 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004896/0.303, allocations: 2.254 MB / 439 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005155/0.3081, allocations: 1.743 MB / 440.7 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.3099, allocations: 0.6083 MB / 441.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005181/0.3151, allocations: 3.454 MB / 444.8 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003823/0.3189, allocations: 2.434 MB / 447.2 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002601/0.3215, allocations: 1.39 MB / 448.6 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003326/0.3248, allocations: 1.837 MB / 450.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.3258, allocations: 296 kB / 450.7 MB, free: 3.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002703/0.3285, allocations: 1.053 MB / 451.8 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002507/0.331, allocations: 1.737 MB / 453.5 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002866/0.3339, allocations: 1.456 MB / 455 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007426/0.3413, allocations: 6.284 MB / 461.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.115e-06/0.3413, allocations: 4 kB / 461.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.765e-06/0.3413, allocations: 0 / 461.3 MB, free: 8.887 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001402/0.3415, allocations: 0 / 461.3 MB, free: 8.887 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.008624/0.3501, allocations: 4.269 MB / 465.5 MB, free: 4.562 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.3501, allocations: 8.031 kB / 465.5 MB, free: 4.555 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006619/0.3568, allocations: 1.851 MB / 467.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005121/0.3619, allocations: 2.012 MB / 469.4 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002005/0.3621, allocations: 213.4 kB / 469.6 MB, free: 440 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009502/0.363, allocations: 367.7 kB / 470 MB, free: 72 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01639/0.3794, allocations: 8.912 MB / 478.9 MB, free: 6.516 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.3795, allocations: 39.64 kB / 478.9 MB, free: 6.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003791/0.3799, allocations: 135.9 kB / 479.1 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002585/0.3825, allocations: 1.645 MB / 480.7 MB, free: 4.699 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0156/0.3981, allocations: 7.476 MB / 488.2 MB, free: 13.21 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04984/0.4479, allocations: 32.81 MB / 0.5088 GB, free: 11.4 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008942/0.4569, allocations: 2.896 MB / 0.5116 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002436/0.4593, allocations: 1.373 MB / 0.5129 GB, free: 7.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.4706, allocations: 5.31 MB / 0.5181 GB, free: 1.75 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.143e-05/0.4707, allocations: 51.16 kB / 0.5182 GB, free: 1.691 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 5.64e-06/0.4707, allocations: 0 / 0.5182 GB, free: 1.691 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.02952/0.5002, allocations: 10.99 MB / 0.5289 GB, free: 6.625 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001533/0.5017, allocations: 1.584 MB / 0.5305 GB, free: 4.898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00621/0.5079, allocations: 3.397 MB / 0.5338 GB, free: 1.488 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002787/0.5082, allocations: 41.7 kB / 0.5338 GB, free: 1.441 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2881/0.7963, allocations: 2.926 MB / 0.5367 GB, free: 108.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001123/0.7974, allocations: 0.5963 MB / 0.5373 GB, free: 108 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002498/0.7999, allocations: 1.114 MB / 0.5383 GB, free: 107.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.778e-05/0.8, allocations: 306.5 kB / 0.5386 GB, free: 107.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/0.8032, allocations: 1.918 MB / 0.5405 GB, free: 106.7 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003986/0.8072, allocations: 5.37 MB / 0.5458 GB, free: 101.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0071/0.8143, allocations: 7.832 MB / 0.5534 GB, free: 94.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001511/0.8144, allocations: 35.31 kB / 0.5534 GB, free: 94.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02016/0.8346, allocations: 8.73 MB / 0.562 GB, free: 88.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.641e-05/0.8347, allocations: 63.78 kB / 0.562 GB, free: 88.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009965/0.8446, allocations: 3.421 MB / 0.5654 GB, free: 85.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009862/0.8545, allocations: 2.242 MB / 0.5676 GB, free: 83.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00392/0.8584, allocations: 1.248 MB / 0.5688 GB, free: 82.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008031/0.8664, allocations: 7.069 MB / 0.5757 GB, free: 74.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004802/0.8712, allocations: 382.3 kB / 0.576 GB, free: 74.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000969/0.8722, allocations: 339.5 kB / 0.5764 GB, free: 74.15 MB / 446.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.003048/0.8753, allocations: 1.858 MB / 0.5782 GB, free: 72.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005244/0.8758, allocations: 290.1 kB / 0.5785 GB, free: 72.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004569/0.8803, allocations: 2.729 MB / 0.5811 GB, free: 69.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0038/0.8841, allocations: 2.348 MB / 0.5834 GB, free: 66.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-05/0.8842, allocations: 4 kB / 0.5834 GB, free: 66.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-05/0.8842, allocations: 3.984 kB / 0.5834 GB, free: 66.95 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.8966, allocations: 6.868 MB / 0.5901 GB, free: 60.03 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.8967, allocations: 4 kB / 0.5901 GB, free: 60.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001015/0.8977, allocations: 227.6 kB / 0.5903 GB, free: 59.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002631/0.9003, allocations: 1.053 MB / 0.5914 GB, free: 58.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.9005, allocations: 35.97 kB / 0.5914 GB, free: 58.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004393/0.9048, allocations: 5.009 MB / 0.5963 GB, free: 53.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007114/0.9056, allocations: 1.439 MB / 0.5977 GB, free: 51.94 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00661/0.9122, allocations: 4.937 MB / 0.6025 GB, free: 46.96 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/0.9132, allocations: 268.8 kB / 0.6028 GB, free: 46.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000669/0.9139, allocations: 28 kB / 0.6028 GB, free: 46.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/0.9155, allocations: 123.8 kB / 0.6029 GB, free: 46.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.9158, allocations: 99.94 kB / 0.603 GB, free: 46.46 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001102/0.9159, allocations: 39.98 kB / 0.6031 GB, free: 46.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002495/0.9184, allocations: 1.936 MB / 0.605 GB, free: 44.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9184, allocations: 0 / 0.605 GB, free: 44.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005304/0.9237, allocations: 0.9631 MB / 0.6059 GB, free: 43.53 MB / 446.1 MB 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.0004723/0.9241, allocations: 178.2 kB / 0.6061 GB, free: 43.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007874/0.932, allocations: 4.888 MB / 0.6108 GB, free: 38.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.932, allocations: 0 / 0.6108 GB, free: 38.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003336/0.9354, allocations: 1.787 MB / 0.6126 GB, free: 36.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002886/0.9383, allocations: 351.8 kB / 0.6129 GB, free: 36.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/0.9543, allocations: 8.983 MB / 0.6217 GB, free: 27.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003461/0.9577, allocations: 2.356 MB / 0.624 GB, free: 24.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008832/0.9586, allocations: 243.4 kB / 0.6242 GB, free: 24.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.9586, allocations: 0 / 0.6242 GB, free: 24.64 MB / 446.1 MB Notification: Performance of Templates: time 0.3881/1.347, allocations: 118.6 MB / 0.7401 GB, free: 188.8 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.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_' tmp101 = 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_' tmp101 = 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_' tmp101 = 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_' tmp101 = 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_' tmp101 = 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_' tmp101 = 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_' tmp101 = 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_' tmp101 = 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_' tmp102 = 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_' tmp102 = 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_' tmp102 = 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_' tmp102 = 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_' tmp102 = 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_' tmp102 = 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_' tmp102 = 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_' tmp102 = 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_' tmp103 = 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_' tmp103 = 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_' tmp103 = 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.185666304081678] 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.3554161083884537 1.364971849 1.0211515329999998 Calling exit ...