Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001391/0.001391, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 208.8 kB / 25.24 MB, free: 3.562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 55.92 kB / 348.5 MB, free: 9.516 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2884, allocations: 49.16 MB / 397.6 MB, free: 9.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01165/0.3001, allocations: 10.53 MB / 408.1 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009462/0.3096, allocations: 3.87 MB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002511/0.3121, allocations: 73.31 kB / 412.1 MB, free: 15.47 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005244/0.3173, allocations: 2.347 MB / 414.4 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005933/0.3232, allocations: 1.728 MB / 416.2 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00195/0.3252, allocations: 0.6249 MB / 416.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007075/0.3323, allocations: 3.452 MB / 420.2 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005238/0.3375, allocations: 2.446 MB / 422.7 MB, free: 9.109 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.3413, allocations: 1.397 MB / 424.1 MB, free: 8.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004162/0.3454, allocations: 1.955 MB / 426 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001454/0.3469, allocations: 292 kB / 426.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003617/0.3505, allocations: 1.182 MB / 427.5 MB, free: 5.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00324/0.3538, allocations: 1.741 MB / 429.2 MB, free: 3.637 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004541/0.3583, allocations: 1.965 MB / 431.2 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01129/0.3696, allocations: 6.262 MB / 437.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3696, allocations: 4 kB / 437.5 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.499e-06/0.3696, allocations: 3.984 kB / 437.5 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0002525/0.3698, allocations: 4 kB / 437.5 MB, free: 11.37 MB / 350.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.01212/0.382, allocations: 4.273 MB / 441.8 MB, free: 7.039 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.382, allocations: 15.98 kB / 441.8 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007141/0.3892, allocations: 1.855 MB / 443.6 MB, free: 5.164 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006182/0.3953, allocations: 2.051 MB / 445.7 MB, free: 3.066 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002627/0.3956, allocations: 213.4 kB / 445.9 MB, free: 2.855 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/0.3972, allocations: 371.7 kB / 446.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.4171, allocations: 8.858 MB / 455.1 MB, free: 9.004 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001647/0.4172, allocations: 51.61 kB / 455.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009261/0.4182, allocations: 131.9 kB / 455.3 MB, free: 8.824 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002823/0.421, allocations: 1.645 MB / 456.9 MB, free: 7.176 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01699/0.438, allocations: 7.486 MB / 464.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05119/0.4892, allocations: 34.96 MB / 499.4 MB, free: 11.66 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008287/0.4975, allocations: 2.899 MB / 0.4905 GB, free: 8.719 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002233/0.4997, allocations: 1.378 MB / 0.4918 GB, free: 7.332 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01176/0.5114, allocations: 5.682 MB / 0.4974 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.723e-05/0.5115, allocations: 51.2 kB / 0.4974 GB, free: 1.559 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 5e-06/0.5115, allocations: 4 kB / 0.4974 GB, free: 1.555 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02908/0.5406, allocations: 11.01 MB / 0.5082 GB, free: 6.465 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001585/0.5422, allocations: 1.611 MB / 0.5098 GB, free: 4.695 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006121/0.5483, allocations: 3.552 MB / 0.5132 GB, free: 1.145 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003033/0.5486, allocations: 45.7 kB / 0.5133 GB, free: 1.094 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002448/0.551, allocations: 2.901 MB / 0.5161 GB, free: 14.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000895/0.5519, allocations: 0.5971 MB / 0.5167 GB, free: 13.56 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002203/0.5541, allocations: 1.115 MB / 0.5178 GB, free: 12.44 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.5543, allocations: 305.1 kB / 0.5181 GB, free: 12.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003278/0.5576, allocations: 1.924 MB / 0.52 GB, free: 10.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006196/0.5638, allocations: 5.357 MB / 0.5252 GB, free: 3.117 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/0.5743, allocations: 7.841 MB / 0.5329 GB, free: 9.559 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001191/0.5745, allocations: 36 kB / 0.5329 GB, free: 9.523 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02253/0.597, allocations: 8.76 MB / 0.5414 GB, free: 0.7461 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001465/0.5971, allocations: 59.94 kB / 0.5415 GB, free: 0.6875 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01101/0.6081, allocations: 3.417 MB / 0.5448 GB, free: 13.26 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01043/0.6186, allocations: 2.254 MB / 0.547 GB, free: 10.99 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004338/0.6229, allocations: 1.248 MB / 0.5483 GB, free: 9.738 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01132/0.6342, allocations: 7.21 MB / 0.5553 GB, free: 2.293 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004917/0.6392, allocations: 387.5 kB / 0.5557 GB, free: 1.914 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/0.6404, allocations: 344 kB / 0.556 GB, free: 1.578 MB / 478.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.2557/0.8961, allocations: 1.837 MB / 0.5578 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/0.8971, allocations: 321.1 kB / 0.5581 GB, free: 142.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006332/0.9034, allocations: 2.758 MB / 0.5608 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004756/0.9082, allocations: 2.349 MB / 0.5631 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.9082, allocations: 3.188 kB / 0.5631 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-05/0.9082, allocations: 10.77 kB / 0.5631 GB, free: 141.8 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/0.9232, allocations: 7.721 MB / 0.5706 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/0.9232, allocations: 4.172 kB / 0.5706 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.9243, allocations: 221.3 kB / 0.5708 GB, free: 138.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002948/0.9272, allocations: 1.061 MB / 0.5719 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001663/0.9274, allocations: 35.52 kB / 0.5719 GB, free: 138.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005065/0.9325, allocations: 5.064 MB / 0.5769 GB, free: 135.4 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008385/0.9333, allocations: 1.458 MB / 0.5783 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007228/0.9405, allocations: 4.984 MB / 0.5832 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009497/0.9415, allocations: 307.4 kB / 0.5835 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003303/0.9418, allocations: 23.81 kB / 0.5835 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.943, allocations: 126 kB / 0.5836 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002414/0.9433, allocations: 95.44 kB / 0.5837 GB, free: 132.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.659e-05/0.9434, allocations: 38.38 kB / 0.5837 GB, free: 132.1 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002745/0.9461, allocations: 2.201 MB / 0.5859 GB, free: 131.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.9461, allocations: 3.938 kB / 0.5859 GB, free: 131.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00447/0.9506, allocations: 0.9694 MB / 0.5868 GB, free: 131.1 MB / 478.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.0004826/0.9511, allocations: 163.9 kB / 0.587 GB, free: 131 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008123/0.9592, allocations: 4.89 MB / 0.5918 GB, free: 128.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.9592, allocations: 0 / 0.5918 GB, free: 128.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003328/0.9625, allocations: 1.792 MB / 0.5935 GB, free: 127 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0035/0.966, allocations: 396.8 kB / 0.5939 GB, free: 126.6 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01622/0.9823, allocations: 9.025 MB / 0.6027 GB, free: 117.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003764/0.986, allocations: 2.912 MB / 0.6055 GB, free: 114.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008822/0.9869, allocations: 251.4 kB / 0.6058 GB, free: 114.4 MB / 478.1 MB Notification: Performance of SimCode: time 1.143e-06/0.9869, allocations: 0 / 0.6058 GB, free: 114.4 MB / 478.1 MB Notification: Performance of Templates: time 0.1152/1.102, allocations: 118.8 MB / 0.7218 GB, free: 11.4 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp:25: In file included from ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgLoopMain.cpp:24: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:59: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp115 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp115 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:184: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp115 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:247: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp115 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:312: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp115 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:374: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp115 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:437: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp115 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:500: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp115 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:59: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:184: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:247: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:312: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:374: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:437: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:500: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp116 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:59: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:184: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp117 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.06371138500981] 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.1139160471502692 1.129794882 0.756400287 Calling exit ...