Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001855/0.001855, allocations: 109.1 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002286/0.002286, allocations: 217.7 kB / 24.5 MB, free: 4.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.486/1.486, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001915/0.001915, allocations: 67.89 kB / 379 MB, free: 2.523 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2643, allocations: 53.4 MB / 432.4 MB, free: 6.797 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01237/0.2767, allocations: 10.51 MB / 443 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008252/0.2849, allocations: 3.879 MB / 446.8 MB, free: 8.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001934/0.2869, allocations: 71.62 kB / 446.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004822/0.2917, allocations: 2.348 MB / 449.2 MB, free: 5.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004884/0.2966, allocations: 1.704 MB / 451 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.2982, allocations: 0.6161 MB / 451.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005584/0.3038, allocations: 3.483 MB / 455 MB, free: 112 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003341/0.3071, allocations: 2.442 MB / 457.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.3094, allocations: 1.378 MB / 458.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003199/0.3126, allocations: 1.951 MB / 460.8 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007671/0.3134, allocations: 292 kB / 461.1 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00232/0.3157, allocations: 1.159 MB / 462.3 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001953/0.3177, allocations: 1.726 MB / 464 MB, free: 7.102 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002413/0.3201, allocations: 1.934 MB / 465.9 MB, free: 5.156 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007856/0.3279, allocations: 6.223 MB / 472.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.3279, allocations: 0 / 472.1 MB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3279, allocations: 4 kB / 472.2 MB, free: 14.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000195/0.3281, allocations: 3.938 kB / 472.2 MB, free: 14.9 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.009071/0.3372, allocations: 4.238 MB / 476.4 MB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3373, allocations: 8.031 kB / 476.4 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006598/0.3439, allocations: 1.917 MB / 478.3 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004876/0.3487, allocations: 1.973 MB / 480.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.3489, allocations: 209.4 kB / 480.5 MB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009712/0.3499, allocations: 375.6 kB / 480.9 MB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01643/0.3663, allocations: 8.897 MB / 489.8 MB, free: 12.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/0.3664, allocations: 39.64 kB / 489.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004438/0.3669, allocations: 135.9 kB / 489.9 MB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002513/0.3694, allocations: 1.645 MB / 491.6 MB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01556/0.3849, allocations: 7.524 MB / 499.1 MB, free: 3.211 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04969/0.4346, allocations: 34.94 MB / 0.5215 GB, free: 15.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008849/0.4435, allocations: 2.933 MB / 0.5244 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002203/0.4457, allocations: 1.377 MB / 0.5257 GB, free: 10.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01183/0.4575, allocations: 5.698 MB / 0.5313 GB, free: 5.129 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.128e-05/0.4576, allocations: 43.22 kB / 0.5313 GB, free: 5.078 MB / 446.1 MB Notification: Performance of pre-optimization done (n=132): time 4.057e-06/0.4576, allocations: 0 / 0.5313 GB, free: 5.078 MB / 446.1 MB Notification: Performance of matching and sorting (n=139): time 0.2723/0.7299, allocations: 11.06 MB / 0.5421 GB, free: 99.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001034/0.7309, allocations: 1.601 MB / 0.5437 GB, free: 97.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004806/0.7357, allocations: 3.541 MB / 0.5472 GB, free: 96.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002996/0.736, allocations: 45.64 kB / 0.5472 GB, free: 96.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.7374, allocations: 2.899 MB / 0.55 GB, free: 94.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006078/0.738, allocations: 0.5921 MB / 0.5506 GB, free: 94.07 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001113/0.7392, allocations: 1.114 MB / 0.5517 GB, free: 93.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.821e-05/0.7392, allocations: 305.5 kB / 0.552 GB, free: 93.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002153/0.7414, allocations: 1.936 MB / 0.5539 GB, free: 92.6 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003349/0.7447, allocations: 5.37 MB / 0.5591 GB, free: 87.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006063/0.7508, allocations: 7.843 MB / 0.5668 GB, free: 79.41 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-05/0.7508, allocations: 39.94 kB / 0.5668 GB, free: 79.38 MB / 446.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.01668/0.7675, allocations: 8.853 MB / 0.5755 GB, free: 70.89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/0.7676, allocations: 63.12 kB / 0.5755 GB, free: 70.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009266/0.7769, allocations: 3.514 MB / 0.579 GB, free: 67.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009628/0.7865, allocations: 2.324 MB / 0.5812 GB, free: 64.97 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003613/0.7901, allocations: 1.263 MB / 0.5825 GB, free: 63.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007749/0.7978, allocations: 7.241 MB / 0.5895 GB, free: 56.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004574/0.8024, allocations: 383.4 kB / 0.5899 GB, free: 55.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006375/0.8031, allocations: 344 kB / 0.5902 GB, free: 55.54 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.002465/0.8055, allocations: 1.845 MB / 0.592 GB, free: 53.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005312/0.806, allocations: 321.9 kB / 0.5923 GB, free: 53.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006476/0.8067, allocations: 402.1 kB / 0.5927 GB, free: 52.96 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003864/0.8106, allocations: 2.375 MB / 0.595 GB, free: 50.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.8106, allocations: 3.625 kB / 0.595 GB, free: 50.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.403e-05/0.8106, allocations: 11.97 kB / 0.595 GB, free: 50.56 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01184/0.8224, allocations: 7.728 MB / 0.6026 GB, free: 42.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.8224, allocations: 0 / 0.6026 GB, free: 42.76 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.8234, allocations: 227.8 kB / 0.6028 GB, free: 42.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002557/0.826, allocations: 1.06 MB / 0.6038 GB, free: 41.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/0.8261, allocations: 39.97 kB / 0.6039 GB, free: 41.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004148/0.8303, allocations: 5.067 MB / 0.6088 GB, free: 36.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006752/0.831, allocations: 1.466 MB / 0.6103 GB, free: 34.54 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006497/0.8375, allocations: 4.998 MB / 0.6151 GB, free: 29.5 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009672/0.8384, allocations: 301.7 kB / 0.6154 GB, free: 29.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003366/0.8388, allocations: 39.92 kB / 0.6155 GB, free: 29.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00127/0.84, allocations: 127.8 kB / 0.6156 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002133/0.8402, allocations: 84.47 kB / 0.6157 GB, free: 28.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.551e-05/0.8403, allocations: 43.98 kB / 0.6157 GB, free: 28.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002452/0.8428, allocations: 2.175 MB / 0.6178 GB, free: 26.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8428, allocations: 3.938 kB / 0.6178 GB, free: 26.75 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004211/0.847, allocations: 0.9566 MB / 0.6188 GB, free: 25.79 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.0004254/0.8474, allocations: 162.5 kB / 0.6189 GB, free: 25.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007655/0.8551, allocations: 4.909 MB / 0.6237 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.192e-06/0.8551, allocations: 0 / 0.6237 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003186/0.8583, allocations: 1.796 MB / 0.6255 GB, free: 18.88 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.8606, allocations: 400.4 kB / 0.6259 GB, free: 18.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01192/0.8725, allocations: 9.017 MB / 0.6347 GB, free: 9.418 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00218/0.8747, allocations: 2.901 MB / 0.6375 GB, free: 6.484 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007928/0.8755, allocations: 255.3 kB / 0.6377 GB, free: 6.234 MB / 446.1 MB Notification: Performance of SimCode: time 1.262e-06/0.8755, allocations: 0 / 0.6377 GB, free: 6.234 MB / 446.1 MB Notification: Performance of Templates: time 0.3845/1.26, allocations: 118.4 MB / 0.7534 GB, free: 174.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody.makefile [Timeout 660] make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.cpp:25: In file included from ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyAlgLoopMain.cpp:24: ./OMCppModelica_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.211984711932018] 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.269116295967251 1.278967095 0.948519263 Calling exit ...