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.008456/0.008456, allocations: 106.3 kB / 21.98 MB, free: 5.223 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.002279/0.002279, allocations: 211.9 kB / 25.29 MB, free: 3.203 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.47/1.47, allocations: 230.5 MB / 259 MB, free: 8.293 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.002008/0.002008, allocations: 68.75 kB / 379.8 MB, free: 2.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2802, allocations: 53.36 MB / 433.2 MB, free: 6.996 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009898/0.2901, allocations: 7.484 MB / 440.7 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007314/0.2974, allocations: 3.292 MB / 443.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001111/0.2985, allocations: 39.81 kB / 444 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002399/0.3009, allocations: 1.047 MB / 445 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003684/0.3046, allocations: 1.378 MB / 446.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.3057, allocations: 455.2 kB / 446.9 MB, free: 9.262 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003966/0.3097, allocations: 2.672 MB / 449.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.3114, allocations: 1.328 MB / 450.9 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.3126, allocations: 0.8524 MB / 451.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002022/0.3146, allocations: 1.328 MB / 453 MB, free: 3.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000436/0.3151, allocations: 168 kB / 453.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002249/0.3173, allocations: 1.049 MB / 454.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.3186, allocations: 1.129 MB / 455.4 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001511/0.3201, allocations: 1.285 MB / 456.7 MB, free: 15.4 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005648/0.3257, allocations: 4.343 MB / 461 MB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3258, allocations: 0 / 461 MB, free: 11.05 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3258, allocations: 0 / 461 MB, free: 11.05 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.977e-05/0.3258, allocations: 0 / 461 MB, free: 11.05 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.006146/0.332, allocations: 3.033 MB / 464 MB, free: 7.969 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.332, allocations: 8.031 kB / 464 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007104/0.3391, allocations: 1.801 MB / 465.8 MB, free: 6.156 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.3421, allocations: 1.321 MB / 467.2 MB, free: 4.805 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001483/0.3422, allocations: 135.3 kB / 467.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006953/0.3429, allocations: 263.7 kB / 467.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01183/0.3548, allocations: 6.672 MB / 474.2 MB, free: 13.28 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.944e-05/0.3548, allocations: 31.75 kB / 474.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/0.3551, allocations: 83.89 kB / 474.3 MB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002247/0.3573, allocations: 1.363 MB / 475.7 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01249/0.3698, allocations: 6.052 MB / 481.8 MB, free: 5.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03409/0.4039, allocations: 25.48 MB / 0.4953 GB, free: 11.49 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006929/0.4108, allocations: 2.153 MB / 0.4974 GB, free: 9.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001628/0.4125, allocations: 1.005 MB / 0.4984 GB, free: 8.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005951/0.4184, allocations: 2.991 MB / 0.5014 GB, free: 5.27 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/0.4185, allocations: 47.05 kB / 0.5014 GB, free: 5.215 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.427e-06/0.4185, allocations: 0 / 0.5014 GB, free: 5.215 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.0275/0.446, allocations: 10.14 MB / 0.5113 GB, free: 11 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001516/0.4475, allocations: 1.564 MB / 0.5128 GB, free: 9.273 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004294/0.4518, allocations: 2.73 MB / 0.5155 GB, free: 6.523 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002123/0.452, allocations: 41.73 kB / 0.5155 GB, free: 6.477 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001822/0.4538, allocations: 2.167 MB / 0.5176 GB, free: 4.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006719/0.4545, allocations: 0.5234 MB / 0.5182 GB, free: 3.758 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001339/0.4558, allocations: 0.925 MB / 0.5191 GB, free: 2.82 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.456, allocations: 309.1 kB / 0.5194 GB, free: 2.516 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002792/0.4588, allocations: 1.656 MB / 0.521 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005609/0.4644, allocations: 4.464 MB / 0.5253 GB, free: 10.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00901/0.4734, allocations: 6.559 MB / 0.5317 GB, free: 3.035 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001987/0.4736, allocations: 28 kB / 0.5318 GB, free: 3.008 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02219/0.4958, allocations: 8.065 MB / 0.5396 GB, free: 10.92 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.226e-05/0.4958, allocations: 48.22 kB / 0.5397 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01205/0.5079, allocations: 3.565 MB / 0.5432 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01222/0.5201, allocations: 2.67 MB / 0.5458 GB, free: 4.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0037/0.5238, allocations: 1.014 MB / 0.5468 GB, free: 3.602 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2626/0.7865, allocations: 9.511 MB / 0.5561 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003878/0.7903, allocations: 338.5 kB / 0.5564 GB, free: 107.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006459/0.791, allocations: 283.6 kB / 0.5566 GB, free: 107.5 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (547): * Single equations (assignments): 539 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002164/0.7932, allocations: 1.419 MB / 0.558 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004072/0.7936, allocations: 245.4 kB / 0.5583 GB, free: 107 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005143/0.7941, allocations: 324.8 kB / 0.5586 GB, free: 106.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005286/0.7994, allocations: 2.506 MB / 0.561 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-05/0.7994, allocations: 5.438 kB / 0.561 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.7994, allocations: 7.781 kB / 0.561 GB, free: 106.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01116/0.8106, allocations: 6.78 MB / 0.5677 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.8106, allocations: 3 kB / 0.5677 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007946/0.8114, allocations: 180.2 kB / 0.5678 GB, free: 103.9 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004226/0.8156, allocations: 1.438 MB / 0.5692 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001482/0.8157, allocations: 32.08 kB / 0.5693 GB, free: 103.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008294/0.824, allocations: 7.706 MB / 0.5768 GB, free: 98.27 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007043/0.8247, allocations: 1.451 MB / 0.5782 GB, free: 96.73 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007293/0.832, allocations: 4.86 MB / 0.583 GB, free: 92.01 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/0.8326, allocations: 235.4 kB / 0.5832 GB, free: 91.84 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002531/0.8329, allocations: 27.61 kB / 0.5832 GB, free: 91.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.8339, allocations: 115.8 kB / 0.5833 GB, free: 91.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.8341, allocations: 79.92 kB / 0.5834 GB, free: 91.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.791e-05/0.8342, allocations: 35.98 kB / 0.5834 GB, free: 91.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001969/0.8362, allocations: 1.689 MB / 0.5851 GB, free: 89.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8362, allocations: 3.656 kB / 0.5851 GB, free: 89.89 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003155/0.8393, allocations: 0.7739 MB / 0.5858 GB, free: 89.12 MB / 462.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.0003414/0.8397, allocations: 160.1 kB / 0.586 GB, free: 88.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005982/0.8457, allocations: 4.207 MB / 0.5901 GB, free: 84.79 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.8457, allocations: 0 / 0.5901 GB, free: 84.79 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002503/0.8482, allocations: 1.568 MB / 0.5916 GB, free: 83.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.8497, allocations: 275.6 kB / 0.5919 GB, free: 82.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009175/0.8589, allocations: 6.976 MB / 0.5987 GB, free: 75.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001637/0.8605, allocations: 2.293 MB / 0.6009 GB, free: 73.61 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006146/0.8611, allocations: 203.4 kB / 0.6011 GB, free: 73.41 MB / 462.1 MB Notification: Performance of SimCode: time 1.904e-06/0.8611, allocations: 0 / 0.6011 GB, free: 73.41 MB / 462.1 MB Notification: Performance of Templates: time 0.06977/0.9309, allocations: 76.31 MB / 0.6757 GB, free: 13.13 MB / 478.1 MB " [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/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.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.77767648617737] 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.9407115369103849 0.963998999 0.633460139 Calling exit ...