Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 104.6 kB / 19.61 MB, free: 2.707 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 196.5 kB / 22.76 MB, free: 5.48 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 225.6 MB / 251.4 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 47.92 kB / 369.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3069, allocations: 52.14 MB / 421.3 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01467/0.3216, allocations: 10.79 MB / 432.1 MB, free: 4.328 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00876/0.3303, allocations: 3.951 MB / 436 MB, free: 372 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.3322, allocations: 63.81 kB / 436.1 MB, free: 308 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005644/0.3379, allocations: 2.62 MB / 438.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005329/0.3432, allocations: 1.798 MB / 440.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.345, allocations: 0.6902 MB / 441.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006142/0.3512, allocations: 3.685 MB / 444.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004157/0.3553, allocations: 2.97 MB / 447.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002613/0.3579, allocations: 1.48 MB / 449.3 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004595/0.3625, allocations: 2.114 MB / 451.5 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001428/0.3639, allocations: 312 kB / 451.8 MB, free: 0.543 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003236/0.3672, allocations: 1.205 MB / 453 MB, free: 15.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002748/0.3699, allocations: 1.874 MB / 454.8 MB, free: 13.46 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00378/0.3737, allocations: 2.14 MB / 457 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01027/0.384, allocations: 6.727 MB / 463.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.384, allocations: 0 / 463.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.384, allocations: 0 / 463.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002503/0.3842, allocations: 0 / 463.7 MB, free: 4.551 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.0109/0.3951, allocations: 4.686 MB / 468.4 MB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3952, allocations: 8.031 kB / 468.4 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006947/0.4021, allocations: 1.913 MB / 470.3 MB, free: 13.86 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005184/0.4073, allocations: 2.025 MB / 472.3 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.4076, allocations: 246.2 kB / 472.6 MB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001292/0.4089, allocations: 395.7 kB / 473 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01947/0.4283, allocations: 10.07 MB / 483 MB, free: 384 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001107/0.4284, allocations: 43.56 kB / 483.1 MB, free: 340 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004451/0.4289, allocations: 155.9 kB / 483.2 MB, free: 184 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002925/0.4318, allocations: 1.857 MB / 485.1 MB, free: 14.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01775/0.4496, allocations: 8.328 MB / 493.4 MB, free: 5.988 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05519/0.5047, allocations: 39.32 MB / 0.5202 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/0.5212, allocations: 3.867 MB / 0.524 GB, free: 9.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003571/0.5248, allocations: 1.345 MB / 0.5253 GB, free: 8.16 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01784/0.5426, allocations: 7.64 MB / 0.5328 GB, free: 44 kB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001069/0.5427, allocations: 55.58 kB / 0.5328 GB, free: 15.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=152): time 6.522e-06/0.5427, allocations: 0 / 0.5328 GB, free: 15.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=159): time 0.04126/0.584, allocations: 12.58 MB / 0.5451 GB, free: 3.227 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001548/0.5855, allocations: 1.679 MB / 0.5468 GB, free: 1.367 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2298/0.8153, allocations: 3.816 MB / 0.5505 GB, free: 122.3 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003827/0.8157, allocations: 47.05 kB / 0.5505 GB, free: 122.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002293/0.818, allocations: 3.246 MB / 0.5537 GB, free: 120.6 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000899/0.8189, allocations: 0.6765 MB / 0.5544 GB, free: 120.1 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00158/0.8204, allocations: 1.266 MB / 0.5556 GB, free: 119.5 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.8205, allocations: 304.7 kB / 0.5559 GB, free: 119.2 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/0.8231, allocations: 2.033 MB / 0.5579 GB, free: 118.6 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004341/0.8274, allocations: 5.975 MB / 0.5637 GB, free: 112.6 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0075/0.8349, allocations: 8.623 MB / 0.5721 GB, free: 105.1 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/0.835, allocations: 42.25 kB / 0.5722 GB, free: 105.1 MB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02024/0.8553, allocations: 9.712 MB / 0.5817 GB, free: 98.06 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.161e-05/0.8553, allocations: 75.88 kB / 0.5817 GB, free: 97.99 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009954/0.8653, allocations: 3.718 MB / 0.5854 GB, free: 94.26 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01066/0.876, allocations: 2.606 MB / 0.5879 GB, free: 91.64 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004439/0.8804, allocations: 1.368 MB / 0.5892 GB, free: 90.27 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008137/0.8885, allocations: 7.721 MB / 0.5968 GB, free: 82.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005488/0.894, allocations: 403.5 kB / 0.5972 GB, free: 81.85 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007962/0.8948, allocations: 384 kB / 0.5975 GB, free: 81.48 MB / 462.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.002905/0.8977, allocations: 2.011 MB / 0.5995 GB, free: 79.45 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00069/0.8984, allocations: 345.7 kB / 0.5998 GB, free: 79.11 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005729/0.9041, allocations: 3.106 MB / 0.6029 GB, free: 75.98 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004817/0.909, allocations: 2.655 MB / 0.6055 GB, free: 73.31 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.442e-05/0.909, allocations: 8 kB / 0.6055 GB, free: 73.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.409e-05/0.909, allocations: 7.969 kB / 0.6055 GB, free: 73.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.923, allocations: 8.526 MB / 0.6138 GB, free: 64.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.459e-05/0.923, allocations: 3.938 kB / 0.6138 GB, free: 64.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008367/0.9239, allocations: 187.7 kB / 0.614 GB, free: 64.51 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004017/0.9279, allocations: 1.44 MB / 0.6154 GB, free: 63.05 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001504/0.928, allocations: 27.98 kB / 0.6154 GB, free: 63.03 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004891/0.9329, allocations: 6.014 MB / 0.6213 GB, free: 56.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000721/0.9336, allocations: 1.548 MB / 0.6228 GB, free: 55.02 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007541/0.9412, allocations: 5.306 MB / 0.628 GB, free: 49.68 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.9422, allocations: 394.6 kB / 0.6284 GB, free: 49.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003505/0.9426, allocations: 24 kB / 0.6284 GB, free: 49.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00132/0.9439, allocations: 123.8 kB / 0.6285 GB, free: 49.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002193/0.9441, allocations: 84.86 kB / 0.6286 GB, free: 49.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001099/0.9442, allocations: 47.97 kB / 0.6286 GB, free: 49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002944/0.9472, allocations: 2.345 MB / 0.6309 GB, free: 46.67 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.9472, allocations: 0 / 0.6309 GB, free: 46.67 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004721/0.9519, allocations: 1.035 MB / 0.6319 GB, free: 45.64 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.0004111/0.9523, allocations: 165.9 kB / 0.6321 GB, free: 45.47 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.007508/0.9598, allocations: 5.283 MB / 0.6372 GB, free: 40.15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.9598, allocations: 0 / 0.6372 GB, free: 40.15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003031/0.9629, allocations: 1.952 MB / 0.6392 GB, free: 38.13 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.9651, allocations: 400.7 kB / 0.6395 GB, free: 37.74 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.9801, allocations: 9.611 MB / 0.6489 GB, free: 28.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002387/0.9825, allocations: 3.103 MB / 0.652 GB, free: 24.93 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008672/0.9833, allocations: 267.4 kB / 0.6522 GB, free: 24.67 MB / 462.1 MB Notification: Performance of SimCode: time 2.214e-06/0.9833, allocations: 0 / 0.6522 GB, free: 24.67 MB / 462.1 MB Notification: Performance of Templates: time 0.3666/1.35, allocations: 144.5 MB / 0.7933 GB, free: 150.6 MB / 0.5294 GB [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgLoopMain.cpp:30: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:78:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp132 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:78:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp132 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:78:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp132 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1