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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001587/0.001587, allocations: 108.9 kB / 20.37 MB, free: 2.102 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002319/0.002319, allocations: 212 kB / 23.54 MB, free: 5.391 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 230.2 MB / 256.8 MB, free: 8.625 MB / 206.1 MB [Timeout remaining time 88] 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.00191/0.00191, allocations: 71.83 kB / 376.9 MB, free: 3.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.2577, allocations: 53.32 MB / 430.2 MB, free: 7.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01255/0.2702, allocations: 10.75 MB / 441 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008751/0.279, allocations: 3.966 MB / 444.9 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002012/0.281, allocations: 63.81 kB / 445 MB, free: 8.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005763/0.2868, allocations: 2.612 MB / 447.6 MB, free: 6.176 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005717/0.2925, allocations: 1.766 MB / 449.4 MB, free: 4.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0019/0.2944, allocations: 0.6785 MB / 450 MB, free: 3.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006103/0.3005, allocations: 3.712 MB / 453.8 MB, free: 4 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004252/0.3047, allocations: 2.974 MB / 456.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.3075, allocations: 1.472 MB / 458.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003515/0.311, allocations: 2.106 MB / 460.3 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009965/0.312, allocations: 320 kB / 460.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002623/0.3146, allocations: 1.182 MB / 461.8 MB, free: 7.883 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002154/0.3168, allocations: 1.85 MB / 463.7 MB, free: 6.027 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00276/0.3195, allocations: 2.12 MB / 465.8 MB, free: 3.895 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009032/0.3286, allocations: 6.676 MB / 472.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.3286, allocations: 0 / 472.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3286, allocations: 0 / 472.4 MB, free: 13.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002003/0.3288, allocations: 0 / 472.4 MB, free: 13.19 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.009185/0.338, allocations: 4.651 MB / 477.1 MB, free: 8.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.338, allocations: 8.031 kB / 477.1 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006813/0.3448, allocations: 1.967 MB / 479.1 MB, free: 6.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004051/0.3489, allocations: 1.994 MB / 481.1 MB, free: 4.445 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.3491, allocations: 250.2 kB / 481.3 MB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008618/0.3499, allocations: 391.7 kB / 481.7 MB, free: 3.816 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01883/0.3688, allocations: 10.11 MB / 491.8 MB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001056/0.3689, allocations: 39.64 kB / 491.9 MB, free: 8.941 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004319/0.3693, allocations: 155.9 kB / 492 MB, free: 8.789 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002797/0.3721, allocations: 1.868 MB / 493.9 MB, free: 6.918 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01804/0.3901, allocations: 8.363 MB / 0.4905 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0518/0.4419, allocations: 39.3 MB / 0.5288 GB, free: 6.117 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/0.4523, allocations: 3.914 MB / 0.5327 GB, free: 2.055 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002095/0.4544, allocations: 1.334 MB / 0.534 GB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2552/0.7096, allocations: 7.73 MB / 0.5415 GB, free: 97.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.671e-05/0.7096, allocations: 51.19 kB / 0.5416 GB, free: 97.67 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.869e-06/0.7096, allocations: 3.281 kB / 0.5416 GB, free: 97.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03/0.7396, allocations: 12.69 MB / 0.554 GB, free: 92.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009937/0.7406, allocations: 1.682 MB / 0.5556 GB, free: 91.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00439/0.745, allocations: 3.819 MB / 0.5593 GB, free: 88.68 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003317/0.7454, allocations: 45.7 kB / 0.5594 GB, free: 88.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001346/0.7467, allocations: 3.239 MB / 0.5625 GB, free: 85.56 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006539/0.7474, allocations: 0.6768 MB / 0.5632 GB, free: 84.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/0.7486, allocations: 1.266 MB / 0.5644 GB, free: 83.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.088e-05/0.7487, allocations: 305.1 kB / 0.5647 GB, free: 83.32 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002473/0.7511, allocations: 2.056 MB / 0.5667 GB, free: 81.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003885/0.755, allocations: 5.981 MB / 0.5726 GB, free: 73.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007568/0.7626, allocations: 8.65 MB / 0.581 GB, free: 62.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001212/0.7627, allocations: 40 kB / 0.5811 GB, free: 62.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02202/0.7847, allocations: 9.845 MB / 0.5907 GB, free: 52.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001727/0.7849, allocations: 64 kB / 0.5907 GB, free: 52.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01098/0.7959, allocations: 3.838 MB / 0.5945 GB, free: 48.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01094/0.8068, allocations: 2.729 MB / 0.5972 GB, free: 46.15 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00424/0.8111, allocations: 1.368 MB / 0.5985 GB, free: 44.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.8254, allocations: 11.58 MB / 0.6098 GB, free: 32.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005446/0.8308, allocations: 411.5 kB / 0.6102 GB, free: 32.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/0.832, allocations: 388 kB / 0.6106 GB, free: 32.02 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.004312/0.8363, allocations: 2.024 MB / 0.6125 GB, free: 29.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009062/0.8373, allocations: 345.7 kB / 0.6129 GB, free: 29.64 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001249/0.8385, allocations: 428.4 kB / 0.6133 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00548/0.844, allocations: 2.714 MB / 0.6159 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.699e-05/0.844, allocations: 7.938 kB / 0.6159 GB, free: 26.47 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-05/0.844, allocations: 7.969 kB / 0.6159 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.8606, allocations: 8.565 MB / 0.6243 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.8606, allocations: 0 / 0.6243 GB, free: 17.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009292/0.8615, allocations: 199.7 kB / 0.6245 GB, free: 17.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004161/0.8657, allocations: 1.459 MB / 0.6259 GB, free: 16.16 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002415/0.8659, allocations: 35.97 kB / 0.626 GB, free: 16.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/0.8767, allocations: 9.816 MB / 0.6355 GB, free: 5.887 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008351/0.8775, allocations: 1.551 MB / 0.6371 GB, free: 4.191 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009572/0.8871, allocations: 5.351 MB / 0.6423 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/0.8883, allocations: 394.6 kB / 0.6427 GB, free: 14.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007963/0.8891, allocations: 31.98 kB / 0.6427 GB, free: 14.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001843/0.891, allocations: 135.9 kB / 0.6428 GB, free: 14.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004364/0.8914, allocations: 109 kB / 0.6429 GB, free: 14.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/0.8915, allocations: 43.98 kB / 0.643 GB, free: 14.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005212/0.8968, allocations: 2.337 MB / 0.6452 GB, free: 11.76 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8968, allocations: 0 / 0.6452 GB, free: 11.76 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00649/0.9032, allocations: 1.078 MB / 0.6463 GB, free: 10.69 MB / 462.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.0006388/0.9039, allocations: 163 kB / 0.6465 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01182/0.9157, allocations: 5.565 MB / 0.6519 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.9157, allocations: 0 / 0.6519 GB, free: 4.902 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004818/0.9205, allocations: 2.237 MB / 0.6541 GB, free: 2.586 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/0.9233, allocations: 398.6 kB / 0.6545 GB, free: 2.195 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01848/0.9417, allocations: 9.633 MB / 0.6639 GB, free: 8.508 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003897/0.9456, allocations: 3.123 MB / 0.6669 GB, free: 5.352 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008691/0.9465, allocations: 267.4 kB / 0.6672 GB, free: 5.09 MB / 478.1 MB Notification: Performance of SimCode: time 1.362e-06/0.9465, allocations: 0 / 0.6672 GB, free: 5.09 MB / 478.1 MB Notification: Performance of Templates: time 0.5011/1.448, allocations: 145.1 MB / 0.8089 GB, free: 117 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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp143 = 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_' tmp143 = 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_' tmp143 = 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