Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001854/0.001854, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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.002077/0.002077, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 47.86 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2798, allocations: 53.37 MB / 432.3 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01267/0.2925, allocations: 9.376 MB / 441.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00966/0.3021, allocations: 3.767 MB / 445.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001958/0.3041, allocations: 75.62 kB / 445.6 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005733/0.3098, allocations: 2.507 MB / 448.1 MB, free: 6.934 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005596/0.3154, allocations: 1.79 MB / 449.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001805/0.3172, allocations: 0.6785 MB / 450.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006167/0.3234, allocations: 3.708 MB / 454.2 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004049/0.3274, allocations: 2.721 MB / 457 MB, free: 13.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002943/0.3304, allocations: 1.487 MB / 458.4 MB, free: 12.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003596/0.334, allocations: 1.985 MB / 460.4 MB, free: 10.47 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008514/0.3348, allocations: 316 kB / 460.7 MB, free: 10.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.3371, allocations: 1.053 MB / 461.8 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002071/0.3391, allocations: 1.858 MB / 463.7 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002319/0.3415, allocations: 1.565 MB / 465.2 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008792/0.3502, allocations: 6.7 MB / 471.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.3503, allocations: 0 / 471.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3503, allocations: 0 / 471.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002156/0.3505, allocations: 0 / 471.9 MB, free: 14.95 MB / 382.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.009531/0.36, allocations: 4.586 MB / 476.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.36, allocations: 8.031 kB / 476.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007316/0.3674, allocations: 1.96 MB / 478.5 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005227/0.3726, allocations: 1.957 MB / 480.4 MB, free: 6.344 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002346/0.3728, allocations: 250.2 kB / 480.7 MB, free: 6.098 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009609/0.3738, allocations: 391.7 kB / 481.1 MB, free: 5.715 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.393, allocations: 10.19 MB / 491.2 MB, free: 10.78 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001003/0.3931, allocations: 35.69 kB / 491.3 MB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004383/0.3935, allocations: 155.9 kB / 491.4 MB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00292/0.3964, allocations: 1.853 MB / 493.3 MB, free: 8.742 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01843/0.4149, allocations: 8.351 MB / 0.4899 GB, free: 392 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04868/0.4635, allocations: 36.91 MB / 0.5259 GB, free: 10.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/0.4744, allocations: 3.447 MB / 0.5293 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00206/0.4764, allocations: 1.33 MB / 0.5306 GB, free: 5.523 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2252/0.7017, allocations: 5.52 MB / 0.536 GB, free: 101 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/0.7017, allocations: 50.7 kB / 0.536 GB, free: 101 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.66e-06/0.7017, allocations: 0 / 0.536 GB, free: 101 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02958/0.7313, allocations: 12.3 MB / 0.548 GB, free: 97.46 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008747/0.7322, allocations: 1.56 MB / 0.5496 GB, free: 95.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003542/0.7357, allocations: 3.662 MB / 0.5531 GB, free: 94.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001429/0.7359, allocations: 45.52 kB / 0.5532 GB, free: 94.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.737, allocations: 3.265 MB / 0.5564 GB, free: 92.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.7374, allocations: 0.6723 MB / 0.557 GB, free: 91.42 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.7385, allocations: 1.274 MB / 0.5583 GB, free: 90.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.029e-05/0.7385, allocations: 309 kB / 0.5586 GB, free: 89.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002317/0.7408, allocations: 2.048 MB / 0.5606 GB, free: 88.21 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0034/0.7442, allocations: 5.977 MB / 0.5664 GB, free: 80.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006115/0.7504, allocations: 8.645 MB / 0.5749 GB, free: 69.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.227e-05/0.7504, allocations: 40 kB / 0.5749 GB, free: 69.64 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01902/0.7694, allocations: 9.809 MB / 0.5845 GB, free: 59.82 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.726e-05/0.7695, allocations: 64.97 kB / 0.5845 GB, free: 59.76 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01083/0.7804, allocations: 3.852 MB / 0.5883 GB, free: 55.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01154/0.7919, allocations: 2.71 MB / 0.5909 GB, free: 53.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003716/0.7956, allocations: 1.376 MB / 0.5923 GB, free: 51.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01374/0.8093, allocations: 11.07 MB / 0.6031 GB, free: 40.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004841/0.8142, allocations: 407.5 kB / 0.6035 GB, free: 40.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009727/0.8152, allocations: 388 kB / 0.6039 GB, free: 39.65 MB / 446.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.003343/0.8185, allocations: 2.017 MB / 0.6058 GB, free: 37.62 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000671/0.8192, allocations: 313.9 kB / 0.6061 GB, free: 37.32 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008581/0.82, allocations: 401.5 kB / 0.6065 GB, free: 36.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005444/0.8255, allocations: 2.703 MB / 0.6091 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/0.8255, allocations: 3.938 kB / 0.6091 GB, free: 34.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.8255, allocations: 11.98 kB / 0.6092 GB, free: 34.17 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01477/0.8403, allocations: 7.476 MB / 0.6165 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.8403, allocations: 4 kB / 0.6165 GB, free: 26.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008622/0.8412, allocations: 183.7 kB / 0.6166 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004286/0.8454, allocations: 1.463 MB / 0.6181 GB, free: 24.96 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000161/0.8456, allocations: 35.97 kB / 0.6181 GB, free: 24.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0104/0.856, allocations: 9.336 MB / 0.6272 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000705/0.8567, allocations: 1.428 MB / 0.6286 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007989/0.8647, allocations: 5.341 MB / 0.6338 GB, free: 8.383 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007913/0.8655, allocations: 277.8 kB / 0.6341 GB, free: 8.109 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005229/0.866, allocations: 27.98 kB / 0.6341 GB, free: 8.082 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001486/0.8675, allocations: 123.8 kB / 0.6342 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002684/0.8678, allocations: 112.7 kB / 0.6343 GB, free: 7.852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/0.8679, allocations: 55.91 kB / 0.6344 GB, free: 7.797 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003109/0.871, allocations: 2.054 MB / 0.6364 GB, free: 5.75 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.871, allocations: 4 kB / 0.6364 GB, free: 5.746 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004563/0.8755, allocations: 1.07 MB / 0.6375 GB, free: 4.68 MB / 446.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.0003708/0.8759, allocations: 159 kB / 0.6376 GB, free: 4.516 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008531/0.8844, allocations: 5.42 MB / 0.6429 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.8844, allocations: 3.938 kB / 0.6429 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004762/0.8892, allocations: 2.087 MB / 0.6449 GB, free: 12.95 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.8917, allocations: 347.9 kB / 0.6453 GB, free: 12.61 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01803/0.9097, allocations: 9.589 MB / 0.6546 GB, free: 2.965 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003719/0.9134, allocations: 2.584 MB / 0.6572 GB, free: 356 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007739/0.9142, allocations: 259.4 kB / 0.6574 GB, free: 96 kB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.9142, allocations: 0 / 0.6574 GB, free: 96 kB / 462.1 MB Notification: Performance of Templates: time 0.372/1.286, allocations: 145 MB / 0.7991 GB, free: 125.5 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] make -j1 -f Modelica_4.1.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 -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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp In file included from OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgLoopMain.cpp:30: ./OMCppModelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp121 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_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_(2)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp122 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp123 = 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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp123 = 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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp123 = 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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.18949790392071] 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.29515234939754 1.304190368 0.9514576910000001 Calling exit ...