Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001423/0.001423, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001565/0.001565, allocations: 211.4 kB / 24.48 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.457/1.457, allocations: 230.5 MB / 258.1 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 67.89 kB / 379 MB, free: 2.402 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2345, allocations: 53.4 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009439/0.2439, allocations: 6.586 MB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006612/0.2505, allocations: 3.066 MB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001045/0.2516, allocations: 43.81 kB / 442.1 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002337/0.2539, allocations: 1.008 MB / 443.1 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003781/0.2577, allocations: 1.378 MB / 444.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.2589, allocations: 463.1 kB / 444.9 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.2631, allocations: 2.656 MB / 447.6 MB, free: 7.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.2651, allocations: 1.326 MB / 448.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.2666, allocations: 0.8524 MB / 449.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002282/0.2689, allocations: 1.281 MB / 451 MB, free: 3.793 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005254/0.2694, allocations: 172 kB / 451.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.2714, allocations: 0.9243 MB / 452.1 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001215/0.2726, allocations: 1.11 MB / 453.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.2738, allocations: 0.9392 MB / 454.2 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00602/0.2798, allocations: 4.345 MB / 458.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2798, allocations: 0 / 458.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2798, allocations: 0 / 458.5 MB, free: 12.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.096e-05/0.2799, allocations: 4 kB / 458.5 MB, free: 12.28 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.006528/0.2865, allocations: 3.029 MB / 461.6 MB, free: 9.203 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.2865, allocations: 11.98 kB / 461.6 MB, free: 9.191 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007087/0.2936, allocations: 1.805 MB / 463.4 MB, free: 7.383 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/0.2972, allocations: 1.325 MB / 464.7 MB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.2973, allocations: 135.3 kB / 464.8 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007774/0.2981, allocations: 259.7 kB / 465.1 MB, free: 5.645 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01263/0.3107, allocations: 6.701 MB / 471.8 MB, free: 14.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-05/0.3108, allocations: 31.7 kB / 471.8 MB, free: 14.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003127/0.3111, allocations: 91.89 kB / 471.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002373/0.3135, allocations: 1.37 MB / 473.3 MB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01247/0.326, allocations: 6.025 MB / 479.3 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03234/0.3583, allocations: 24.03 MB / 0.4915 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007154/0.3655, allocations: 2.152 MB / 0.4936 GB, free: 11.98 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.367, allocations: 0.9968 MB / 0.4946 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005395/0.3723, allocations: 2.737 MB / 0.4973 GB, free: 8.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.3724, allocations: 47.06 kB / 0.4973 GB, free: 8.148 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.456e-06/0.3724, allocations: 0 / 0.4973 GB, free: 8.148 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02765/0.4001, allocations: 10.13 MB / 0.5072 GB, free: 13.94 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001494/0.4015, allocations: 1.541 MB / 0.5087 GB, free: 12.25 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003748/0.4053, allocations: 2.609 MB / 0.5113 GB, free: 9.605 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002053/0.4055, allocations: 41.7 kB / 0.5113 GB, free: 9.559 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001711/0.4072, allocations: 2.182 MB / 0.5135 GB, free: 7.352 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006308/0.4078, allocations: 0.5352 MB / 0.514 GB, free: 6.812 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001359/0.4092, allocations: 0.9173 MB / 0.5149 GB, free: 5.883 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4094, allocations: 353.9 kB / 0.5152 GB, free: 5.531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002602/0.412, allocations: 1.66 MB / 0.5168 GB, free: 3.863 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004949/0.4169, allocations: 4.456 MB / 0.5212 GB, free: 14 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008182/0.4251, allocations: 6.557 MB / 0.5276 GB, free: 6.055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-05/0.4252, allocations: 31.94 kB / 0.5276 GB, free: 6.023 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02041/0.4456, allocations: 8.054 MB / 0.5355 GB, free: 13.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.624e-05/0.4457, allocations: 52.03 kB / 0.5355 GB, free: 13.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01235/0.458, allocations: 3.546 MB / 0.539 GB, free: 10.34 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01277/0.4708, allocations: 2.686 MB / 0.5416 GB, free: 7.641 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003396/0.4742, allocations: 1.01 MB / 0.5426 GB, free: 6.629 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2233/0.6975, allocations: 9.352 MB / 0.5517 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/0.7009, allocations: 328.5 kB / 0.5521 GB, free: 108.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006034/0.7015, allocations: 285.8 kB / 0.5523 GB, free: 108.8 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.0021/0.7036, allocations: 1.422 MB / 0.5537 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003922/0.704, allocations: 220.8 kB / 0.5539 GB, free: 108.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005284/0.7045, allocations: 305.7 kB / 0.5542 GB, free: 108.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005664/0.7102, allocations: 2.517 MB / 0.5567 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-05/0.7102, allocations: 6.812 kB / 0.5567 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.7102, allocations: 14.61 kB / 0.5567 GB, free: 107.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/0.722, allocations: 6.177 MB / 0.5627 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.722, allocations: 1.25 kB / 0.5627 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008154/0.7228, allocations: 180 kB / 0.5629 GB, free: 105.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004456/0.7273, allocations: 1.435 MB / 0.5643 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001746/0.7274, allocations: 33.75 kB / 0.5643 GB, free: 105.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008296/0.7357, allocations: 7.604 MB / 0.5718 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006944/0.7364, allocations: 1.419 MB / 0.5731 GB, free: 99.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00753/0.744, allocations: 4.847 MB / 0.5779 GB, free: 95.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005408/0.7445, allocations: 207.3 kB / 0.5781 GB, free: 95.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.7448, allocations: 24 kB / 0.5781 GB, free: 95.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/0.7459, allocations: 115.8 kB / 0.5782 GB, free: 95.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002275/0.7461, allocations: 84.27 kB / 0.5783 GB, free: 95.15 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-05/0.7462, allocations: 31.98 kB / 0.5783 GB, free: 95.12 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001765/0.748, allocations: 1.483 MB / 0.5798 GB, free: 93.62 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.748, allocations: 4 kB / 0.5798 GB, free: 93.61 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003741/0.7517, allocations: 0.7741 MB / 0.5805 GB, free: 92.85 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.0003434/0.752, allocations: 155.8 kB / 0.5807 GB, free: 92.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006068/0.7581, allocations: 4.214 MB / 0.5848 GB, free: 88.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.7581, allocations: 0 / 0.5848 GB, free: 88.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00268/0.7608, allocations: 1.579 MB / 0.5863 GB, free: 86.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.7623, allocations: 236.6 kB / 0.5866 GB, free: 86.73 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008403/0.7707, allocations: 6.927 MB / 0.5933 GB, free: 79.79 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001628/0.7723, allocations: 1.726 MB / 0.595 GB, free: 78.03 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005538/0.7729, allocations: 195.4 kB / 0.5952 GB, free: 77.84 MB / 462.1 MB Notification: Performance of SimCode: time 9.51e-07/0.7729, allocations: 4 kB / 0.5952 GB, free: 77.83 MB / 462.1 MB Notification: Performance of Templates: time 0.09287/0.8658, allocations: 76.14 MB / 0.6696 GB, free: 1.695 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.makefile [Timeout 660] make -j1 -f Modelica_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.cpp:25: In file included from ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgLoopMain.cpp:21: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:49: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:99: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:147: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:196: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:246: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:295: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:344: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:74:392: error: use of undeclared identifier 'body_P_Q_start_' tmp76 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:49: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:99: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:147: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:196: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:246: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:295: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:344: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:76:392: error: use of undeclared identifier 'body_P_Q_start_' tmp77 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:49: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:98: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassAlgloop521.cpp:78:150: error: use of undeclared identifier 'body_P_Q_start_' tmp78 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.5737356576137245] 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.8746475693769753 0.8908430740000001 0.60745868 Calling exit ...