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.001352/0.001352, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 187.3 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.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.001645/0.001645, allocations: 47.92 kB / 371.6 MB, free: 9.258 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.263, allocations: 52.19 MB / 423.8 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01329/0.2763, allocations: 9.394 MB / 433.2 MB, free: 5.043 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009212/0.2855, allocations: 3.749 MB / 437 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001945/0.2875, allocations: 71.69 kB / 437 MB, free: 1.215 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005954/0.2934, allocations: 2.531 MB / 439.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005374/0.2988, allocations: 1.805 MB / 441.4 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001925/0.3007, allocations: 0.6941 MB / 442.1 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005748/0.3065, allocations: 3.684 MB / 445.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004617/0.3111, allocations: 2.719 MB / 448.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003263/0.3143, allocations: 1.503 MB / 450 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003766/0.3181, allocations: 1.989 MB / 452 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001191/0.3193, allocations: 316 kB / 452.3 MB, free: 1.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003007/0.3223, allocations: 1.073 MB / 453.4 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002892/0.3252, allocations: 1.878 MB / 455.2 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00397/0.3292, allocations: 1.592 MB / 456.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01086/0.34, allocations: 6.738 MB / 463.6 MB, free: 6.559 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.159e-05/0.34, allocations: 3.984 kB / 463.6 MB, free: 6.555 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.34, allocations: 3.938 kB / 463.6 MB, free: 6.551 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003428/0.3404, allocations: 0 / 463.6 MB, free: 6.551 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.01248/0.3529, allocations: 4.619 MB / 468.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.3529, allocations: 8.031 kB / 468.2 MB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007458/0.3604, allocations: 1.901 MB / 470.1 MB, free: 15.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005421/0.3658, allocations: 1.973 MB / 472.1 MB, free: 13.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002935/0.3661, allocations: 250.2 kB / 472.3 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001472/0.3676, allocations: 399.6 kB / 472.7 MB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/0.3887, allocations: 10.14 MB / 482.8 MB, free: 2.445 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001696/0.3889, allocations: 35.69 kB / 482.9 MB, free: 2.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001111/0.39, allocations: 163.8 kB / 483 MB, free: 2.25 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003236/0.3932, allocations: 1.845 MB / 484.9 MB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.4123, allocations: 8.316 MB / 493.2 MB, free: 8.078 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05265/0.4649, allocations: 36.92 MB / 0.5177 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01068/0.4756, allocations: 3.4 MB / 0.521 GB, free: 14.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002178/0.4778, allocations: 1.33 MB / 0.5223 GB, free: 13.24 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01126/0.489, allocations: 5.523 MB / 0.5277 GB, free: 7.688 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.488e-05/0.4891, allocations: 51.5 kB / 0.5278 GB, free: 7.629 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.549e-06/0.4891, allocations: 3.938 kB / 0.5278 GB, free: 7.625 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.2451/0.7342, allocations: 12.16 MB / 0.5396 GB, free: 107.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000966/0.7352, allocations: 1.559 MB / 0.5412 GB, free: 105.8 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004869/0.7401, allocations: 3.672 MB / 0.5447 GB, free: 104.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002939/0.7403, allocations: 48.05 kB / 0.5448 GB, free: 104.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.7419, allocations: 3.263 MB / 0.548 GB, free: 102.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005888/0.7425, allocations: 0.674 MB / 0.5486 GB, free: 101.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001217/0.7437, allocations: 1.269 MB / 0.5499 GB, free: 101.1 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.798e-05/0.7437, allocations: 309.1 kB / 0.5502 GB, free: 100.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.746, allocations: 2.033 MB / 0.5522 GB, free: 100.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003481/0.7495, allocations: 5.97 MB / 0.558 GB, free: 94.18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006064/0.7556, allocations: 8.631 MB / 0.5664 GB, free: 84.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-05/0.7556, allocations: 40 kB / 0.5665 GB, free: 84.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01852/0.7742, allocations: 9.692 MB / 0.5759 GB, free: 74.72 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.194e-05/0.7742, allocations: 64 kB / 0.576 GB, free: 74.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01006/0.7843, allocations: 3.719 MB / 0.5796 GB, free: 70.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01074/0.795, allocations: 2.615 MB / 0.5822 GB, free: 68.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00362/0.7987, allocations: 1.376 MB / 0.5835 GB, free: 66.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00785/0.8065, allocations: 7.384 MB / 0.5907 GB, free: 59.31 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004575/0.8111, allocations: 411.1 kB / 0.5911 GB, free: 58.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006228/0.8117, allocations: 388 kB / 0.5915 GB, free: 58.53 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.002604/0.8143, allocations: 2.004 MB / 0.5934 GB, free: 56.52 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000758/0.8151, allocations: 313.9 kB / 0.5937 GB, free: 56.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005468/0.8205, allocations: 3.078 MB / 0.5967 GB, free: 53.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004707/0.8252, allocations: 2.661 MB / 0.5993 GB, free: 50.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/0.8253, allocations: 3.938 kB / 0.5993 GB, free: 50.41 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/0.8253, allocations: 12.53 kB / 0.5994 GB, free: 50.4 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.8389, allocations: 7.411 MB / 0.6066 GB, free: 42.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.8389, allocations: 4 kB / 0.6066 GB, free: 42.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008585/0.8398, allocations: 199.7 kB / 0.6068 GB, free: 42.72 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004057/0.8438, allocations: 1.44 MB / 0.6082 GB, free: 41.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001937/0.844, allocations: 31.98 kB / 0.6082 GB, free: 41.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/0.8489, allocations: 5.744 MB / 0.6138 GB, free: 35.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006758/0.8495, allocations: 1.433 MB / 0.6152 GB, free: 33.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0075/0.857, allocations: 5.252 MB / 0.6204 GB, free: 28.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009081/0.8579, allocations: 277.8 kB / 0.6206 GB, free: 28.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/0.8583, allocations: 31.94 kB / 0.6207 GB, free: 28.13 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001267/0.8596, allocations: 119.8 kB / 0.6208 GB, free: 28.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002055/0.8598, allocations: 96.8 kB / 0.6209 GB, free: 27.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.857e-05/0.8599, allocations: 51.8 kB / 0.6209 GB, free: 27.88 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002509/0.8624, allocations: 2.058 MB / 0.6229 GB, free: 25.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8624, allocations: 4 kB / 0.6229 GB, free: 25.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004497/0.8669, allocations: 1.027 MB / 0.6239 GB, free: 24.79 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.0003634/0.8673, allocations: 170.5 kB / 0.6241 GB, free: 24.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007447/0.8747, allocations: 5.147 MB / 0.6291 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.8747, allocations: 112 / 0.6291 GB, free: 19.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003267/0.878, allocations: 1.79 MB / 0.6309 GB, free: 17.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00206/0.88, allocations: 350 kB / 0.6312 GB, free: 17.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.8931, allocations: 9.579 MB / 0.6406 GB, free: 7.672 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/0.8957, allocations: 2.576 MB / 0.6431 GB, free: 5.059 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007452/0.8965, allocations: 255.4 kB / 0.6433 GB, free: 4.809 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.8965, allocations: 0 / 0.6433 GB, free: 4.809 MB / 446.1 MB Notification: Performance of Templates: time 0.4265/1.323, allocations: 144.4 MB / 0.7843 GB, free: 151.1 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 -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.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_' tmp110 = 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_' tmp110 = 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_' tmp110 = 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_' tmp110 = 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_' tmp110 = 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_' tmp110 = 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_' tmp110 = 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_' tmp110 = 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_' tmp111 = 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_' tmp111 = 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_' tmp111 = 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_' tmp111 = 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_' tmp111 = 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_' tmp111 = 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_' tmp111 = 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_' tmp111 = 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_' tmp112 = 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_' tmp112 = 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_' tmp112 = 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.168035142123699] 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.3325238437391818 1.341505714 0.998904535 Calling exit ...