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.001566/0.001566, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001794/0.001794, allocations: 193.1 kB / 24.47 MB, free: 4.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.00219/0.00219, allocations: 47.92 kB / 371.7 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2723/0.2745, allocations: 52.19 MB / 423.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01299/0.2875, allocations: 10.53 MB / 434.4 MB, free: 4.094 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008597/0.2961, allocations: 3.87 MB / 438.3 MB, free: 220 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.2982, allocations: 71.62 kB / 438.4 MB, free: 148 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004803/0.303, allocations: 2.355 MB / 440.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005267/0.3082, allocations: 1.735 MB / 442.5 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.3099, allocations: 0.6083 MB / 443.1 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005775/0.3157, allocations: 3.462 MB / 446.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003975/0.3197, allocations: 2.443 MB / 449 MB, free: 5.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003037/0.3227, allocations: 1.386 MB / 450.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003988/0.3267, allocations: 1.955 MB / 452.3 MB, free: 2.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001372/0.3281, allocations: 292 kB / 452.6 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003264/0.3313, allocations: 1.186 MB / 453.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002982/0.3343, allocations: 1.741 MB / 455.5 MB, free: 14.9 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003915/0.3382, allocations: 1.969 MB / 457.5 MB, free: 12.92 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.3484, allocations: 6.26 MB / 463.7 MB, free: 6.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3484, allocations: 3.938 kB / 463.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.3484, allocations: 0 / 463.8 MB, free: 6.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002602/0.3487, allocations: 0 / 463.8 MB, free: 6.629 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.01349/0.3622, allocations: 4.261 MB / 468 MB, free: 2.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.3622, allocations: 12.03 kB / 468 MB, free: 2.301 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006815/0.369, allocations: 1.859 MB / 469.9 MB, free: 448 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005946/0.375, allocations: 1.997 MB / 471.9 MB, free: 14.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.3753, allocations: 209.4 kB / 472.1 MB, free: 14.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001784/0.377, allocations: 359.8 kB / 472.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0202/0.3972, allocations: 8.873 MB / 481.3 MB, free: 4.332 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001805/0.3974, allocations: 39.64 kB / 481.3 MB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001076/0.3985, allocations: 135.9 kB / 481.5 MB, free: 4.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00289/0.4014, allocations: 1.641 MB / 483.1 MB, free: 2.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0166/0.418, allocations: 7.498 MB / 490.6 MB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05368/0.4717, allocations: 34.96 MB / 0.5133 GB, free: 6.988 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00849/0.4802, allocations: 2.899 MB / 0.5161 GB, free: 4.055 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002265/0.4824, allocations: 1.378 MB / 0.5174 GB, free: 2.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01182/0.4943, allocations: 5.682 MB / 0.523 GB, free: 12.95 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.256e-05/0.4943, allocations: 47.22 kB / 0.523 GB, free: 12.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 5.551e-06/0.4943, allocations: 0 / 0.523 GB, free: 12.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.02974/0.5241, allocations: 10.99 MB / 0.5338 GB, free: 1.828 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001692/0.5258, allocations: 1.607 MB / 0.5353 GB, free: 72 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2614/0.7872, allocations: 3.536 MB / 0.5388 GB, free: 107.9 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003538/0.7875, allocations: 45.58 kB / 0.5388 GB, free: 107.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/0.7892, allocations: 2.913 MB / 0.5417 GB, free: 106.3 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006071/0.7898, allocations: 0.5867 MB / 0.5423 GB, free: 106 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001157/0.7909, allocations: 1.124 MB / 0.5434 GB, free: 105.4 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.696e-05/0.791, allocations: 301.1 kB / 0.5436 GB, free: 105.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.7931, allocations: 1.918 MB / 0.5455 GB, free: 104.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003619/0.7967, allocations: 5.364 MB / 0.5508 GB, free: 99.22 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006455/0.8032, allocations: 7.83 MB / 0.5584 GB, free: 92.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.8033, allocations: 39.56 kB / 0.5584 GB, free: 92.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01766/0.821, allocations: 8.761 MB / 0.567 GB, free: 85.27 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.579e-05/0.8211, allocations: 59.5 kB / 0.5671 GB, free: 85.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009225/0.8303, allocations: 3.428 MB / 0.5704 GB, free: 81.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009604/0.8399, allocations: 2.23 MB / 0.5726 GB, free: 79.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003764/0.8436, allocations: 1.248 MB / 0.5738 GB, free: 78.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008133/0.8518, allocations: 7.22 MB / 0.5808 GB, free: 70.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004539/0.8563, allocations: 380.6 kB / 0.5812 GB, free: 70.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000859/0.8572, allocations: 344 kB / 0.5815 GB, free: 70.14 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.003487/0.8607, allocations: 1.851 MB / 0.5833 GB, free: 68.29 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006947/0.8614, allocations: 321.8 kB / 0.5837 GB, free: 67.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004583/0.8659, allocations: 2.759 MB / 0.5863 GB, free: 65.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003616/0.8696, allocations: 2.348 MB / 0.5886 GB, free: 62.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.8696, allocations: 4 kB / 0.5886 GB, free: 62.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.8696, allocations: 5.906 kB / 0.5886 GB, free: 62.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01248/0.8821, allocations: 7.701 MB / 0.5962 GB, free: 55.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.8821, allocations: 4 kB / 0.5962 GB, free: 55.03 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.8831, allocations: 231.7 kB / 0.5964 GB, free: 54.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002635/0.8858, allocations: 1.053 MB / 0.5974 GB, free: 53.74 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/0.8859, allocations: 35.98 kB / 0.5975 GB, free: 53.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004251/0.8902, allocations: 5.08 MB / 0.6024 GB, free: 48.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006977/0.8909, allocations: 1.469 MB / 0.6039 GB, free: 46.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/0.8972, allocations: 4.968 MB / 0.6087 GB, free: 41.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001/0.8982, allocations: 306.2 kB / 0.609 GB, free: 41.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003647/0.8985, allocations: 28 kB / 0.609 GB, free: 41.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001276/0.8998, allocations: 123.8 kB / 0.6091 GB, free: 41.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002427/0.9001, allocations: 96.41 kB / 0.6092 GB, free: 41.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.9002, allocations: 39.98 kB / 0.6093 GB, free: 41.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002779/0.9029, allocations: 2.183 MB / 0.6114 GB, free: 39.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9029, allocations: 0 / 0.6114 GB, free: 39.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00481/0.9077, allocations: 0.9724 MB / 0.6123 GB, free: 38.07 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.0003947/0.9081, allocations: 175.3 kB / 0.6125 GB, free: 37.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007349/0.9155, allocations: 4.881 MB / 0.6173 GB, free: 33.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.9155, allocations: 3.938 kB / 0.6173 GB, free: 33.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003096/0.9186, allocations: 1.788 MB / 0.619 GB, free: 31.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002508/0.9211, allocations: 400.9 kB / 0.6194 GB, free: 30.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.9341, allocations: 9.009 MB / 0.6282 GB, free: 21.72 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00247/0.9365, allocations: 2.897 MB / 0.631 GB, free: 18.79 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007953/0.9373, allocations: 255.4 kB / 0.6313 GB, free: 18.54 MB / 446.1 MB Notification: Performance of SimCode: time 1.352e-06/0.9373, allocations: 0 / 0.6313 GB, free: 18.54 MB / 446.1 MB Notification: Performance of Templates: time 0.3762/1.314, allocations: 118.6 MB / 0.7472 GB, free: 166.8 MB / 0.5137 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/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_' 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.177742752013728] 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.324728894047439 1.331932069 0.981112557 Calling exit ...