Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 113.6 kB / 21.94 MB, free: 5.219 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 213.5 kB / 25.22 MB, free: 3.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 207.7 MB / 236.1 MB, free: 9.816 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001877/0.001877, allocations: 58.58 kB / 348.5 MB, free: 9.391 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3302, allocations: 49.15 MB / 397.6 MB, free: 9.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01019/0.3404, allocations: 9.407 MB / 407 MB, free: 3.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.008787/0.3491, allocations: 3.746 MB / 410.8 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.3518, allocations: 73.81 kB / 410.8 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005655/0.3574, allocations: 2.523 MB / 413.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005862/0.3633, allocations: 1.802 MB / 415.2 MB, free: 14.3 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002201/0.3655, allocations: 0.6978 MB / 415.9 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.006402/0.3719, allocations: 3.698 MB / 419.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005309/0.3772, allocations: 2.726 MB / 422.3 MB, free: 9.918 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003839/0.3811, allocations: 1.515 MB / 423.8 MB, free: 8.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004291/0.3853, allocations: 1.989 MB / 425.8 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.3866, allocations: 312 kB / 426.1 MB, free: 6.629 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003186/0.3898, allocations: 1.057 MB / 427.1 MB, free: 5.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003054/0.3928, allocations: 1.881 MB / 429 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003892/0.3967, allocations: 1.592 MB / 430.6 MB, free: 2.082 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.4069, allocations: 6.753 MB / 437.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.932e-06/0.4069, allocations: 0 / 437.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4069, allocations: 0 / 437.4 MB, free: 11.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001833/0.407, allocations: 4 kB / 437.4 MB, free: 11.3 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01023/0.4173, allocations: 4.611 MB / 442 MB, free: 6.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.4173, allocations: 11.98 kB / 442 MB, free: 6.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007304/0.4246, allocations: 1.909 MB / 443.9 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00538/0.43, allocations: 2.027 MB / 445.9 MB, free: 2.652 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002563/0.4303, allocations: 250.2 kB / 446.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001282/0.4315, allocations: 395.7 kB / 446.6 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02019/0.4517, allocations: 10.14 MB / 456.7 MB, free: 7.145 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001103/0.4518, allocations: 43.61 kB / 456.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004426/0.4523, allocations: 151.9 kB / 456.9 MB, free: 6.953 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002965/0.4553, allocations: 1.861 MB / 458.8 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01769/0.4729, allocations: 8.316 MB / 467.1 MB, free: 12.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05223/0.5252, allocations: 36.9 MB / 0.4922 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01108/0.5362, allocations: 3.405 MB / 0.4955 GB, free: 3.297 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/0.5386, allocations: 1.338 MB / 0.4968 GB, free: 1.949 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0122/0.5508, allocations: 5.515 MB / 0.5022 GB, free: 12.4 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.39e-05/0.5509, allocations: 51.5 kB / 0.5022 GB, free: 12.34 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 5.31e-06/0.5509, allocations: 0 / 0.5022 GB, free: 12.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03749/0.5884, allocations: 12.2 MB / 0.5141 GB, free: 44 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001699/0.5901, allocations: 1.557 MB / 0.5157 GB, free: 14.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007277/0.5974, allocations: 3.679 MB / 0.5193 GB, free: 10.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003691/0.5977, allocations: 45.7 kB / 0.5193 GB, free: 10.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003021/0.6008, allocations: 3.264 MB / 0.5225 GB, free: 7.309 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001227/0.602, allocations: 0.6747 MB / 0.5231 GB, free: 6.629 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003012/0.605, allocations: 1.266 MB / 0.5244 GB, free: 5.352 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.6051, allocations: 305.4 kB / 0.5247 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005021/0.6102, allocations: 2.03 MB / 0.5267 GB, free: 3.016 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008962/0.6191, allocations: 5.981 MB / 0.5325 GB, free: 11.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01244/0.6316, allocations: 8.627 MB / 0.5409 GB, free: 492 kB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002319/0.6318, allocations: 40 kB / 0.541 GB, free: 452 kB / 462.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02706/0.6589, allocations: 9.691 MB / 0.5504 GB, free: 6.723 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.6591, allocations: 67.94 kB / 0.5505 GB, free: 6.656 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01316/0.6722, allocations: 3.722 MB / 0.5541 GB, free: 2.918 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01283/0.6851, allocations: 2.602 MB / 0.5567 GB, free: 304 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.247/0.932, allocations: 1.369 MB / 0.558 GB, free: 139.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/0.9426, allocations: 7.389 MB / 0.5652 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/0.9475, allocations: 399.2 kB / 0.5656 GB, free: 136 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009275/0.9484, allocations: 393 kB / 0.566 GB, free: 135.9 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.003385/0.9518, allocations: 2.016 MB / 0.5679 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006244/0.9524, allocations: 313.8 kB / 0.5682 GB, free: 135.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006494/0.9589, allocations: 3.074 MB / 0.5712 GB, free: 134.1 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005502/0.9644, allocations: 2.661 MB / 0.5738 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/0.9645, allocations: 3.281 kB / 0.5738 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.119e-05/0.9645, allocations: 8.531 kB / 0.5738 GB, free: 133.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01476/0.9792, allocations: 7.434 MB / 0.5811 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-05/0.9792, allocations: 0 / 0.5811 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008953/0.9801, allocations: 192.4 kB / 0.5813 GB, free: 130.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004265/0.9844, allocations: 1.438 MB / 0.5827 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001775/0.9846, allocations: 37.75 kB / 0.5827 GB, free: 130.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005236/0.9898, allocations: 5.738 MB / 0.5883 GB, free: 126.7 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007035/0.9905, allocations: 1.413 MB / 0.5897 GB, free: 125.4 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007693/0.9982, allocations: 5.264 MB / 0.5949 GB, free: 122.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009028/0.9991, allocations: 280.2 kB / 0.5951 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003562/0.9995, allocations: 31.61 kB / 0.5952 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.001, allocations: 121.5 kB / 0.5953 GB, free: 122.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000221/1.001, allocations: 99.41 kB / 0.5954 GB, free: 122.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/1.001, allocations: 50.8 kB / 0.5954 GB, free: 122.6 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002662/1.004, allocations: 2.075 MB / 0.5974 GB, free: 120.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/1.004, allocations: 0 / 0.5974 GB, free: 120.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005069/1.009, allocations: 1.019 MB / 0.5984 GB, free: 119.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000429/1.009, allocations: 170.1 kB / 0.5986 GB, free: 119.6 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.01082/1.02, allocations: 5.137 MB / 0.6036 GB, free: 114.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.02, allocations: 0 / 0.6036 GB, free: 114.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004627/1.025, allocations: 1.801 MB / 0.6054 GB, free: 112.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0036/1.028, allocations: 334.2 kB / 0.6057 GB, free: 112.3 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/1.047, allocations: 9.591 MB / 0.6151 GB, free: 102.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003742/1.05, allocations: 2.571 MB / 0.6176 GB, free: 100.1 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/1.051, allocations: 247.4 kB / 0.6178 GB, free: 99.85 MB / 478.1 MB Notification: Performance of SimCode: time 1.493e-06/1.051, allocations: 3.938 kB / 0.6178 GB, free: 99.84 MB / 478.1 MB Notification: Performance of Templates: time 0.4552/1.506, allocations: 144.5 MB / 0.7589 GB, free: 165.3 MB / 0.4981 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp:25: In file included from ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgLoopMain.cpp:30: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp108 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp108 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp108 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp108 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp108 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp108 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp108 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp108 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp109 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp109 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp109 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp109 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp109 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp109 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp109 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp109 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:78:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp110 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:78:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp110 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:78:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp110 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(2))) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))), ((((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + (_system->_body1_P_Q_(2) * body1_P_Q_start_(2))) + (_system->_body1_P_Q_(3) * body1_P_Q_start_(3))) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.515005531255156] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]'] 1.516860457137227 1.526893831 1.117447692 Calling exit ...