Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001727/0.001727, allocations: 113.8 kB / 19.18 MB, free: 3.762 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002091/0.002091, allocations: 208.9 kB / 22.13 MB, free: 0.8125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.43/1.43, allocations: 230.4 MB / 255.4 MB, free: 15.18 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|body.frame_a.r_0.1.|body.frame_a.r_0.2.|body.frame_a.r_0.3.|body.v_0.1.|body.v_0.2.|body.v_0.3.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002121/0.002121, allocations: 67.97 kB / 374.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.107, allocations: 53.31 MB / 428.1 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.2105/0.3175, allocations: 7.438 MB / 435.5 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005113/0.3226, allocations: 3.27 MB / 438.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009033/0.3235, allocations: 36.97 kB / 438.8 MB, free: 6.344 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002028/0.3256, allocations: 1.053 MB / 439.9 MB, free: 6 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003083/0.3287, allocations: 1.361 MB / 441.2 MB, free: 5.438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.3297, allocations: 463.2 kB / 441.7 MB, free: 5.258 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0039/0.3336, allocations: 2.66 MB / 444.3 MB, free: 4.324 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001899/0.3355, allocations: 1.316 MB / 445.6 MB, free: 3.77 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001372/0.3368, allocations: 0.845 MB / 446.5 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.3388, allocations: 1.325 MB / 447.8 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004581/0.3392, allocations: 170.4 kB / 448 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/0.3414, allocations: 1.054 MB / 449 MB, free: 2.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.3426, allocations: 1.117 MB / 450.2 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001181/0.3438, allocations: 1.287 MB / 451.4 MB, free: 1.375 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00625/0.35, allocations: 4.335 MB / 455.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.35, allocations: 1.125 kB / 455.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.35, allocations: 0 / 455.8 MB, free: 14.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.457e-05/0.3501, allocations: 0 / 455.8 MB, free: 14.83 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.00683/0.357, allocations: 3.109 MB / 458.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.357, allocations: 14.42 kB / 458.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007181/0.3642, allocations: 1.796 MB / 460.7 MB, free: 11.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.3674, allocations: 1.371 MB / 462.1 MB, free: 10.74 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.3675, allocations: 141.4 kB / 462.2 MB, free: 10.67 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007585/0.3683, allocations: 258.4 kB / 462.5 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01229/0.3806, allocations: 6.674 MB / 469.1 MB, free: 6.48 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.751e-05/0.3807, allocations: 28.14 kB / 469.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002945/0.381, allocations: 87.39 kB / 469.2 MB, free: 6.406 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002318/0.3833, allocations: 1.37 MB / 470.6 MB, free: 5.449 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01228/0.3956, allocations: 6.045 MB / 476.7 MB, free: 15.4 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0337/0.4293, allocations: 25.58 MB / 0.4905 GB, free: 5.078 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007495/0.4368, allocations: 2.606 MB / 0.493 GB, free: 2.324 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.4383, allocations: 0.9897 MB / 0.494 GB, free: 1.324 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006539/0.4449, allocations: 3.985 MB / 0.4979 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.4449, allocations: 43.12 kB / 0.4979 GB, free: 13.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 4.037e-06/0.4449, allocations: 0 / 0.4979 GB, free: 13.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.0286/0.4735, allocations: 10.45 MB / 0.5081 GB, free: 2.414 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001515/0.475, allocations: 1.666 MB / 0.5097 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004037/0.4791, allocations: 2.733 MB / 0.5124 GB, free: 13.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003132/0.4794, allocations: 41.7 kB / 0.5125 GB, free: 13.78 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001631/0.481, allocations: 2.167 MB / 0.5146 GB, free: 11.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006678/0.4817, allocations: 0.5311 MB / 0.5151 GB, free: 11.05 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001274/0.483, allocations: 0.925 MB / 0.516 GB, free: 10.11 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.4831, allocations: 309.1 kB / 0.5163 GB, free: 9.809 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002617/0.4857, allocations: 1.66 MB / 0.5179 GB, free: 8.141 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004828/0.4905, allocations: 4.456 MB / 0.5223 GB, free: 2.277 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009426/0.4999, allocations: 6.556 MB / 0.5287 GB, free: 10.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.776e-05/0.5, allocations: 28 kB / 0.5287 GB, free: 10.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.0213/0.5213, allocations: 8.068 MB / 0.5366 GB, free: 2.227 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.674e-05/0.5214, allocations: 52.03 kB / 0.5366 GB, free: 2.176 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01201/0.5334, allocations: 3.558 MB / 0.5401 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01249/0.5459, allocations: 2.675 MB / 0.5427 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003369/0.5493, allocations: 1.018 MB / 0.5437 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01558/0.5648, allocations: 9.718 MB / 0.5532 GB, free: 0.9023 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003775/0.5686, allocations: 339.7 kB / 0.5535 GB, free: 0.5703 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005729/0.5692, allocations: 280 kB / 0.5538 GB, free: 304 kB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002333/0.5715, allocations: 1.427 MB / 0.5552 GB, free: 14.86 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004336/0.5719, allocations: 238.4 kB / 0.5554 GB, free: 14.62 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006966/0.5726, allocations: 329.9 kB / 0.5557 GB, free: 14.29 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006339/0.579, allocations: 2.505 MB / 0.5582 GB, free: 11.76 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/0.579, allocations: 8 kB / 0.5582 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.579, allocations: 7.922 kB / 0.5582 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01399/0.593, allocations: 6.856 MB / 0.5649 GB, free: 4.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.593, allocations: 4 kB / 0.5649 GB, free: 4.797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008438/0.5939, allocations: 180.2 kB / 0.5651 GB, free: 4.621 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005114/0.599, allocations: 1.43 MB / 0.5664 GB, free: 3.18 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001632/0.5991, allocations: 35.95 kB / 0.5665 GB, free: 3.145 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01122/0.6104, allocations: 7.928 MB / 0.5742 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00124/0.6116, allocations: 1.534 MB / 0.5757 GB, free: 9.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00961/0.6212, allocations: 4.866 MB / 0.5805 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007847/0.622, allocations: 303.4 kB / 0.5808 GB, free: 4.039 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002606/0.6223, allocations: 28 kB / 0.5808 GB, free: 4.012 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001148/0.6234, allocations: 119.8 kB / 0.5809 GB, free: 3.895 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002812/0.6237, allocations: 78.59 kB / 0.581 GB, free: 3.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/0.6238, allocations: 36.86 kB / 0.581 GB, free: 3.785 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.002721/0.6265, allocations: 1.681 MB / 0.5827 GB, free: 2.094 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.6265, allocations: 0 / 0.5827 GB, free: 2.094 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003966/0.6305, allocations: 0.785 MB / 0.5834 GB, free: 1.309 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004258/0.6309, allocations: 163 kB / 0.5836 GB, free: 1.141 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.008055/0.639, allocations: 4.266 MB / 0.5877 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.639, allocations: 4 kB / 0.5877 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003386/0.6424, allocations: 1.656 MB / 0.5894 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001888/0.6442, allocations: 270.2 kB / 0.5896 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01201/0.6563, allocations: 6.93 MB / 0.5964 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002386/0.6586, allocations: 2.293 MB / 0.5986 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007332/0.6594, allocations: 203.4 kB / 0.5988 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of SimCode: time 9.21e-07/0.6594, allocations: 0 / 0.5988 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of Templates: time 0.2934/0.9527, allocations: 76.3 MB / 0.6733 GB, free: 128.9 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgLoopMain.cpp:21: ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:49: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:99: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:147: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:196: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:246: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:295: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:344: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:392: error: use of undeclared identifier 'body_P_Q_start_' tmp87 = std::atan2(((_system->_body_P_Q_(2) * body_P_Q_start_(1)) + (((_system->_body_P_Q_(4) * body_P_Q_start_(3)) - (_system->_body_P_Q_(3) * body_P_Q_start_(4))) - (_system->_body_P_Q_(1) * body_P_Q_start_(2)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:49: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:99: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:147: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:196: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:246: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:295: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:344: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:392: error: use of undeclared identifier 'body_P_Q_start_' tmp88 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(2)) + (((_system->_body_P_Q_(1) * body_P_Q_start_(3)) - (_system->_body_P_Q_(2) * body_P_Q_start_(4))) - (_system->_body_P_Q_(3) * body_P_Q_start_(1)))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:49: error: use of undeclared identifier 'body_P_Q_start_' tmp89 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(2)) + (((-_system->_body_P_Q_(2)) * body_P_Q_start_(3)) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:98: error: use of undeclared identifier 'body_P_Q_start_' tmp89 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(2)) + (((-_system->_body_P_Q_(2)) * body_P_Q_start_(3)) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:150: error: use of undeclared identifier 'body_P_Q_start_' tmp89 = std::atan2(((_system->_body_P_Q_(4) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(2)) + (((-_system->_body_P_Q_(2)) * body_P_Q_start_(3)) - (_system->_body_P_Q_(1) * body_P_Q_start_(4))))), ((_system->_body_P_Q_(1) * body_P_Q_start_(1)) + ((_system->_body_P_Q_(2) * body_P_Q_start_(2)) + ((_system->_body_P_Q_(3) * body_P_Q_start_(3)) + (_system->_body_P_Q_(4) * body_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.596246199915186] Failed to read output from testmodel.py, exit status != 0: ['time', 'body.frame_a.r_0[1]', 'body.frame_a.r_0[2]', 'body.frame_a.r_0[3]', 'body.v_0[1]', 'body.v_0[2]', 'body.v_0[3]', 'body.w_a[1]', 'body.w_a[2]', 'body.w_a[3]'] 0.9612720850855112 0.96824745 0.616171013 Calling exit ...