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.00128/0.00128, allocations: 112.2 kB / 21.19 MB, free: 0.7812 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.001436/0.001436, allocations: 214.5 kB / 24.49 MB, free: 4.18 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.409/1.409, allocations: 230.6 MB / 258.3 MB, free: 8.008 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.00222/0.00222, allocations: 47.91 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2513/0.2535, allocations: 53.37 MB / 432.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01346/0.267, allocations: 10.5 MB / 442.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00894/0.2759, allocations: 3.883 MB / 446.8 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002002/0.2779, allocations: 71.62 kB / 446.9 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005328/0.2832, allocations: 2.344 MB / 449.2 MB, free: 6.047 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004741/0.288, allocations: 1.704 MB / 450.9 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001582/0.2896, allocations: 0.6161 MB / 451.5 MB, free: 3.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005347/0.2949, allocations: 3.483 MB / 455 MB, free: 236 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003816/0.2987, allocations: 2.442 MB / 457.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.3013, allocations: 1.386 MB / 458.8 MB, free: 12.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00315/0.3045, allocations: 1.931 MB / 460.8 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000852/0.3053, allocations: 292 kB / 461 MB, free: 10.12 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002547/0.3079, allocations: 1.178 MB / 462.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002139/0.31, allocations: 1.718 MB / 463.9 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003107/0.3131, allocations: 1.942 MB / 465.9 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008157/0.3213, allocations: 6.215 MB / 472.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.3213, allocations: 0 / 472.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3213, allocations: 4 kB / 472.1 MB, free: 15.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.00021/0.3215, allocations: 4 kB / 472.1 MB, free: 15.02 MB / 382.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.00966/0.3311, allocations: 4.234 MB / 476.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3312, allocations: 15.95 kB / 476.4 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006515/0.3377, allocations: 1.905 MB / 478.3 MB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004688/0.3424, allocations: 1.977 MB / 480.2 MB, free: 6.785 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/0.3426, allocations: 213.4 kB / 480.4 MB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009962/0.3436, allocations: 375.7 kB / 480.8 MB, free: 6.207 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.359, allocations: 8.901 MB / 489.7 MB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001058/0.3592, allocations: 39.64 kB / 489.8 MB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003707/0.3595, allocations: 139.8 kB / 489.9 MB, free: 12.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002481/0.362, allocations: 1.633 MB / 491.5 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01497/0.377, allocations: 7.525 MB / 499 MB, free: 3.332 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04548/0.4225, allocations: 34.94 MB / 0.5215 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008359/0.4308, allocations: 2.927 MB / 0.5243 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002051/0.4329, allocations: 1.381 MB / 0.5257 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01072/0.4436, allocations: 5.698 MB / 0.5312 GB, free: 5.25 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.122e-05/0.4436, allocations: 51.16 kB / 0.5313 GB, free: 5.191 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.318e-06/0.4437, allocations: 0 / 0.5313 GB, free: 5.191 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2329/0.6765, allocations: 11.05 MB / 0.5421 GB, free: 99.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009588/0.6775, allocations: 1.602 MB / 0.5436 GB, free: 97.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004509/0.682, allocations: 3.535 MB / 0.5471 GB, free: 96.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002917/0.6823, allocations: 45.03 kB / 0.5471 GB, free: 96.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.6836, allocations: 2.903 MB / 0.55 GB, free: 94.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000526/0.6842, allocations: 0.595 MB / 0.5506 GB, free: 94.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001006/0.6852, allocations: 1.109 MB / 0.5516 GB, free: 93.7 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.488e-05/0.6852, allocations: 307.5 kB / 0.5519 GB, free: 93.41 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002242/0.6875, allocations: 1.93 MB / 0.5538 GB, free: 92.78 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003692/0.6912, allocations: 5.367 MB / 0.5591 GB, free: 87.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005942/0.6971, allocations: 7.862 MB / 0.5667 GB, free: 79.63 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.556e-05/0.6972, allocations: 36 kB / 0.5668 GB, free: 79.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01587/0.713, allocations: 8.847 MB / 0.5754 GB, free: 71.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.839e-05/0.7131, allocations: 63.88 kB / 0.5755 GB, free: 71.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008873/0.722, allocations: 3.518 MB / 0.5789 GB, free: 67.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009708/0.7317, allocations: 2.324 MB / 0.5812 GB, free: 65.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003552/0.7352, allocations: 1.255 MB / 0.5824 GB, free: 63.94 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007562/0.7428, allocations: 7.24 MB / 0.5895 GB, free: 56.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004568/0.7474, allocations: 387.4 kB / 0.5898 GB, free: 56.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006383/0.748, allocations: 343.4 kB / 0.5902 GB, free: 55.76 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.002399/0.7504, allocations: 1.844 MB / 0.592 GB, free: 53.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004944/0.7509, allocations: 317.5 kB / 0.5923 GB, free: 53.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.7515, allocations: 406.1 kB / 0.5927 GB, free: 53.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003755/0.7553, allocations: 2.371 MB / 0.595 GB, free: 50.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.472e-05/0.7553, allocations: 4.875 kB / 0.595 GB, free: 50.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.7553, allocations: 3.984 kB / 0.595 GB, free: 50.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/0.767, allocations: 7.732 MB / 0.6025 GB, free: 42.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.38e-05/0.767, allocations: 4 kB / 0.6025 GB, free: 42.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009937/0.768, allocations: 235.7 kB / 0.6028 GB, free: 42.76 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002592/0.7706, allocations: 1.057 MB / 0.6038 GB, free: 41.69 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001581/0.7707, allocations: 37.17 kB / 0.6038 GB, free: 41.65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004116/0.7748, allocations: 5.076 MB / 0.6088 GB, free: 36.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006729/0.7755, allocations: 1.46 MB / 0.6102 GB, free: 34.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006451/0.782, allocations: 5.001 MB / 0.6151 GB, free: 29.72 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009397/0.7829, allocations: 301.7 kB / 0.6154 GB, free: 29.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003577/0.7833, allocations: 31.92 kB / 0.6154 GB, free: 29.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.7845, allocations: 123.8 kB / 0.6155 GB, free: 29.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/0.7847, allocations: 92.42 kB / 0.6156 GB, free: 29.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.7848, allocations: 39.97 kB / 0.6157 GB, free: 29.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002279/0.7871, allocations: 2.175 MB / 0.6178 GB, free: 26.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.7871, allocations: 4 kB / 0.6178 GB, free: 26.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004192/0.7913, allocations: 0.9603 MB / 0.6187 GB, free: 26.02 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.0003505/0.7916, allocations: 172 kB / 0.6189 GB, free: 25.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00735/0.799, allocations: 4.894 MB / 0.6237 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.799, allocations: 0 / 0.6237 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003144/0.8021, allocations: 1.804 MB / 0.6254 GB, free: 19.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002579/0.8047, allocations: 401.6 kB / 0.6258 GB, free: 18.71 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01208/0.8168, allocations: 9.017 MB / 0.6346 GB, free: 9.648 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002198/0.819, allocations: 2.909 MB / 0.6375 GB, free: 6.707 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007848/0.8198, allocations: 251.4 kB / 0.6377 GB, free: 6.461 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.8198, allocations: 0 / 0.6377 GB, free: 6.461 MB / 446.1 MB Notification: Performance of Templates: time 0.3643/1.184, allocations: 118.4 MB / 0.7533 GB, free: 175.5 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 -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.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_' tmp116 = 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_' tmp116 = 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_' tmp116 = 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_' tmp116 = 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_' tmp116 = 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_' tmp116 = 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_' tmp116 = 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_' tmp116 = 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_' tmp117 = 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_' tmp117 = 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_' tmp117 = 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_' tmp117 = 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_' tmp117 = 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_' tmp117 = 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_' tmp117 = 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_' tmp117 = 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_' tmp118 = 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_' tmp118 = 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_' tmp118 = 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: 4.845445723040029] 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.1951600040774792 1.2028248 0.879057208 Calling exit ...