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.001756/0.001756, allocations: 118 kB / 18.46 MB, free: 4.562 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.002241/0.002241, allocations: 213.6 kB / 21.42 MB, free: 1.605 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.508/1.508, allocations: 230.6 MB / 254.8 MB, free: 15.22 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.001568/0.001568, allocations: 51.92 kB / 374.2 MB, free: 9.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1162, allocations: 53.33 MB / 427.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.0127/0.1289, allocations: 10.76 MB / 438.3 MB, free: 9.453 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009192/0.1381, allocations: 3.969 MB / 442.2 MB, free: 5.477 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.1398, allocations: 67.69 kB / 442.3 MB, free: 5.41 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004952/0.1448, allocations: 2.624 MB / 444.9 MB, free: 2.777 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004912/0.1497, allocations: 1.759 MB / 446.7 MB, free: 1.012 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.1513, allocations: 0.6824 MB / 447.4 MB, free: 336 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2969/0.4482, allocations: 3.703 MB / 451.1 MB, free: 8.758 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006129/0.4543, allocations: 2.973 MB / 454 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005005/0.4593, allocations: 1.496 MB / 455.5 MB, free: 8.34 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006755/0.4661, allocations: 2.106 MB / 457.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001902/0.468, allocations: 314.5 kB / 457.9 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00418/0.4721, allocations: 1.183 MB / 459.1 MB, free: 8.105 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004009/0.4761, allocations: 1.847 MB / 461 MB, free: 7.863 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00398/0.4801, allocations: 2.128 MB / 463.1 MB, free: 6.371 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009018/0.4891, allocations: 6.675 MB / 469.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.4891, allocations: 0 / 469.8 MB, free: 4.102 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4892, allocations: 4.969 kB / 469.8 MB, free: 4.098 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002207/0.4894, allocations: 0 / 469.8 MB, free: 4.098 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.01029/0.4997, allocations: 4.652 MB / 474.4 MB, free: 1.164 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.4997, allocations: 8.75 kB / 474.4 MB, free: 1.164 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007106/0.5068, allocations: 1.963 MB / 476.4 MB, free: 140 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004626/0.5114, allocations: 2.005 MB / 478.4 MB, free: 14.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.5116, allocations: 254.6 kB / 478.7 MB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009673/0.5126, allocations: 394.5 kB / 479 MB, free: 14.78 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02121/0.5338, allocations: 10.11 MB / 489.2 MB, free: 8.688 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001031/0.5339, allocations: 41.02 kB / 489.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005284/0.5345, allocations: 158.3 kB / 489.3 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003057/0.5375, allocations: 1.858 MB / 491.2 MB, free: 7.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02092/0.5584, allocations: 8.361 MB / 499.6 MB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05873/0.6172, allocations: 39.3 MB / 0.5262 GB, free: 6.785 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/0.6291, allocations: 3.92 MB / 0.5301 GB, free: 2.738 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002337/0.6314, allocations: 1.338 MB / 0.5314 GB, free: 1.391 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01232/0.6437, allocations: 7.715 MB / 0.5389 GB, free: 9.23 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.411e-05/0.6438, allocations: 55.48 kB / 0.539 GB, free: 9.168 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.24e-06/0.6438, allocations: 0 / 0.539 GB, free: 9.168 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03556/0.6793, allocations: 12.69 MB / 0.5514 GB, free: 12.32 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001569/0.6809, allocations: 1.682 MB / 0.553 GB, free: 10.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006119/0.687, allocations: 3.813 MB / 0.5567 GB, free: 6.656 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004509/0.6875, allocations: 45.7 kB / 0.5568 GB, free: 6.605 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002625/0.6901, allocations: 3.241 MB / 0.5599 GB, free: 3.383 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001003/0.6911, allocations: 0.6761 MB / 0.5606 GB, free: 2.715 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00183/0.6929, allocations: 1.265 MB / 0.5618 GB, free: 1.441 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.6931, allocations: 301.1 kB / 0.5621 GB, free: 1.145 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00336/0.6964, allocations: 2.06 MB / 0.5641 GB, free: 15.09 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006716/0.7031, allocations: 5.988 MB / 0.57 GB, free: 7.141 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01163/0.7148, allocations: 8.645 MB / 0.5784 GB, free: 12.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001089/0.7149, allocations: 40 kB / 0.5785 GB, free: 12.52 MB / 494.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02624/0.7411, allocations: 9.847 MB / 0.5881 GB, free: 2.652 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.7413, allocations: 64 kB / 0.5881 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01321/0.7545, allocations: 3.845 MB / 0.5919 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.013/0.7675, allocations: 2.73 MB / 0.5945 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005163/0.7726, allocations: 1.365 MB / 0.5959 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01938/0.792, allocations: 11.57 MB / 0.6072 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005589/0.7976, allocations: 416.4 kB / 0.6076 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001199/0.7988, allocations: 390.7 kB / 0.608 GB, free: 13.86 MB / 0.5137 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.004331/0.8031, allocations: 2.009 MB / 0.6099 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008442/0.804, allocations: 345.6 kB / 0.6102 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.805, allocations: 432.4 kB / 0.6107 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006692/0.8117, allocations: 2.713 MB / 0.6133 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.348e-05/0.8117, allocations: 4 kB / 0.6133 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.821e-05/0.8118, allocations: 7.969 kB / 0.6133 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01822/0.83, allocations: 8.583 MB / 0.6217 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/0.83, allocations: 0 / 0.6217 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009831/0.831, allocations: 199.7 kB / 0.6219 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005096/0.8361, allocations: 1.448 MB / 0.6233 GB, free: 14 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002076/0.8363, allocations: 35.97 kB / 0.6233 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01509/0.8514, allocations: 9.831 MB / 0.6329 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001308/0.8527, allocations: 1.546 MB / 0.6344 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2898/1.142, allocations: 5.348 MB / 0.6397 GB, free: 174.1 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001194/1.144, allocations: 389.8 kB / 0.64 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001135/1.145, allocations: 34.56 kB / 0.6401 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002209/1.147, allocations: 126.5 kB / 0.6402 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005724/1.148, allocations: 110.2 kB / 0.6403 GB, free: 174 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.148, allocations: 43.38 kB / 0.6403 GB, free: 174 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005949/1.154, allocations: 2.333 MB / 0.6426 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/1.154, allocations: 0 / 0.6426 GB, free: 173.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007505/1.161, allocations: 1.075 MB / 0.6437 GB, free: 173.9 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.0006147/1.162, allocations: 179.7 kB / 0.6438 GB, free: 173.8 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01128/1.173, allocations: 5.556 MB / 0.6493 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/1.173, allocations: 0 / 0.6493 GB, free: 171.9 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.004348/1.177, allocations: 2.238 MB / 0.6515 GB, free: 170.9 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002786/1.18, allocations: 397.9 kB / 0.6518 GB, free: 170.7 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0175/1.198, allocations: 9.564 MB / 0.6612 GB, free: 166.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003068/1.201, allocations: 3.127 MB / 0.6642 GB, free: 165.3 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008543/1.202, allocations: 265.9 kB / 0.6645 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.452e-06/1.202, allocations: 0 / 0.6645 GB, free: 165.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.1179/1.32, allocations: 145.2 MB / 0.8062 GB, free: 30.14 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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp141 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp142 = 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_' tmp143 = 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_' tmp143 = 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_' tmp143 = 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.286005504982313] 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.328334715013625 1.3360638 0.84455919 Calling exit ...