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.001792/0.001792, allocations: 105.1 kB / 21.18 MB, free: 0.7656 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.002326/0.002326, allocations: 213.7 kB / 24.49 MB, free: 4.152 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.529/1.529, allocations: 230.5 MB / 258.1 MB, free: 7.977 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.002013/0.002013, allocations: 59.89 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3062/0.3082, allocations: 53.41 MB / 432.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009992/0.3182, allocations: 7.472 MB / 439.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006942/0.3252, allocations: 3.3 MB / 443.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.3263, allocations: 35.88 kB / 443.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002423/0.3288, allocations: 1.047 MB / 444.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.3324, allocations: 1.378 MB / 445.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.3337, allocations: 463.1 kB / 446.1 MB, free: 8.992 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004424/0.3381, allocations: 2.668 MB / 448.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002381/0.3405, allocations: 1.32 MB / 450.1 MB, free: 4.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001936/0.3424, allocations: 0.8564 MB / 451 MB, free: 4.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002364/0.3448, allocations: 1.324 MB / 452.3 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006162/0.3454, allocations: 172 kB / 452.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002443/0.3478, allocations: 1.049 MB / 453.5 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.3494, allocations: 1.126 MB / 454.6 MB, free: 444 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.3516, allocations: 1.289 MB / 455.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00678/0.3584, allocations: 4.335 MB / 460.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3584, allocations: 0 / 460.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3584, allocations: 4 kB / 460.3 MB, free: 10.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001602/0.3586, allocations: 0 / 460.3 MB, free: 10.79 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.007511/0.3661, allocations: 3.033 MB / 463.3 MB, free: 7.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3661, allocations: 8.031 kB / 463.3 MB, free: 7.699 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006857/0.373, allocations: 1.797 MB / 465.1 MB, free: 5.898 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003556/0.3765, allocations: 1.325 MB / 466.4 MB, free: 4.547 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/0.3767, allocations: 135.3 kB / 466.6 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009542/0.3776, allocations: 263.7 kB / 466.8 MB, free: 4.156 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/0.3909, allocations: 6.668 MB / 473.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.391, allocations: 31.7 kB / 473.5 MB, free: 13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004394/0.3914, allocations: 91.88 kB / 473.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002342/0.3937, allocations: 1.363 MB / 475 MB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01274/0.4065, allocations: 6.052 MB / 481 MB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03654/0.443, allocations: 25.47 MB / 0.4946 GB, free: 11.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00698/0.45, allocations: 2.167 MB / 0.4967 GB, free: 9.035 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001567/0.4516, allocations: 1.005 MB / 0.4977 GB, free: 8.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006362/0.4579, allocations: 2.98 MB / 0.5006 GB, free: 5.012 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/0.458, allocations: 51.05 kB / 0.5007 GB, free: 4.953 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 3.427e-06/0.458, allocations: 0 / 0.5007 GB, free: 4.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02802/0.486, allocations: 10.13 MB / 0.5106 GB, free: 10.74 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001527/0.4875, allocations: 1.56 MB / 0.5121 GB, free: 9.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004551/0.4921, allocations: 2.726 MB / 0.5148 GB, free: 6.273 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001982/0.4923, allocations: 45.73 kB / 0.5148 GB, free: 6.223 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001923/0.4942, allocations: 2.167 MB / 0.5169 GB, free: 4.031 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006954/0.4949, allocations: 0.5273 MB / 0.5174 GB, free: 3.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001514/0.4964, allocations: 0.925 MB / 0.5183 GB, free: 2.562 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.4966, allocations: 305.1 kB / 0.5186 GB, free: 2.262 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002921/0.4995, allocations: 1.66 MB / 0.5203 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005633/0.5051, allocations: 4.46 MB / 0.5246 GB, free: 10.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00869/0.5138, allocations: 6.558 MB / 0.531 GB, free: 2.781 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.079e-05/0.5139, allocations: 28 kB / 0.531 GB, free: 2.754 MB / 446.1 MB Notification: Performance of matching and sorting (n=595) (initialization): time 0.02081/0.5347, allocations: 8.073 MB / 0.5389 GB, free: 10.66 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.465e-05/0.5348, allocations: 48.19 kB / 0.539 GB, free: 10.61 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0123/0.5471, allocations: 3.562 MB / 0.5424 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01251/0.5596, allocations: 2.681 MB / 0.5451 GB, free: 4.348 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/0.5632, allocations: 1.006 MB / 0.546 GB, free: 3.34 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2535/0.8167, allocations: 9.511 MB / 0.5553 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003713/0.8204, allocations: 332.4 kB / 0.5557 GB, free: 107.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005332/0.8209, allocations: 283.4 kB / 0.5559 GB, free: 107.1 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.001902/0.8228, allocations: 1.42 MB / 0.5573 GB, free: 106.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003545/0.8232, allocations: 244.8 kB / 0.5575 GB, free: 106.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005418/0.8237, allocations: 331 kB / 0.5579 GB, free: 106.4 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005206/0.8289, allocations: 2.507 MB / 0.5603 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.829, allocations: 3.75 kB / 0.5603 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.829, allocations: 8.391 kB / 0.5603 GB, free: 105.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.84, allocations: 6.777 MB / 0.5669 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.84, allocations: 2.656 kB / 0.5669 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008085/0.8408, allocations: 179.7 kB / 0.5671 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004217/0.845, allocations: 1.44 MB / 0.5685 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001664/0.8452, allocations: 30.11 kB / 0.5685 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008095/0.8533, allocations: 7.716 MB / 0.5761 GB, free: 97.76 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007108/0.854, allocations: 1.451 MB / 0.5775 GB, free: 96.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006988/0.861, allocations: 4.851 MB / 0.5822 GB, free: 91.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006205/0.8616, allocations: 223.2 kB / 0.5824 GB, free: 91.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002544/0.8619, allocations: 31.92 kB / 0.5825 GB, free: 91.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.8629, allocations: 115.3 kB / 0.5826 GB, free: 91.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00023/0.8631, allocations: 79.39 kB / 0.5827 GB, free: 91.11 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/0.8632, allocations: 40.23 kB / 0.5827 GB, free: 91.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001892/0.8651, allocations: 1.689 MB / 0.5844 GB, free: 89.37 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8651, allocations: 0 / 0.5844 GB, free: 89.37 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003074/0.8682, allocations: 0.7771 MB / 0.5851 GB, free: 88.6 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.0003301/0.8685, allocations: 161.2 kB / 0.5853 GB, free: 88.46 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00596/0.8745, allocations: 4.208 MB / 0.5894 GB, free: 84.29 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.199e-06/0.8745, allocations: 0 / 0.5894 GB, free: 84.29 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002594/0.8771, allocations: 1.589 MB / 0.5909 GB, free: 82.68 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001664/0.8787, allocations: 260.8 kB / 0.5912 GB, free: 82.43 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009043/0.8878, allocations: 6.968 MB / 0.598 GB, free: 75.43 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001671/0.8894, allocations: 2.289 MB / 0.6002 GB, free: 73.11 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006237/0.8901, allocations: 203.4 kB / 0.6004 GB, free: 72.91 MB / 462.1 MB Notification: Performance of SimCode: time 1.373e-06/0.8901, allocations: 0 / 0.6004 GB, free: 72.91 MB / 462.1 MB Notification: Performance of Templates: time 0.0709/0.961, allocations: 76.3 MB / 0.6749 GB, free: 12.62 MB / 478.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 -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_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_' 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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.95107438089326] 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.9706183120142668 0.99015082 0.6271993720000001 Calling exit ...