Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.001279/0.001279, allocations: 113.8 kB / 19.17 MB, free: 3.91 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.001332/0.001332, allocations: 208.9 kB / 22.13 MB, free: 0.9609 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.468/1.468, allocations: 230.2 MB / 255.2 MB, free: 15.27 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.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002407/0.002407, allocations: 63.91 kB / 374.5 MB, free: 9.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1131, allocations: 53.31 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.2394/0.3524, allocations: 7.434 MB / 435.3 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005071/0.3575, allocations: 3.271 MB / 438.5 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007368/0.3582, allocations: 38.09 kB / 438.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001886/0.3601, allocations: 1.055 MB / 439.6 MB, free: 6.113 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.363, allocations: 1.364 MB / 441 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.364, allocations: 454.9 kB / 441.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003816/0.3678, allocations: 2.669 MB / 444.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.3697, allocations: 1.318 MB / 445.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001275/0.371, allocations: 0.8374 MB / 446.3 MB, free: 3.578 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.3728, allocations: 1.325 MB / 447.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003665/0.3731, allocations: 169.6 kB / 447.8 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.3751, allocations: 1.056 MB / 448.8 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001235/0.3764, allocations: 1.117 MB / 449.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001481/0.3779, allocations: 1.29 MB / 451.2 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005806/0.3837, allocations: 4.331 MB / 455.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3837, allocations: 1.219 kB / 455.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.555e-06/0.3837, allocations: 0 / 455.6 MB, free: 15.01 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001267/0.3838, allocations: 0 / 455.6 MB, free: 15.01 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.007964/0.3918, allocations: 3.105 MB / 458.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3918, allocations: 9.5 kB / 458.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007205/0.399, allocations: 1.802 MB / 460.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004062/0.4031, allocations: 1.383 MB / 461.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.4032, allocations: 142.8 kB / 462 MB, free: 10.84 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007193/0.4039, allocations: 257.4 kB / 462.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0123/0.4162, allocations: 6.674 MB / 468.9 MB, free: 6.652 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/0.4163, allocations: 28.64 kB / 468.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/0.4166, allocations: 87.33 kB / 469 MB, free: 6.578 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003279/0.4199, allocations: 1.364 MB / 470.4 MB, free: 5.656 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01888/0.4388, allocations: 6.054 MB / 476.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04479/0.4835, allocations: 25.58 MB / 0.4903 GB, free: 5.285 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007286/0.4908, allocations: 2.611 MB / 0.4928 GB, free: 2.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001471/0.4923, allocations: 0.9876 MB / 0.4938 GB, free: 1.531 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007206/0.4995, allocations: 3.988 MB / 0.4977 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.913e-05/0.4996, allocations: 43.12 kB / 0.4977 GB, free: 13.22 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.387e-06/0.4996, allocations: 0 / 0.4977 GB, free: 13.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02768/0.5272, allocations: 10.45 MB / 0.5079 GB, free: 2.621 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001606/0.5288, allocations: 1.669 MB / 0.5095 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004222/0.5331, allocations: 2.726 MB / 0.5122 GB, free: 14.04 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003234/0.5334, allocations: 49.72 kB / 0.5123 GB, free: 13.98 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00178/0.5352, allocations: 2.163 MB / 0.5144 GB, free: 11.79 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007723/0.5359, allocations: 0.5312 MB / 0.5149 GB, free: 11.26 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001323/0.5373, allocations: 0.9251 MB / 0.5158 GB, free: 10.32 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.5374, allocations: 305.1 kB / 0.5161 GB, free: 10.02 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002713/0.5401, allocations: 1.656 MB / 0.5177 GB, free: 8.355 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005477/0.5456, allocations: 4.464 MB / 0.5221 GB, free: 2.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009284/0.5549, allocations: 6.547 MB / 0.5284 GB, free: 10.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001087/0.555, allocations: 28 kB / 0.5285 GB, free: 10.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02213/0.5771, allocations: 8.073 MB / 0.5364 GB, free: 2.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.058e-05/0.5772, allocations: 48.19 kB / 0.5364 GB, free: 2.383 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01199/0.5892, allocations: 3.558 MB / 0.5399 GB, free: 14.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/0.6015, allocations: 2.679 MB / 0.5425 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004063/0.6055, allocations: 1.01 MB / 0.5435 GB, free: 11.11 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.016/0.6215, allocations: 9.73 MB / 0.553 GB, free: 1.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003981/0.6255, allocations: 330.7 kB / 0.5533 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008294/0.6263, allocations: 284 kB / 0.5536 GB, free: 0.5078 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002526/0.6289, allocations: 1.423 MB / 0.555 GB, free: 15.07 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004568/0.6293, allocations: 246.3 kB / 0.5552 GB, free: 14.83 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006578/0.63, allocations: 330.3 kB / 0.5555 GB, free: 14.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006181/0.6361, allocations: 2.505 MB / 0.558 GB, free: 11.97 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.6362, allocations: 7.938 kB / 0.558 GB, free: 11.96 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.72e-05/0.6362, allocations: 11.91 kB / 0.558 GB, free: 11.95 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01469/0.6509, allocations: 6.863 MB / 0.5647 GB, free: 4.996 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.6509, allocations: 3.938 kB / 0.5647 GB, free: 4.992 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008691/0.6517, allocations: 179.7 kB / 0.5649 GB, free: 4.816 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004858/0.6566, allocations: 1.441 MB / 0.5663 GB, free: 3.371 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001421/0.6567, allocations: 27.98 kB / 0.5663 GB, free: 3.344 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.6682, allocations: 7.92 MB / 0.574 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001275/0.6695, allocations: 1.532 MB / 0.5755 GB, free: 9.473 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009459/0.6789, allocations: 4.864 MB / 0.5803 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009372/0.6799, allocations: 303.4 kB / 0.5806 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002705/0.6801, allocations: 27.98 kB / 0.5806 GB, free: 4.219 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/0.6813, allocations: 112.7 kB / 0.5807 GB, free: 4.109 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.6815, allocations: 78.08 kB / 0.5808 GB, free: 4.035 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001091/0.6817, allocations: 43.97 kB / 0.5808 GB, free: 3.992 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002913/0.6846, allocations: 1.685 MB / 0.5825 GB, free: 2.297 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.6846, allocations: 0 / 0.5825 GB, free: 2.297 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.004066/0.6886, allocations: 0.7773 MB / 0.5832 GB, free: 1.52 MB / 494.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.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,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 {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004326/0.6891, allocations: 162.9 kB / 0.5834 GB, free: 1.352 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008142/0.6972, allocations: 4.273 MB / 0.5875 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.6972, allocations: 0 / 0.5875 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.00326/0.7005, allocations: 1.658 MB / 0.5892 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.7023, allocations: 271.3 kB / 0.5894 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.7143, allocations: 6.924 MB / 0.5962 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002568/0.7169, allocations: 2.293 MB / 0.5984 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006989/0.7176, allocations: 203.4 kB / 0.5986 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of SimCode: time 1.553e-06/0.7176, allocations: 0 / 0.5986 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of Templates: time 0.3229/1.04, allocations: 76.28 MB / 0.6731 GB, free: 129.1 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.SpringWithMassCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp:25: In file included from ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgLoopMain.cpp:21: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:49: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:99: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:147: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:196: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:246: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:295: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:344: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:392: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:49: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:99: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:147: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:196: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:246: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:295: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:344: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:392: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:49: error: use of undeclared identifier 'body_P_Q_start_' tmp89 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(2)) + (((-_system->_body_P_Q_(2)) * body_P_Q_start_(3)) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:98: error: use of undeclared identifier 'body_P_Q_start_' tmp89 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(2)) + (((-_system->_body_P_Q_(2)) * body_P_Q_start_(3)) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:150: error: use of undeclared identifier 'body_P_Q_start_' tmp89 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(2)) + (((-_system->_body_P_Q_(2)) * body_P_Q_start_(3)) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * 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.SpringWithMassCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.969872495013988] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.frame_a.r_0[1]', 'body.frame_a.r_0[2]', 'body.frame_a.r_0[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 1.0503211559844203 1.056666001 0.6709092050000001 Calling exit ...