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.001313/0.001313, allocations: 112.5 kB / 21.19 MB, free: 0.7617 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.00141/0.00141, allocations: 209.9 kB / 24.49 MB, free: 4.145 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.414/1.414, allocations: 230.6 MB / 258.3 MB, free: 7.98 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.001569/0.001569, allocations: 47.91 kB / 379 MB, free: 2.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2338/0.2354, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01323/0.2486, allocations: 10.79 MB / 443.2 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00831/0.2569, allocations: 3.994 MB / 447.2 MB, free: 8.082 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001632/0.2586, allocations: 75.62 kB / 447.3 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005562/0.2641, allocations: 2.612 MB / 449.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004881/0.269, allocations: 1.782 MB / 451.6 MB, free: 3.602 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001916/0.2709, allocations: 0.6863 MB / 452.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005933/0.2769, allocations: 3.713 MB / 456 MB, free: 15.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00421/0.2811, allocations: 2.735 MB / 458.8 MB, free: 12.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002639/0.2837, allocations: 1.499 MB / 460.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003356/0.2871, allocations: 2.099 MB / 462.4 MB, free: 8.785 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001029/0.2881, allocations: 316 kB / 462.7 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002752/0.2908, allocations: 1.198 MB / 463.9 MB, free: 7.277 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00239/0.2932, allocations: 1.85 MB / 465.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003338/0.2966, allocations: 2.12 MB / 467.9 MB, free: 3.289 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009051/0.3056, allocations: 6.672 MB / 474.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.3056, allocations: 0 / 474.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3056, allocations: 0 / 474.5 MB, free: 12.59 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002433/0.3059, allocations: 0 / 474.5 MB, free: 12.59 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.0097/0.3156, allocations: 4.576 MB / 479.1 MB, free: 7.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.3156, allocations: 12.03 kB / 479.1 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00679/0.3224, allocations: 1.96 MB / 481.1 MB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004627/0.327, allocations: 1.945 MB / 483 MB, free: 4.004 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.3272, allocations: 246.2 kB / 483.3 MB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000992/0.3282, allocations: 387.7 kB / 483.6 MB, free: 3.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01922/0.3474, allocations: 10.11 MB / 493.8 MB, free: 8.551 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/0.3476, allocations: 47.62 kB / 493.8 MB, free: 8.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/0.3487, allocations: 151.9 kB / 493.9 MB, free: 8.355 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002894/0.3516, allocations: 1.864 MB / 495.8 MB, free: 6.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01779/0.3694, allocations: 8.366 MB / 0.4924 GB, free: 14.12 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0534/0.4228, allocations: 39.2 MB / 0.5306 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01047/0.4332, allocations: 3.462 MB / 0.534 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002207/0.4354, allocations: 1.334 MB / 0.5353 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.202/0.6374, allocations: 5.851 MB / 0.541 GB, free: 99.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.165e-05/0.6374, allocations: 47.5 kB / 0.5411 GB, free: 99.17 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.167e-06/0.6375, allocations: 3.781 kB / 0.5411 GB, free: 99.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02702/0.6645, allocations: 12.32 MB / 0.5531 GB, free: 94.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008876/0.6654, allocations: 1.575 MB / 0.5547 GB, free: 93.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003755/0.6691, allocations: 3.812 MB / 0.5584 GB, free: 91.24 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002722/0.6694, allocations: 49.7 kB / 0.5584 GB, free: 91.18 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001203/0.6706, allocations: 3.237 MB / 0.5616 GB, free: 88.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000478/0.6711, allocations: 0.6779 MB / 0.5622 GB, free: 87.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001078/0.6721, allocations: 1.262 MB / 0.5635 GB, free: 86.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.6722, allocations: 309 kB / 0.5638 GB, free: 85.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002184/0.6744, allocations: 2.054 MB / 0.5658 GB, free: 83.82 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003247/0.6776, allocations: 5.989 MB / 0.5716 GB, free: 75.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00641/0.684, allocations: 8.646 MB / 0.5801 GB, free: 65.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.513e-05/0.6841, allocations: 40 kB / 0.5801 GB, free: 65.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01855/0.7026, allocations: 9.844 MB / 0.5897 GB, free: 55.37 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.378e-05/0.7027, allocations: 64 kB / 0.5898 GB, free: 55.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01014/0.7129, allocations: 3.843 MB / 0.5935 GB, free: 51.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/0.7235, allocations: 2.716 MB / 0.5962 GB, free: 48.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003659/0.7272, allocations: 1.372 MB / 0.5975 GB, free: 47.34 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01288/0.7401, allocations: 11.29 MB / 0.6086 GB, free: 35.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004345/0.7444, allocations: 411.5 kB / 0.609 GB, free: 35.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007132/0.7451, allocations: 395.9 kB / 0.6093 GB, free: 34.93 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.002519/0.7476, allocations: 2.009 MB / 0.6113 GB, free: 32.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005458/0.7482, allocations: 341.7 kB / 0.6116 GB, free: 32.58 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.7489, allocations: 432.4 kB / 0.612 GB, free: 32.15 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004916/0.7538, allocations: 2.707 MB / 0.6147 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/0.7538, allocations: 0 / 0.6147 GB, free: 29.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/0.7538, allocations: 12.02 kB / 0.6147 GB, free: 29.41 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.7668, allocations: 8.431 MB / 0.6229 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/0.7669, allocations: 4.469 kB / 0.6229 GB, free: 20.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008244/0.7677, allocations: 195.7 kB / 0.6231 GB, free: 20.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003944/0.7716, allocations: 1.451 MB / 0.6245 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001678/0.7718, allocations: 35.98 kB / 0.6246 GB, free: 19.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009931/0.7817, allocations: 9.513 MB / 0.6339 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006748/0.7824, allocations: 1.44 MB / 0.6353 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008077/0.7905, allocations: 5.361 MB / 0.6405 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009319/0.7914, allocations: 309.5 kB / 0.6408 GB, free: 2.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000361/0.7918, allocations: 31.98 kB / 0.6408 GB, free: 2.051 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.793, allocations: 127.8 kB / 0.6409 GB, free: 1.926 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003006/0.7933, allocations: 120.6 kB / 0.6411 GB, free: 1.809 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.956e-05/0.7934, allocations: 43.98 kB / 0.6411 GB, free: 1.766 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003042/0.7965, allocations: 2.333 MB / 0.6434 GB, free: 15.45 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.7965, allocations: 0 / 0.6434 GB, free: 15.45 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005161/0.8016, allocations: 1.077 MB / 0.6444 GB, free: 14.37 MB / 462.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.0004391/0.8021, allocations: 158.7 kB / 0.6446 GB, free: 14.21 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01035/0.8124, allocations: 5.423 MB / 0.6499 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.8124, allocations: 0 / 0.6499 GB, free: 8.766 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004434/0.8169, allocations: 2.09 MB / 0.6519 GB, free: 6.633 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00222/0.8191, allocations: 411.6 kB / 0.6523 GB, free: 6.242 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/0.8365, allocations: 9.627 MB / 0.6617 GB, free: 12.56 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003919/0.8404, allocations: 3.13 MB / 0.6648 GB, free: 9.398 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007938/0.8412, allocations: 263.4 kB / 0.665 GB, free: 9.141 MB / 478.1 MB Notification: Performance of SimCode: time 1.012e-06/0.8412, allocations: 0 / 0.665 GB, free: 9.141 MB / 478.1 MB Notification: Performance of Templates: time 0.3535/1.195, allocations: 145.2 MB / 0.8068 GB, free: 118 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: 4.855289309984073] 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.2033078658860177 1.211578088 0.903603728 Calling exit ...