Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001473/0.001473, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 187.3 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 225.7 MB / 253.3 MB, free: 12.79 MB / 206.1 MB " [Timeout remaining time 178] 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.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.0.0_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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 51.91 kB / 371.7 MB, free: 9.141 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2423, allocations: 52.16 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009118/0.2515, allocations: 6.619 MB / 430.4 MB, free: 7.809 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006443/0.2579, allocations: 3.059 MB / 433.5 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009437/0.2588, allocations: 39.81 kB / 433.5 MB, free: 4.703 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002275/0.2611, allocations: 1.012 MB / 434.5 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003323/0.2644, allocations: 1.409 MB / 436 MB, free: 2.273 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001127/0.2656, allocations: 471.1 kB / 436.4 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003834/0.2694, allocations: 2.625 MB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00183/0.2712, allocations: 1.323 MB / 440.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001322/0.2726, allocations: 0.8603 MB / 441.2 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001945/0.2745, allocations: 1.285 MB / 442.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004098/0.2749, allocations: 172 kB / 442.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001867/0.2768, allocations: 0.9399 MB / 443.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001201/0.278, allocations: 1.129 MB / 444.7 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001184/0.2792, allocations: 0.9549 MB / 445.7 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00527/0.2844, allocations: 4.38 MB / 450.1 MB, free: 4.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.2844, allocations: 4 kB / 450.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2844, allocations: 0 / 450.1 MB, free: 4.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.816e-05/0.2845, allocations: 0 / 450.1 MB, free: 4.078 MB / 350.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.006326/0.2909, allocations: 3.055 MB / 453.1 MB, free: 0.9805 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2909, allocations: 8.031 kB / 453.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006895/0.2978, allocations: 1.754 MB / 454.9 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003528/0.3013, allocations: 1.356 MB / 456.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.3015, allocations: 139.2 kB / 456.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000785/0.3023, allocations: 255.8 kB / 456.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.012/0.3143, allocations: 6.677 MB / 463.3 MB, free: 6.301 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.068e-05/0.3143, allocations: 39.72 kB / 463.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002728/0.3146, allocations: 91.89 kB / 463.4 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002333/0.3169, allocations: 1.363 MB / 464.8 MB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01213/0.3291, allocations: 6.009 MB / 470.8 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/0.3615, allocations: 24.06 MB / 494.9 MB, free: 5.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007134/0.3686, allocations: 2.141 MB / 497 MB, free: 3.797 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.3702, allocations: 0.9887 MB / 498 MB, free: 2.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005427/0.3756, allocations: 2.702 MB / 0.489 GB, free: 68 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.3757, allocations: 54.98 kB / 0.489 GB, free: 4 kB / 398.1 MB Notification: Performance of pre-optimization done (n=112): time 3.868e-06/0.3757, allocations: 0 / 0.489 GB, free: 4 kB / 398.1 MB Notification: Performance of matching and sorting (n=125): time 0.02855/0.4042, allocations: 10.09 MB / 0.4989 GB, free: 5.848 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001561/0.4058, allocations: 1.557 MB / 0.5004 GB, free: 4.141 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004159/0.41, allocations: 2.61 MB / 0.503 GB, free: 1.496 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.4101, allocations: 41.7 kB / 0.503 GB, free: 1.449 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001916/0.412, allocations: 2.183 MB / 0.5051 GB, free: 15.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006899/0.4127, allocations: 0.5389 MB / 0.5056 GB, free: 14.7 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/0.4142, allocations: 0.925 MB / 0.5066 GB, free: 13.76 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.4144, allocations: 357.6 kB / 0.5069 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002819/0.4172, allocations: 1.652 MB / 0.5085 GB, free: 11.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005233/0.4225, allocations: 4.456 MB / 0.5129 GB, free: 5.883 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008831/0.4313, allocations: 6.538 MB / 0.5192 GB, free: 13.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-05/0.4314, allocations: 36 kB / 0.5193 GB, free: 13.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02156/0.453, allocations: 7.965 MB / 0.5271 GB, free: 5.938 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.4531, allocations: 48 kB / 0.5271 GB, free: 5.891 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01258/0.4657, allocations: 3.476 MB / 0.5305 GB, free: 2.402 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01305/0.4787, allocations: 2.584 MB / 0.533 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003472/0.4822, allocations: 1.006 MB / 0.534 GB, free: 14.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01655/0.4987, allocations: 9.343 MB / 0.5431 GB, free: 5.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003603/0.5023, allocations: 327.8 kB / 0.5434 GB, free: 4.93 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008432/0.5032, allocations: 288 kB / 0.5437 GB, free: 4.648 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.002986/0.5062, allocations: 1.423 MB / 0.5451 GB, free: 3.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005982/0.5068, allocations: 223 kB / 0.5453 GB, free: 2.996 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007381/0.5142, allocations: 2.806 MB / 0.5481 GB, free: 168 kB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.2429/0.757, allocations: 2.494 MB / 0.5505 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.757, allocations: 8.766 kB / 0.5505 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.678e-05/0.7571, allocations: 5.922 kB / 0.5505 GB, free: 120.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.7682, allocations: 6.182 MB / 0.5565 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.204e-06/0.7682, allocations: 3.812 kB / 0.5565 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.769, allocations: 177.6 kB / 0.5567 GB, free: 118.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004432/0.7734, allocations: 1.435 MB / 0.5581 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.023e-05/0.7735, allocations: 27.59 kB / 0.5581 GB, free: 118.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008267/0.7818, allocations: 7.616 MB / 0.5656 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006813/0.7824, allocations: 1.407 MB / 0.567 GB, free: 113 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007451/0.7899, allocations: 4.835 MB / 0.5717 GB, free: 108.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004802/0.7904, allocations: 201.6 kB / 0.5719 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002396/0.7906, allocations: 32.11 kB / 0.5719 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/0.7917, allocations: 107.8 kB / 0.572 GB, free: 108.4 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002152/0.7919, allocations: 88.17 kB / 0.5721 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.511e-05/0.792, allocations: 43.02 kB / 0.5721 GB, free: 108.2 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001653/0.7936, allocations: 1.491 MB / 0.5736 GB, free: 106.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.7936, allocations: 0 / 0.5736 GB, free: 106.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00301/0.7966, allocations: 0.7856 MB / 0.5744 GB, free: 106 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.0003092/0.797, allocations: 155 kB / 0.5745 GB, free: 105.8 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00587/0.8028, allocations: 4.196 MB / 0.5786 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.8028, allocations: 7.938 kB / 0.5786 GB, free: 101.6 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002633/0.8055, allocations: 1.582 MB / 0.5801 GB, free: 100 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001355/0.8068, allocations: 228.4 kB / 0.5804 GB, free: 99.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00782/0.8146, allocations: 6.944 MB / 0.5871 GB, free: 92.89 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001559/0.8162, allocations: 1.724 MB / 0.5888 GB, free: 91.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004852/0.8167, allocations: 195.4 kB / 0.589 GB, free: 90.94 MB / 462.1 MB Notification: Performance of SimCode: time 7.91e-07/0.8167, allocations: 0 / 0.589 GB, free: 90.94 MB / 462.1 MB Notification: Performance of Templates: time 0.06441/0.8811, allocations: 76.41 MB / 0.6636 GB, free: 14.54 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgLoopMain.cpp:21: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:51: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:99: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:148: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:197: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:248: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:296: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:345: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:394: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = std::atan2(((((_system->_body_P_Q_(2) * body_P_Q_start_(1)) - (_system->_body_P_Q_(1) * body_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:51: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:99: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:148: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:197: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:248: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:296: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:345: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:394: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = std::atan2(((((_system->_body_P_Q_(4) * body_P_Q_start_(2)) - (_system->_body_P_Q_(3) * body_P_Q_start_(1))) + (_system->_body_P_Q_(1) * body_P_Q_start_(3))) - (_system->_body_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:51: error: use of undeclared identifier 'body_P_Q_start_' tmp79 = 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:99: error: use of undeclared identifier 'body_P_Q_start_' tmp79 = 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:148: error: use of undeclared identifier 'body_P_Q_start_' tmp79 = 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.6741691045463085] 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.8896432090550661 0.898772233 0.6119066510000001 Calling exit ...