Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001227/0.001227, allocations: 117 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001329/0.001329, allocations: 209.3 kB / 24.47 MB, free: 3.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.42/1.42, allocations: 230.5 MB / 258.1 MB, free: 8.129 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,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.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 55.91 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2544, allocations: 53.32 MB / 432.1 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.008549/0.263, allocations: 7.009 MB / 439.1 MB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005993/0.269, allocations: 3.15 MB / 442.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.2697, allocations: 31.94 kB / 442.2 MB, free: 13.15 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001514/0.2712, allocations: 0.6808 MB / 442.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003198/0.2744, allocations: 1.386 MB / 444.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000987/0.2754, allocations: 499.1 kB / 444.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003959/0.2794, allocations: 3.214 MB / 448 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004986/0.2799, allocations: 343.2 kB / 448.3 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008988/0.2808, allocations: 0.79 MB / 449.1 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.2823, allocations: 1.339 MB / 450.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002393/0.2826, allocations: 128 kB / 450.6 MB, free: 4.762 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00157/0.2841, allocations: 0.975 MB / 451.6 MB, free: 3.785 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00099/0.2851, allocations: 1.09 MB / 452.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.2862, allocations: 1.207 MB / 453.9 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004175/0.2904, allocations: 4.008 MB / 457.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.2904, allocations: 3.938 kB / 457.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2904, allocations: 0 / 457.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.038e-05/0.2904, allocations: 0 / 457.9 MB, free: 13.45 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: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.006456/0.2969, allocations: 3.263 MB / 461.1 MB, free: 10.12 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2969, allocations: 12.92 kB / 461.2 MB, free: 10.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008544/0.3055, allocations: 2.027 MB / 463.2 MB, free: 8.074 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003552/0.309, allocations: 1.594 MB / 464.8 MB, free: 6.434 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.3092, allocations: 118.6 kB / 464.9 MB, free: 6.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009077/0.3101, allocations: 299.5 kB / 465.2 MB, free: 6.023 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01481/0.3249, allocations: 8.219 MB / 473.4 MB, free: 13.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.992e-05/0.325, allocations: 35.7 kB / 473.4 MB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002733/0.3252, allocations: 79.89 kB / 473.5 MB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002302/0.3275, allocations: 1.393 MB / 474.9 MB, free: 11.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01787/0.3454, allocations: 9.542 MB / 484.5 MB, free: 2.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03767/0.3831, allocations: 30.57 MB / 0.503 GB, free: 2.758 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/0.3951, allocations: 4.336 MB / 0.5072 GB, free: 14.27 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0029/0.398, allocations: 2.086 MB / 0.5092 GB, free: 12.16 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.088e-05/0.3981, allocations: 19.98 kB / 0.5092 GB, free: 12.14 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.3981, allocations: 42.56 kB / 0.5093 GB, free: 12.09 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.096e-06/0.3981, allocations: 3.938 kB / 0.5093 GB, free: 12.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04815/0.4463, allocations: 18.44 MB / 0.5273 GB, free: 9.375 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003062/0.4494, allocations: 3.239 MB / 0.5305 GB, free: 5.801 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004864/0.4542, allocations: 2.979 MB / 0.5334 GB, free: 2.801 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006423/0.4549, allocations: 53.72 kB / 0.5334 GB, free: 2.742 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002069/0.4569, allocations: 2.159 MB / 0.5355 GB, free: 0.5625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.2217/0.6786, allocations: 0.5905 MB / 0.5361 GB, free: 102.1 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002733/0.6814, allocations: 1.02 MB / 0.5371 GB, free: 102 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.477e-05/0.6814, allocations: 302.7 kB / 0.5374 GB, free: 101.7 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003884/0.6853, allocations: 2.63 MB / 0.54 GB, free: 101.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004543/0.6898, allocations: 5.59 MB / 0.5454 GB, free: 96.45 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007253/0.6971, allocations: 8.62 MB / 0.5538 GB, free: 90.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.327e-05/0.6972, allocations: 31.34 kB / 0.5539 GB, free: 90.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02788/0.725, allocations: 11.92 MB / 0.5655 GB, free: 82.35 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.806e-05/0.7251, allocations: 48 kB / 0.5656 GB, free: 82.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02026/0.7454, allocations: 7.145 MB / 0.5725 GB, free: 75.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02069/0.766, allocations: 4.717 MB / 0.5771 GB, free: 70.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003888/0.7699, allocations: 1.253 MB / 0.5784 GB, free: 69.13 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/0.7832, allocations: 12.59 MB / 0.5907 GB, free: 56.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004835/0.788, allocations: 0.5713 MB / 0.5912 GB, free: 55.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006938/0.7887, allocations: 323.4 kB / 0.5915 GB, free: 55.18 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 475 * Number of states: 0 () * Number of discrete variables: 18 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (592): * Single equations (assignments): 577 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 4 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001854/0.7906, allocations: 1.413 MB / 0.5929 GB, free: 53.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004748/0.791, allocations: 265.9 kB / 0.5932 GB, free: 53.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.7916, allocations: 414.9 kB / 0.5936 GB, free: 53.3 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009883/0.8015, allocations: 5.002 MB / 0.5984 GB, free: 48.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.235e-05/0.8015, allocations: 4 kB / 0.5985 GB, free: 48.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-05/0.8016, allocations: 3.984 kB / 0.5985 GB, free: 48.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007282/0.8088, allocations: 5.35 MB / 0.6037 GB, free: 42.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.338e-06/0.8088, allocations: 7.984 kB / 0.6037 GB, free: 42.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.8104, allocations: 359.4 kB / 0.604 GB, free: 42.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007797/0.8182, allocations: 2.394 MB / 0.6064 GB, free: 40.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004698/0.8187, allocations: 48.94 kB / 0.6064 GB, free: 40.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006942/0.8256, allocations: 9.452 MB / 0.6156 GB, free: 30.11 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001283/0.8269, allocations: 3.066 MB / 0.6186 GB, free: 26.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/0.8413, allocations: 8.764 MB / 0.6272 GB, free: 17.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007082/0.842, allocations: 347.4 kB / 0.6275 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004947/0.8425, allocations: 35.98 kB / 0.6276 GB, free: 17.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/0.8446, allocations: 315.4 kB / 0.6279 GB, free: 17.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003558/0.8449, allocations: 107.8 kB / 0.628 GB, free: 17.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.8451, allocations: 59.47 kB / 0.628 GB, free: 17.07 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002086/0.8472, allocations: 1.859 MB / 0.6298 GB, free: 15.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8472, allocations: 0 / 0.6298 GB, free: 15.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003659/0.8508, allocations: 0.9889 MB / 0.6308 GB, free: 14.22 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$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 (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * 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): 4 systems {(3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 2 systems {4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004552/0.8513, allocations: 179.4 kB / 0.631 GB, free: 14.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01008/0.8614, allocations: 7.193 MB / 0.638 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.8614, allocations: 0 / 0.638 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00556/0.8669, allocations: 3.569 MB / 0.6415 GB, free: 3.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/0.8693, allocations: 311.4 kB / 0.6418 GB, free: 2.727 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0134/0.8827, allocations: 8.532 MB / 0.6501 GB, free: 10.16 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002554/0.8852, allocations: 2.282 MB / 0.6523 GB, free: 7.852 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001362/0.8866, allocations: 239.3 kB / 0.6526 GB, free: 7.617 MB / 462.1 MB Notification: Performance of SimCode: time 1.372e-06/0.8866, allocations: 0 / 0.6526 GB, free: 7.617 MB / 462.1 MB Notification: Performance of Templates: time 0.3618/1.248, allocations: 145.9 MB / 0.7951 GB, free: 140.2 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgLoopMain.cpp:39: ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:153: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:204: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:256: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:307: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:358: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:408: error: use of undeclared identifier 'body2_P_Q_start_' tmp149 = std::atan2(((_system->_body2_P_Q_(2) * body2_P_Q_start_(1)) + (((_system->_body2_P_Q_(4) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(2)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:103: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:153: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:204: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:256: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:307: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:358: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:408: error: use of undeclared identifier 'body2_P_Q_start_' tmp150 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(2)) + (((_system->_body2_P_Q_(1) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(2) * body2_P_Q_start_(4))) - (_system->_body2_P_Q_(3) * body2_P_Q_start_(1)))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:51: error: use of undeclared identifier 'body2_P_Q_start_' tmp151 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(2)) + (((-_system->_body2_P_Q_(2)) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:102: error: use of undeclared identifier 'body2_P_Q_start_' tmp151 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(2)) + (((-_system->_body2_P_Q_(2)) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:156: error: use of undeclared identifier 'body2_P_Q_start_' tmp151 = std::atan2(((_system->_body2_P_Q_(4) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(2)) + (((-_system->_body2_P_Q_(2)) * body2_P_Q_start_(3)) - (_system->_body2_P_Q_(1) * body2_P_Q_start_(4))))), ((_system->_body2_P_Q_(1) * body2_P_Q_start_(1)) + ((_system->_body2_P_Q_(2) * body2_P_Q_start_(2)) + ((_system->_body2_P_Q_(3) * body2_P_Q_start_(3)) + (_system->_body2_P_Q_(4) * body2_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.8762469151988626] 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]', 'body2.frame_a.r_0[1]', 'body2.frame_a.r_0[2]', 'body2.frame_a.r_0[3]', 'body2.v_0[1]', 'body2.v_0[2]', 'body2.v_0[3]', 'body2.w_a[1]', 'body2.w_a[2]', 'body2.w_a[3]'] 1.2568373237736523 1.264948185 0.9723537289999999 Calling exit ...