Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.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.001789/0.001789, allocations: 115.5 kB / 18.45 MB, free: 4.602 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.002112/0.002112, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.487/1.487, allocations: 225.6 MB / 249.8 MB, free: 3.742 MB / 190.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.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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001508/0.001508, allocations: 51.92 kB / 366.8 MB, free: 368 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1111, allocations: 52.13 MB / 419 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01237/0.1234, allocations: 10.79 MB / 429.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009079/0.1325, allocations: 3.955 MB / 433.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001261/0.1338, allocations: 59.81 kB / 433.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004601/0.1384, allocations: 2.612 MB / 436.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004264/0.1426, allocations: 1.801 MB / 438.2 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1441, allocations: 0.6941 MB / 438.9 MB, free: 8.137 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005369/0.1495, allocations: 3.684 MB / 442.6 MB, free: 4.445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003514/0.153, allocations: 2.969 MB / 445.5 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.2371/0.3901, allocations: 1.472 MB / 447 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003362/0.3935, allocations: 2.112 MB / 449.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009506/0.3944, allocations: 315.4 kB / 449.4 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.3969, allocations: 1.21 MB / 450.6 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002202/0.3991, allocations: 1.867 MB / 452.5 MB, free: 10.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003414/0.4025, allocations: 2.141 MB / 454.6 MB, free: 10.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.4136, allocations: 6.725 MB / 461.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4136, allocations: 0 / 461.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.4136, allocations: 3.469 kB / 461.4 MB, free: 9.012 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003321/0.4139, allocations: 0 / 461.4 MB, free: 9.012 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.0153/0.4292, allocations: 4.689 MB / 466 MB, free: 6.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.4292, allocations: 10.25 kB / 466.1 MB, free: 6.828 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007241/0.4365, allocations: 1.901 MB / 468 MB, free: 6.473 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004956/0.4414, allocations: 2.032 MB / 470 MB, free: 5.535 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/0.4417, allocations: 251.8 kB / 470.2 MB, free: 5.453 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.4431, allocations: 392.9 kB / 470.6 MB, free: 5.367 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01988/0.463, allocations: 10.07 MB / 480.7 MB, free: 15.76 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001138/0.4631, allocations: 40.94 kB / 480.7 MB, free: 15.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004993/0.4636, allocations: 164.8 kB / 480.9 MB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002939/0.4665, allocations: 1.854 MB / 482.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01865/0.4852, allocations: 8.324 MB / 491.1 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05657/0.5418, allocations: 39.31 MB / 0.5179 GB, free: 2.047 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01086/0.5526, allocations: 3.879 MB / 0.5217 GB, free: 14.04 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002091/0.5547, allocations: 1.336 MB / 0.523 GB, free: 12.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01262/0.5673, allocations: 7.638 MB / 0.5305 GB, free: 4.648 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.715e-05/0.5674, allocations: 50.75 kB / 0.5305 GB, free: 4.594 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.148e-06/0.5674, allocations: 0 / 0.5305 GB, free: 4.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03695/0.6044, allocations: 12.58 MB / 0.5428 GB, free: 7.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001589/0.6059, allocations: 1.68 MB / 0.5445 GB, free: 6.059 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007061/0.613, allocations: 3.817 MB / 0.5482 GB, free: 2.254 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000562/0.6136, allocations: 52.75 kB / 0.5483 GB, free: 2.199 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003029/0.6166, allocations: 3.241 MB / 0.5514 GB, free: 14.97 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001363/0.618, allocations: 0.6799 MB / 0.5521 GB, free: 14.3 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002399/0.6204, allocations: 1.262 MB / 0.5533 GB, free: 13.03 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001811/0.6205, allocations: 301.1 kB / 0.5536 GB, free: 12.73 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003914/0.6245, allocations: 2.034 MB / 0.5556 GB, free: 10.69 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007725/0.6322, allocations: 5.974 MB / 0.5614 GB, free: 2.82 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/0.6452, allocations: 8.624 MB / 0.5698 GB, free: 8.711 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001561/0.6453, allocations: 44 kB / 0.5699 GB, free: 8.668 MB / 478.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02993/0.6753, allocations: 9.728 MB / 0.5794 GB, free: 14.93 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.6755, allocations: 75.02 kB / 0.5795 GB, free: 14.86 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01386/0.6894, allocations: 3.723 MB / 0.5831 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01335/0.7027, allocations: 2.604 MB / 0.5856 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005267/0.708, allocations: 1.365 MB / 0.587 GB, free: 7.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/0.7209, allocations: 7.712 MB / 0.5945 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006054/0.7269, allocations: 398.8 kB / 0.5949 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001602/0.7285, allocations: 392 kB / 0.5953 GB, free: 14.34 MB / 0.4981 GB 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.005935/0.7345, allocations: 2.012 MB / 0.5972 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00098/0.7355, allocations: 341.7 kB / 0.5975 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008643/0.7441, allocations: 3.107 MB / 0.6006 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00652/0.7506, allocations: 2.663 MB / 0.6032 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/0.7506, allocations: 4 kB / 0.6032 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.604e-05/0.7507, allocations: 7.969 kB / 0.6032 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02305/0.7737, allocations: 8.539 MB / 0.6115 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-05/0.7737, allocations: 4 kB / 0.6115 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.7748, allocations: 187.7 kB / 0.6117 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005186/0.78, allocations: 1.425 MB / 0.6131 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003735/0.7804, allocations: 31.98 kB / 0.6131 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008561/0.789, allocations: 6.018 MB / 0.619 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001425/0.7904, allocations: 1.542 MB / 0.6205 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/0.8022, allocations: 5.288 MB / 0.6257 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/0.8037, allocations: 402.4 kB / 0.6261 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001212/0.8049, allocations: 24 kB / 0.6261 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/0.8071, allocations: 127.8 kB / 0.6262 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004015/0.8075, allocations: 96.78 kB / 0.6263 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/0.8077, allocations: 47.61 kB / 0.6263 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006104/0.8138, allocations: 2.349 MB / 0.6286 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8138, allocations: 0 / 0.6286 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007974/0.8218, allocations: 1.023 MB / 0.6296 GB, free: 10.5 MB / 0.5294 GB 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.0008491/0.8227, allocations: 171.5 kB / 0.6298 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0134/0.8361, allocations: 5.287 MB / 0.635 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/0.8361, allocations: 0 / 0.635 GB, free: 5.008 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004788/0.8409, allocations: 1.952 MB / 0.6369 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/0.8446, allocations: 394.5 kB / 0.6373 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2456/1.09, allocations: 9.532 MB / 0.6466 GB, free: 184.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004569/1.095, allocations: 3.104 MB / 0.6496 GB, free: 184 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/1.096, allocations: 270.1 kB / 0.6498 GB, free: 184 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/1.096, allocations: 0 / 0.6498 GB, free: 184 MB / 0.5294 GB Notification: Performance of Templates: time 0.135/1.231, allocations: 144.5 MB / 0.7909 GB, free: 55.95 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_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 -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_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgLoopMain.cpp:30: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsAlgloop756.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.ThreeSpringsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.164957827888429] 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.2398366800043732 1.247524885 0.8317785249999999 Calling exit ...