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.001423/0.001423, allocations: 112.1 kB / 21.93 MB, free: 5.223 MB / 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.001503/0.001503, allocations: 213.5 kB / 25.22 MB, free: 3.027 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.437/1.437, allocations: 207.7 MB / 236.1 MB, free: 9.816 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.001828/0.001828, allocations: 58.58 kB / 348.5 MB, free: 9.477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2889, allocations: 49.16 MB / 397.6 MB, free: 9.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01007/0.2989, allocations: 9.176 MB / 406.8 MB, free: 3.398 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007399/0.3063, allocations: 3.633 MB / 410.4 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00112/0.3075, allocations: 73.81 kB / 410.5 MB, free: 1.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004048/0.3115, allocations: 2.258 MB / 412.8 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004265/0.3158, allocations: 1.735 MB / 414.5 MB, free: 14.77 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001469/0.3173, allocations: 0.6178 MB / 415.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004681/0.3219, allocations: 3.462 MB / 418.6 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003402/0.3253, allocations: 2.442 MB / 421 MB, free: 10.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.3286, allocations: 1.389 MB / 422.4 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003141/0.3317, allocations: 1.839 MB / 424.2 MB, free: 8.492 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006744/0.3324, allocations: 292 kB / 424.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.3348, allocations: 1.053 MB / 425.6 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001941/0.3368, allocations: 1.753 MB / 427.3 MB, free: 5.395 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001935/0.3387, allocations: 1.456 MB / 428.8 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008313/0.347, allocations: 6.285 MB / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.347, allocations: 3.938 kB / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.347, allocations: 0 / 435.1 MB, free: 13.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001704/0.3472, allocations: 0 / 435.1 MB, free: 13.62 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.008637/0.3558, allocations: 4.273 MB / 439.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.3559, allocations: 11.98 kB / 439.4 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006529/0.3624, allocations: 1.859 MB / 441.2 MB, free: 7.418 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005176/0.3676, allocations: 2.059 MB / 443.3 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001945/0.3678, allocations: 213.4 kB / 443.5 MB, free: 5.102 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008723/0.3687, allocations: 371.7 kB / 443.8 MB, free: 4.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0156/0.3843, allocations: 8.908 MB / 452.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/0.3844, allocations: 47.62 kB / 452.8 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000373/0.3847, allocations: 135.9 kB / 452.9 MB, free: 11.01 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002598/0.3873, allocations: 1.641 MB / 454.6 MB, free: 9.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01504/0.4024, allocations: 7.482 MB / 462.1 MB, free: 1.879 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04652/0.4489, allocations: 32.8 MB / 494.9 MB, free: 76 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008666/0.4576, allocations: 2.891 MB / 497.7 MB, free: 13.14 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002056/0.4596, allocations: 1.374 MB / 499.1 MB, free: 11.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009899/0.4695, allocations: 5.314 MB / 0.4926 GB, free: 6.406 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.33e-05/0.4696, allocations: 55.16 kB / 0.4927 GB, free: 6.344 MB / 414.1 MB Notification: Performance of pre-optimization done (n=132): time 4.879e-06/0.4696, allocations: 0 / 0.4927 GB, free: 6.344 MB / 414.1 MB Notification: Performance of matching and sorting (n=139): time 0.02776/0.4973, allocations: 11.01 MB / 0.5034 GB, free: 11.26 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001536/0.4989, allocations: 1.58 MB / 0.505 GB, free: 9.535 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004793/0.5037, allocations: 3.416 MB / 0.5083 GB, free: 6.105 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002366/0.5039, allocations: 45.7 kB / 0.5083 GB, free: 6.055 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00219/0.5061, allocations: 2.922 MB / 0.5112 GB, free: 3.105 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006787/0.5068, allocations: 0.5894 MB / 0.5118 GB, free: 2.512 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001441/0.5082, allocations: 1.123 MB / 0.5129 GB, free: 1.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.5083, allocations: 305.1 kB / 0.5132 GB, free: 1.078 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00287/0.5112, allocations: 1.916 MB / 0.515 GB, free: 15.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005966/0.5172, allocations: 5.369 MB / 0.5203 GB, free: 8.055 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009696/0.5269, allocations: 7.826 MB / 0.5279 GB, free: 14.51 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.756e-05/0.5269, allocations: 36 kB / 0.5279 GB, free: 14.47 MB / 462.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02139/0.5483, allocations: 8.744 MB / 0.5365 GB, free: 5.711 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001609/0.5485, allocations: 56 kB / 0.5365 GB, free: 5.656 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01124/0.5597, allocations: 3.424 MB / 0.5399 GB, free: 2.219 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/0.5704, allocations: 2.239 MB / 0.5421 GB, free: 15.96 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004395/0.5748, allocations: 1.251 MB / 0.5433 GB, free: 14.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01173/0.5865, allocations: 7.066 MB / 0.5502 GB, free: 7.434 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004927/0.5915, allocations: 375.5 kB / 0.5506 GB, free: 7.066 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001281/0.5927, allocations: 344 kB / 0.5509 GB, free: 6.73 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.004777/0.5975, allocations: 1.861 MB / 0.5527 GB, free: 4.855 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008832/0.5984, allocations: 294 kB / 0.553 GB, free: 4.566 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006242/0.6047, allocations: 2.735 MB / 0.5556 GB, free: 1.805 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2297/0.8344, allocations: 2.341 MB / 0.5579 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.519e-05/0.8344, allocations: 3.375 kB / 0.5579 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-05/0.8345, allocations: 5.844 kB / 0.5579 GB, free: 142.6 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01573/0.8502, allocations: 6.869 MB / 0.5647 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.921e-05/0.8502, allocations: 3.406 kB / 0.5647 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.8513, allocations: 225.7 kB / 0.5649 GB, free: 140.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003002/0.8543, allocations: 1.056 MB / 0.5659 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001606/0.8545, allocations: 35.17 kB / 0.5659 GB, free: 140.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005259/0.8597, allocations: 5.004 MB / 0.5708 GB, free: 137.2 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007779/0.8605, allocations: 1.434 MB / 0.5722 GB, free: 135.8 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007788/0.8683, allocations: 4.931 MB / 0.577 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.8693, allocations: 275.8 kB / 0.5773 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003301/0.8696, allocations: 29.91 kB / 0.5773 GB, free: 134 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.8709, allocations: 120.9 kB / 0.5774 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000252/0.8712, allocations: 103.5 kB / 0.5775 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001085/0.8713, allocations: 36.25 kB / 0.5776 GB, free: 133.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003204/0.8745, allocations: 1.956 MB / 0.5795 GB, free: 133.3 MB / 478.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8745, allocations: 0 / 0.5795 GB, free: 133.3 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.00411/0.8786, allocations: 0.969 MB / 0.5804 GB, free: 133.2 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.0003689/0.879, allocations: 158.5 kB / 0.5806 GB, free: 133 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007499/0.8865, allocations: 4.9 MB / 0.5854 GB, free: 131.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/0.8865, allocations: 0 / 0.5854 GB, free: 131.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003337/0.8898, allocations: 1.787 MB / 0.5871 GB, free: 130.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002323/0.8921, allocations: 358.3 kB / 0.5875 GB, free: 130.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01198/0.9041, allocations: 8.996 MB / 0.5962 GB, free: 123.9 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/0.9063, allocations: 2.352 MB / 0.5985 GB, free: 121.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000766/0.9071, allocations: 243.4 kB / 0.5988 GB, free: 121.3 MB / 478.1 MB Notification: Performance of SimCode: time 9.42e-07/0.9071, allocations: 0 / 0.5988 GB, free: 121.3 MB / 478.1 MB Notification: Performance of Templates: time 0.09715/1.004, allocations: 118.8 MB / 0.7148 GB, free: 2.262 MB / 478.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 -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_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:58: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp99 = 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:120: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp99 = 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:183: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp99 = 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:246: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp99 = 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:311: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp99 = 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:373: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp99 = 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:436: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp99 = 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:499: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp99 = 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_' tmp100 = 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_' tmp100 = 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_' tmp100 = 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_' tmp100 = 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_' tmp100 = 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_' tmp100 = 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_' tmp100 = 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_' tmp100 = 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_' tmp101 = 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_' tmp101 = 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_' tmp101 = 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: 4.973590116016567] 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.0129255182109773 1.026767805 0.676643618 Calling exit ...