Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001317/0.001317, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001426/0.001426, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001662/0.001662, allocations: 43.94 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2594/0.261, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01182/0.2729, allocations: 9.15 MB / 441.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008264/0.2811, allocations: 3.657 MB / 445.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.2825, allocations: 75.62 kB / 445.2 MB, free: 9.812 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004718/0.2872, allocations: 2.243 MB / 447.5 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005036/0.2923, allocations: 1.704 MB / 449.2 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.2939, allocations: 0.6278 MB / 449.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005531/0.2995, allocations: 3.478 MB / 453.3 MB, free: 1.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003551/0.303, allocations: 2.426 MB / 455.7 MB, free: 15.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002483/0.3055, allocations: 1.382 MB / 457.1 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002978/0.3085, allocations: 1.834 MB / 458.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000668/0.3091, allocations: 292 kB / 459.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.3112, allocations: 1.03 MB / 460.2 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00178/0.313, allocations: 1.718 MB / 461.9 MB, free: 8.992 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001781/0.3148, allocations: 1.433 MB / 463.4 MB, free: 7.551 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007637/0.3224, allocations: 6.244 MB / 469.6 MB, free: 1.285 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3224, allocations: 4 kB / 469.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3224, allocations: 0 / 469.6 MB, free: 1.281 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001765/0.3226, allocations: 0 / 469.6 MB, free: 1.281 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.008442/0.3311, allocations: 4.242 MB / 473.9 MB, free: 12.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.3311, allocations: 12.03 kB / 473.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006978/0.3381, allocations: 1.909 MB / 475.8 MB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005131/0.3432, allocations: 1.981 MB / 477.8 MB, free: 9.031 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.3434, allocations: 217.4 kB / 478 MB, free: 8.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001018/0.3444, allocations: 375.7 kB / 478.3 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01634/0.3608, allocations: 8.951 MB / 487.3 MB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.3609, allocations: 39.69 kB / 487.3 MB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003739/0.3612, allocations: 135.9 kB / 487.5 MB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002553/0.3638, allocations: 1.633 MB / 489.1 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01586/0.3797, allocations: 7.517 MB / 496.6 MB, free: 5.523 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04552/0.4252, allocations: 32.79 MB / 0.517 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008993/0.4342, allocations: 2.923 MB / 0.5199 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002124/0.4363, allocations: 1.377 MB / 0.5212 GB, free: 15.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01031/0.4466, allocations: 5.322 MB / 0.5264 GB, free: 10.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.4467, allocations: 51.09 kB / 0.5264 GB, free: 9.973 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.468e-06/0.4467, allocations: 4 kB / 0.5265 GB, free: 9.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2388/0.6854, allocations: 11.05 MB / 0.5372 GB, free: 101.8 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009675/0.6864, allocations: 1.576 MB / 0.5388 GB, free: 100.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004099/0.6905, allocations: 3.384 MB / 0.5421 GB, free: 99.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.6907, allocations: 47.2 kB / 0.5421 GB, free: 99.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001233/0.6919, allocations: 2.931 MB / 0.545 GB, free: 97.68 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000418/0.6923, allocations: 0.5866 MB / 0.5456 GB, free: 97.27 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.6935, allocations: 1.117 MB / 0.5467 GB, free: 96.72 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.344e-05/0.6935, allocations: 304.8 kB / 0.5469 GB, free: 96.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002074/0.6956, allocations: 1.932 MB / 0.5488 GB, free: 95.79 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003267/0.6988, allocations: 5.373 MB / 0.5541 GB, free: 90.49 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005542/0.7044, allocations: 7.85 MB / 0.5617 GB, free: 83.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-05/0.7044, allocations: 39.94 kB / 0.5618 GB, free: 83.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01546/0.7199, allocations: 8.829 MB / 0.5704 GB, free: 75.46 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.538e-05/0.7199, allocations: 64.25 kB / 0.5705 GB, free: 75.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009273/0.7292, allocations: 3.514 MB / 0.5739 GB, free: 71.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00961/0.7388, allocations: 2.323 MB / 0.5762 GB, free: 69.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003415/0.7422, allocations: 1.258 MB / 0.5774 GB, free: 68.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007793/0.75, allocations: 7.093 MB / 0.5843 GB, free: 60.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004204/0.7542, allocations: 379.5 kB / 0.5847 GB, free: 60.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005577/0.7548, allocations: 344 kB / 0.585 GB, free: 60.27 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.002248/0.757, allocations: 1.852 MB / 0.5868 GB, free: 58.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005093/0.7576, allocations: 287.4 kB / 0.5871 GB, free: 58.13 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005355/0.7581, allocations: 379.4 kB / 0.5875 GB, free: 57.75 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003957/0.762, allocations: 2.375 MB / 0.5898 GB, free: 55.36 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.52e-05/0.7621, allocations: 8 kB / 0.5898 GB, free: 55.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.7621, allocations: 7.969 kB / 0.5898 GB, free: 55.35 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01297/0.775, allocations: 6.875 MB / 0.5965 GB, free: 48.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.7751, allocations: 3.984 kB / 0.5965 GB, free: 48.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.7761, allocations: 231.6 kB / 0.5967 GB, free: 48.18 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002726/0.7788, allocations: 1.053 MB / 0.5978 GB, free: 47.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000138/0.7789, allocations: 43.78 kB / 0.5978 GB, free: 47.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004385/0.7833, allocations: 4.995 MB / 0.6027 GB, free: 41.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007345/0.784, allocations: 1.442 MB / 0.6041 GB, free: 40.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006608/0.7907, allocations: 4.97 MB / 0.6089 GB, free: 35.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009383/0.7916, allocations: 270 kB / 0.6092 GB, free: 35.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000661/0.7923, allocations: 41.19 kB / 0.6092 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.7939, allocations: 123.8 kB / 0.6094 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002245/0.7941, allocations: 88.47 kB / 0.6094 GB, free: 34.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.7942, allocations: 43.92 kB / 0.6095 GB, free: 34.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003289/0.7975, allocations: 1.932 MB / 0.6114 GB, free: 32.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.7975, allocations: 0 / 0.6114 GB, free: 32.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004862/0.8024, allocations: 0.9531 MB / 0.6123 GB, free: 31.87 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.00051/0.8029, allocations: 159.5 kB / 0.6125 GB, free: 31.71 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008084/0.8109, allocations: 4.915 MB / 0.6173 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.811, allocations: 0 / 0.6173 GB, free: 26.79 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003381/0.8143, allocations: 1.795 MB / 0.619 GB, free: 24.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.8175, allocations: 342 kB / 0.6193 GB, free: 24.64 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01506/0.8325, allocations: 9.004 MB / 0.6281 GB, free: 15.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003227/0.8358, allocations: 2.355 MB / 0.6304 GB, free: 13.19 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007901/0.8366, allocations: 239.4 kB / 0.6307 GB, free: 12.95 MB / 446.1 MB Notification: Performance of SimCode: time 1.162e-06/0.8366, allocations: 0 / 0.6307 GB, free: 12.95 MB / 446.1 MB Notification: Performance of Templates: time 0.3821/1.219, allocations: 118.3 MB / 0.7462 GB, free: 180.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp In file included from OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgLoopMain.cpp:24: ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp100 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:121: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp100 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:183: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp100 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:246: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp100 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:310: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp100 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:373: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp100 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:436: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp100 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:74:498: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp100 = std::atan2(((_system->_body_P_body_P_Q_(2) * body_P_body_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:57: 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_(2)) + (((_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_(3) * body_P_body_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76: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_(2)) + (((_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_(3) * body_P_body_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:183: 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_(2)) + (((_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_(3) * body_P_body_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:246: 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_(2)) + (((_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_(3) * body_P_body_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:310: 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_(2)) + (((_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_(3) * body_P_body_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:373: 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_(2)) + (((_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_(3) * body_P_body_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:436: 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_(2)) + (((_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_(3) * body_P_body_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:76:498: 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_(2)) + (((_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_(3) * body_P_body_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:57: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp102 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:120: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp102 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgloop623.cpp:78:186: error: use of undeclared identifier 'body_P_body_P_Q_start_' tmp102 = std::atan2(((_system->_body_P_body_P_Q_(4) * body_P_body_P_Q_start_(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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.22064015455544] 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.227331514004618 1.2370215009999999 0.912153897 Calling exit ...