Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001297/0.001297, allocations: 103.6 kB / 21.19 MB, free: 0.5234 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.001424/0.001424, allocations: 214.8 kB / 24.48 MB, free: 3.836 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.446/1.446, allocations: 230.5 MB / 258.1 MB, free: 7.797 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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002861/0.002861, allocations: 67.98 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2732, allocations: 53.42 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01214/0.2854, allocations: 9.36 MB / 441.8 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007656/0.293, allocations: 3.767 MB / 445.5 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001199/0.2942, allocations: 71.69 kB / 445.6 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004978/0.2992, allocations: 2.511 MB / 448.1 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004436/0.3036, allocations: 1.79 MB / 449.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001532/0.3052, allocations: 0.6824 MB / 450.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004988/0.3101, allocations: 3.708 MB / 454.3 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003483/0.3136, allocations: 2.718 MB / 457 MB, free: 13.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002323/0.316, allocations: 1.491 MB / 458.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002989/0.3189, allocations: 1.981 MB / 460.5 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006509/0.3196, allocations: 320 kB / 460.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.3216, allocations: 1.053 MB / 461.8 MB, free: 9.078 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001838/0.3235, allocations: 1.85 MB / 463.7 MB, free: 7.223 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00187/0.3253, allocations: 1.576 MB / 465.3 MB, free: 5.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007411/0.3328, allocations: 6.692 MB / 472 MB, free: 14.92 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3328, allocations: 4 kB / 472 MB, free: 14.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.3328, allocations: 0 / 472 MB, free: 14.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001315/0.3329, allocations: 0 / 472 MB, free: 14.91 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.008603/0.3415, allocations: 4.58 MB / 476.6 MB, free: 10.28 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.3415, allocations: 11.98 kB / 476.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007043/0.3486, allocations: 1.964 MB / 478.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004595/0.3532, allocations: 1.949 MB / 480.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.3534, allocations: 250.2 kB / 480.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008729/0.3543, allocations: 391.7 kB / 481.1 MB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01909/0.3733, allocations: 10.19 MB / 491.3 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000106/0.3735, allocations: 39.67 kB / 491.3 MB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004102/0.3739, allocations: 159.9 kB / 491.5 MB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/0.3768, allocations: 1.86 MB / 493.4 MB, free: 8.699 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01792/0.3947, allocations: 8.353 MB / 0.4899 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04604/0.4407, allocations: 36.9 MB / 0.526 GB, free: 10.31 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01038/0.4511, allocations: 3.463 MB / 0.5294 GB, free: 6.812 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002102/0.4532, allocations: 1.326 MB / 0.5307 GB, free: 5.477 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2108/0.664, allocations: 5.52 MB / 0.536 GB, free: 101 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.562e-05/0.664, allocations: 52.95 kB / 0.5361 GB, free: 100.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.749e-06/0.6641, allocations: 2.844 kB / 0.5361 GB, free: 100.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02904/0.6931, allocations: 12.31 MB / 0.5481 GB, free: 97.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000872/0.694, allocations: 1.544 MB / 0.5496 GB, free: 95.89 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003768/0.6977, allocations: 3.666 MB / 0.5532 GB, free: 94.59 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002252/0.698, allocations: 49.27 kB / 0.5533 GB, free: 94.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001286/0.6992, allocations: 3.263 MB / 0.5564 GB, free: 91.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000477/0.6997, allocations: 0.6781 MB / 0.5571 GB, free: 91.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001151/0.7009, allocations: 1.262 MB / 0.5583 GB, free: 90.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.488e-05/0.7009, allocations: 305.1 kB / 0.5586 GB, free: 89.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002348/0.7033, allocations: 2.051 MB / 0.5606 GB, free: 88.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/0.7066, allocations: 5.981 MB / 0.5665 GB, free: 80.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006804/0.7134, allocations: 8.65 MB / 0.5749 GB, free: 69.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001014/0.7135, allocations: 40 kB / 0.575 GB, free: 69.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02011/0.7337, allocations: 9.801 MB / 0.5845 GB, free: 59.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.616e-05/0.7337, allocations: 64.19 kB / 0.5846 GB, free: 59.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01089/0.7446, allocations: 3.86 MB / 0.5884 GB, free: 55.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/0.7559, allocations: 2.716 MB / 0.591 GB, free: 53.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003773/0.7597, allocations: 1.365 MB / 0.5923 GB, free: 51.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01359/0.7733, allocations: 11.06 MB / 0.6031 GB, free: 40.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004698/0.778, allocations: 407.5 kB / 0.6035 GB, free: 39.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006937/0.7787, allocations: 395.3 kB / 0.6039 GB, free: 39.59 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.002331/0.781, allocations: 2.017 MB / 0.6059 GB, free: 37.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004552/0.7814, allocations: 313.9 kB / 0.6062 GB, free: 37.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005215/0.782, allocations: 401.5 kB / 0.6066 GB, free: 36.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005254/0.7872, allocations: 2.71 MB / 0.6092 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/0.7872, allocations: 7.938 kB / 0.6092 GB, free: 34.11 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.7872, allocations: 8.844 kB / 0.6092 GB, free: 34.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01258/0.7998, allocations: 7.472 MB / 0.6165 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-05/0.7998, allocations: 0 / 0.6165 GB, free: 26.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008946/0.8007, allocations: 191.7 kB / 0.6167 GB, free: 26.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004173/0.8049, allocations: 1.451 MB / 0.6181 GB, free: 24.9 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001617/0.8051, allocations: 35.97 kB / 0.6182 GB, free: 24.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009947/0.815, allocations: 9.35 MB / 0.6273 GB, free: 15.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000631/0.8156, allocations: 1.413 MB / 0.6287 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007796/0.8234, allocations: 5.342 MB / 0.6339 GB, free: 8.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008574/0.8243, allocations: 273.9 kB / 0.6341 GB, free: 8.051 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/0.8246, allocations: 35.98 kB / 0.6342 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.8258, allocations: 123.8 kB / 0.6343 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.8261, allocations: 112.7 kB / 0.6344 GB, free: 7.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.631e-05/0.8262, allocations: 55.42 kB / 0.6345 GB, free: 7.734 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002308/0.8285, allocations: 2.062 MB / 0.6365 GB, free: 5.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8285, allocations: 0 / 0.6365 GB, free: 5.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005252/0.8338, allocations: 1.07 MB / 0.6375 GB, free: 4.609 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004004/0.8342, allocations: 163.1 kB / 0.6377 GB, free: 4.449 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008912/0.8431, allocations: 5.413 MB / 0.643 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/0.8431, allocations: 0 / 0.643 GB, free: 15.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004692/0.8478, allocations: 2.094 MB / 0.645 GB, free: 12.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002206/0.85, allocations: 351.5 kB / 0.6453 GB, free: 12.55 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.868, allocations: 9.587 MB / 0.6547 GB, free: 2.902 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003747/0.8717, allocations: 2.588 MB / 0.6572 GB, free: 288 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008258/0.8725, allocations: 255.4 kB / 0.6575 GB, free: 32 kB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.8725, allocations: 0 / 0.6575 GB, free: 32 kB / 462.1 MB Notification: Performance of Templates: time 0.3847/1.257, allocations: 145 MB / 0.7991 GB, free: 125.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp:25: In file included from ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgLoopMain.cpp:30: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp123 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp123 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp123 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_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.ThreeSpringsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.170778904110193] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]'] 1.266769359819591 1.274939746 0.939887934 Calling exit ...