Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001415/0.001415, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|p2.s|p2.v",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001657/0.001657, allocations: 43.94 kB / 371.7 MB, free: 9.164 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3096, allocations: 52.18 MB / 423.8 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01446/0.324, allocations: 10.5 MB / 434.3 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0101/0.3341, allocations: 4.009 MB / 438.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00201/0.3361, allocations: 83.56 kB / 438.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005705/0.3418, allocations: 2.694 MB / 441.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005765/0.3476, allocations: 2.023 MB / 443.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001973/0.3496, allocations: 0.8267 MB / 444 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007097/0.3567, allocations: 4.595 MB / 448.6 MB, free: 5.629 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004401/0.3611, allocations: 2.922 MB / 451.5 MB, free: 2.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003145/0.3642, allocations: 1.717 MB / 453.2 MB, free: 0.9297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003991/0.3682, allocations: 2.394 MB / 455.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001059/0.3693, allocations: 352 kB / 455.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002699/0.372, allocations: 1.178 MB / 457.1 MB, free: 13 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002462/0.3744, allocations: 2.166 MB / 459.3 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002638/0.3771, allocations: 1.821 MB / 461.1 MB, free: 9 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01122/0.3883, allocations: 7.589 MB / 468.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.78e-06/0.3883, allocations: 0 / 468.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.405e-06/0.3883, allocations: 0 / 468.7 MB, free: 1.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002217/0.3885, allocations: 0 / 468.7 MB, free: 1.383 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01171/0.4002, allocations: 5.342 MB / 474 MB, free: 11.98 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.4003, allocations: 8.031 kB / 474 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008416/0.4087, allocations: 2.147 MB / 476.2 MB, free: 9.816 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006531/0.4152, allocations: 2.484 MB / 478.7 MB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002793/0.4155, allocations: 266.9 kB / 478.9 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/0.4172, allocations: 443.6 kB / 479.4 MB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02636/0.4435, allocations: 12.29 MB / 491.7 MB, free: 9.473 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/0.4436, allocations: 47.61 kB / 491.7 MB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004635/0.4441, allocations: 175.8 kB / 491.9 MB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003589/0.4477, allocations: 2.158 MB / 494 MB, free: 7.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02353/0.4712, allocations: 10.19 MB / 0.4924 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06266/0.5339, allocations: 41.42 MB / 0.5329 GB, free: 2.227 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2541/0.788, allocations: 3.784 MB / 0.5365 GB, free: 107.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002212/0.7902, allocations: 1.625 MB / 0.5381 GB, free: 106.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009496/0.7997, allocations: 6.481 MB / 0.5445 GB, free: 104.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.7997, allocations: 55.47 kB / 0.5445 GB, free: 104.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.428e-06/0.7997, allocations: 0 / 0.5445 GB, free: 104.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.04269/0.8424, allocations: 15.86 MB / 0.56 GB, free: 94.04 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001157/0.8436, allocations: 1.57 MB / 0.5615 GB, free: 92.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004472/0.848, allocations: 3.99 MB / 0.5654 GB, free: 88.53 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004265/0.8485, allocations: 57.7 kB / 0.5655 GB, free: 88.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001504/0.85, allocations: 3.567 MB / 0.569 GB, free: 85.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007229/0.8507, allocations: 0.8445 MB / 0.5698 GB, free: 84.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001328/0.852, allocations: 1.369 MB / 0.5711 GB, free: 82.81 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.553e-05/0.8521, allocations: 309 kB / 0.5714 GB, free: 82.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002634/0.8547, allocations: 2.262 MB / 0.5736 GB, free: 80.24 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004032/0.8587, allocations: 6.39 MB / 0.5799 GB, free: 71.81 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007558/0.8663, allocations: 9.328 MB / 0.589 GB, free: 60.45 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001101/0.8664, allocations: 43.94 kB / 0.589 GB, free: 60.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01998/0.8864, allocations: 10.03 MB / 0.5988 GB, free: 50.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.231e-05/0.8865, allocations: 68 kB / 0.5989 GB, free: 50.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009975/0.8964, allocations: 3.788 MB / 0.6026 GB, free: 46.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009588/0.906, allocations: 2.168 MB / 0.6047 GB, free: 44.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004469/0.9105, allocations: 1.583 MB / 0.6063 GB, free: 42.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007195/0.9177, allocations: 6.286 MB / 0.6124 GB, free: 36.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004897/0.9226, allocations: 423.5 kB / 0.6128 GB, free: 35.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006628/0.9232, allocations: 419.9 kB / 0.6132 GB, free: 35.4 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002754/0.926, allocations: 2.212 MB / 0.6154 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005598/0.9266, allocations: 357.6 kB / 0.6157 GB, free: 32.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005211/0.9318, allocations: 3.258 MB / 0.6189 GB, free: 29.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004326/0.9361, allocations: 2.738 MB / 0.6216 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.9361, allocations: 4 kB / 0.6216 GB, free: 26.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/0.9361, allocations: 7.969 kB / 0.6216 GB, free: 26.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01621/0.9523, allocations: 8.956 MB / 0.6303 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/0.9524, allocations: 16.25 kB / 0.6303 GB, free: 17.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.9537, allocations: 371.4 kB / 0.6307 GB, free: 17.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002587/0.9563, allocations: 0.9863 MB / 0.6316 GB, free: 16.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001372/0.9565, allocations: 60.55 kB / 0.6317 GB, free: 16.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003793/0.9602, allocations: 4.643 MB / 0.6362 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007049/0.961, allocations: 1.431 MB / 0.6376 GB, free: 9.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007449/0.9684, allocations: 5.899 MB / 0.6434 GB, free: 3.672 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009069/0.9693, allocations: 341.5 kB / 0.6437 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003735/0.9697, allocations: 59.97 kB / 0.6438 GB, free: 3.277 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/0.9712, allocations: 151.3 kB / 0.6439 GB, free: 3.133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002701/0.9715, allocations: 180.3 kB / 0.6441 GB, free: 2.957 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001276/0.9716, allocations: 75.98 kB / 0.6442 GB, free: 2.883 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002715/0.9743, allocations: 2.27 MB / 0.6464 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.9743, allocations: 0 / 0.6464 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00498/0.9793, allocations: 1.156 MB / 0.6475 GB, free: 15.46 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * 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): 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004776/0.9798, allocations: 218.1 kB / 0.6477 GB, free: 15.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0111/0.9909, allocations: 5.637 MB / 0.6532 GB, free: 9.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-05/0.9909, allocations: 4 kB / 0.6532 GB, free: 9.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004357/0.9953, allocations: 1.96 MB / 0.6551 GB, free: 7.613 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002868/0.9981, allocations: 443.1 kB / 0.6556 GB, free: 7.184 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02077/1.019, allocations: 11.31 MB / 0.6666 GB, free: 11.65 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004391/1.023, allocations: 2.923 MB / 0.6695 GB, free: 8.691 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001371/1.025, allocations: 307.4 kB / 0.6698 GB, free: 8.391 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/1.025, allocations: 0 / 0.6698 GB, free: 8.391 MB / 478.1 MB Notification: Performance of Templates: time 0.3498/1.374, allocations: 142.3 MB / 0.8087 GB, free: 121.3 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgLoopMain.cpp:24: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp131 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp132 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp132 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp132 = 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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.1783976019360125] 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]', 'p2.s', 'p2.v'] 1.383147206157446 1.392002879 1.001285129 Calling exit ...