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.001662/0.001662, allocations: 111.9 kB / 19.18 MB, free: 3.762 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.002133/0.002133, allocations: 208.9 kB / 22.13 MB, free: 0.8125 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.472/1.472, allocations: 230.2 MB / 255.1 MB, free: 15.39 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.001885/0.001885, allocations: 63.91 kB / 374.5 MB, free: 9.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1014/0.1033, allocations: 53.32 MB / 427.8 MB, free: 4.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody): time 0.01247/0.1157, allocations: 10.47 MB / 438.3 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008214/0.1239, allocations: 3.859 MB / 442.2 MB, free: 6.184 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001667/0.1256, allocations: 67.81 kB / 442.2 MB, free: 6.117 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004726/0.1303, allocations: 2.332 MB / 444.6 MB, free: 3.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004544/0.1349, allocations: 1.697 MB / 446.3 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001559/0.1364, allocations: 0.6122 MB / 446.9 MB, free: 1.461 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2161/0.3526, allocations: 3.474 MB / 450.4 MB, free: 9.301 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003362/0.3559, allocations: 2.558 MB / 452.9 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002694/0.3586, allocations: 1.361 MB / 454.3 MB, free: 9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003507/0.3621, allocations: 1.945 MB / 456.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00112/0.3633, allocations: 290.8 kB / 456.5 MB, free: 8.789 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.3661, allocations: 1.17 MB / 457.7 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002344/0.3684, allocations: 1.717 MB / 459.4 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002929/0.3713, allocations: 1.944 MB / 461.3 MB, free: 7.332 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009462/0.3808, allocations: 6.212 MB / 467.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3808, allocations: 0 / 467.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.3808, allocations: 1.094 kB / 467.5 MB, free: 5.234 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002487/0.381, allocations: 1.125 kB / 467.5 MB, free: 5.234 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.01298/0.394, allocations: 4.316 MB / 471.9 MB, free: 2.801 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.3941, allocations: 9.969 kB / 471.9 MB, free: 2.801 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007541/0.4016, allocations: 1.912 MB / 473.8 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005236/0.4068, allocations: 2.038 MB / 475.8 MB, free: 0.793 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/0.4071, allocations: 215.1 kB / 476 MB, free: 0.7227 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001455/0.4085, allocations: 371.9 kB / 476.4 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02025/0.4288, allocations: 8.889 MB / 485.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000185/0.429, allocations: 39.36 kB / 485.3 MB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00133/0.4303, allocations: 135.3 kB / 485.5 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002859/0.4332, allocations: 1.647 MB / 487.1 MB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01731/0.4505, allocations: 7.534 MB / 494.6 MB, free: 4.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05284/0.5033, allocations: 35.07 MB / 0.5173 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009688/0.513, allocations: 3.374 MB / 0.5206 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002406/0.5154, allocations: 1.395 MB / 0.522 GB, free: 11.98 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01255/0.528, allocations: 6.888 MB / 0.5287 GB, free: 4.809 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.627e-05/0.528, allocations: 58.67 kB / 0.5287 GB, free: 4.746 MB / 430.1 MB Notification: Performance of pre-optimization done (n=132): time 4.989e-06/0.528, allocations: 0 / 0.5287 GB, free: 4.746 MB / 430.1 MB Notification: Performance of matching and sorting (n=139): time 0.03344/0.5615, allocations: 11.35 MB / 0.5398 GB, free: 9.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001693/0.5632, allocations: 1.712 MB / 0.5415 GB, free: 7.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007257/0.5704, allocations: 3.536 MB / 0.5449 GB, free: 3.875 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004073/0.5708, allocations: 45.73 kB / 0.545 GB, free: 3.824 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002712/0.5735, allocations: 2.901 MB / 0.5478 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001025/0.5746, allocations: 0.5921 MB / 0.5484 GB, free: 364 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002311/0.5769, allocations: 1.117 MB / 0.5495 GB, free: 15.23 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.577, allocations: 305.1 kB / 0.5498 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003333/0.5803, allocations: 1.927 MB / 0.5517 GB, free: 13 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006349/0.5867, allocations: 5.38 MB / 0.5569 GB, free: 5.938 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01051/0.5972, allocations: 7.85 MB / 0.5646 GB, free: 12.39 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001262/0.5973, allocations: 36 kB / 0.5646 GB, free: 12.36 MB / 478.1 MB Notification: Performance of matching and sorting (n=714) (initialization): time 0.02377/0.6211, allocations: 8.849 MB / 0.5733 GB, free: 3.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.1e-05/0.6212, allocations: 60 kB / 0.5733 GB, free: 3.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01161/0.6328, allocations: 3.521 MB / 0.5768 GB, free: 15.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/0.6439, allocations: 2.32 MB / 0.579 GB, free: 13.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004453/0.6484, allocations: 1.252 MB / 0.5802 GB, free: 12.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/0.6625, allocations: 7.445 MB / 0.5875 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007976/0.6705, allocations: 391.5 kB / 0.5879 GB, free: 4.211 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001503/0.672, allocations: 340 kB / 0.5882 GB, free: 3.879 MB / 494.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.00606/0.6781, allocations: 1.848 MB / 0.59 GB, free: 2.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/0.6791, allocations: 321.9 kB / 0.5903 GB, free: 1.703 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00139/0.6805, allocations: 402.1 kB / 0.5907 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008596/0.6891, allocations: 2.368 MB / 0.593 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.586e-05/0.6891, allocations: 7.938 kB / 0.593 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-05/0.6892, allocations: 11.97 kB / 0.593 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03001/0.7192, allocations: 7.854 MB / 0.6007 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.364e-05/0.7192, allocations: 4 kB / 0.6007 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002532/0.7217, allocations: 235.6 kB / 0.6009 GB, free: 6.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006837/0.7286, allocations: 1.049 MB / 0.602 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004513/0.729, allocations: 35.97 kB / 0.602 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01194/0.741, allocations: 5.287 MB / 0.6072 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002193/0.7432, allocations: 1.566 MB / 0.6087 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01704/0.7602, allocations: 5.006 MB / 0.6136 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001708/0.7619, allocations: 378.8 kB / 0.6139 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008226/0.7627, allocations: 24 kB / 0.614 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/0.7657, allocations: 127.8 kB / 0.6141 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004679/0.7661, allocations: 88.52 kB / 0.6142 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002184/0.7664, allocations: 41.94 kB / 0.6142 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007055/0.7734, allocations: 2.183 MB / 0.6163 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7734, allocations: 0 / 0.6163 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009771/0.7832, allocations: 0.9492 MB / 0.6173 GB, free: 5.531 MB / 0.5137 GB 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.0008556/0.784, allocations: 169.4 kB / 0.6174 GB, free: 5.359 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01824/0.8023, allocations: 5.045 MB / 0.6223 GB, free: 284 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.931e-05/0.8023, allocations: 0 / 0.6223 GB, free: 284 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008008/0.8103, allocations: 1.955 MB / 0.6243 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005879/0.8162, allocations: 405.6 kB / 0.6246 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02958/0.8458, allocations: 8.948 MB / 0.6334 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006718/0.8525, allocations: 2.897 MB / 0.6362 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001539/0.854, allocations: 255.4 kB / 0.6365 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of SimCode: time 1.192e-06/0.854, allocations: 0 / 0.6365 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of Templates: time 0.338/1.192, allocations: 118.4 MB / 0.752 GB, free: 86.01 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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.046720569022] 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.201753888046369 1.20980497 0.8265739470000001 Calling exit ...