Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.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.001337/0.001337, allocations: 108.6 kB / 21.19 MB, free: 0.7578 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.001454/0.001454, allocations: 189.1 kB / 24.47 MB, free: 4.152 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.409/1.409, allocations: 225.6 MB / 253.3 MB, free: 13.01 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.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.0.0_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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 51.92 kB / 371.7 MB, free: 9.371 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3123/0.314, allocations: 52.19 MB / 423.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009978/0.324, allocations: 7.035 MB / 430.9 MB, free: 7.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006801/0.3308, allocations: 3.139 MB / 434.1 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.3319, allocations: 39.81 kB / 434.1 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.3339, allocations: 0.6691 MB / 434.8 MB, free: 3.766 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003823/0.3377, allocations: 1.429 MB / 436.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.3389, allocations: 0.4913 MB / 436.7 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004796/0.3437, allocations: 3.127 MB / 439.8 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001137/0.3448, allocations: 498.4 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.3465, allocations: 0.8095 MB / 441.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002072/0.3486, allocations: 1.339 MB / 442.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.3489, allocations: 132 kB / 442.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00206/0.3509, allocations: 0.9984 MB / 443.6 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001094/0.352, allocations: 1.11 MB / 444.7 MB, free: 9.809 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001361/0.3534, allocations: 1.226 MB / 445.9 MB, free: 8.574 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005252/0.3587, allocations: 4.058 MB / 450 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.3587, allocations: 0 / 450 MB, free: 4.504 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.3587, allocations: 4 kB / 450 MB, free: 4.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001195/0.3588, allocations: 0 / 450 MB, free: 4.5 MB / 350.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.007889/0.3667, allocations: 3.211 MB / 453.2 MB, free: 1.242 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3667, allocations: 8.922 kB / 453.2 MB, free: 1.234 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00813/0.3748, allocations: 1.906 MB / 455.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003989/0.3788, allocations: 1.591 MB / 456.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001095/0.3789, allocations: 110.6 kB / 456.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009205/0.3799, allocations: 307.5 kB / 457.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01607/0.3959, allocations: 8.223 MB / 465.3 MB, free: 4.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.886e-05/0.396, allocations: 39.7 kB / 465.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004261/0.3965, allocations: 75.89 kB / 465.4 MB, free: 4.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002451/0.3989, allocations: 1.401 MB / 466.8 MB, free: 2.984 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02014/0.4191, allocations: 9.581 MB / 476.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04327/0.4623, allocations: 30.53 MB / 0.4951 GB, free: 10 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.4746, allocations: 3.873 MB / 0.4989 GB, free: 6.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003405/0.478, allocations: 2.081 MB / 0.5009 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001346/0.4782, allocations: 19.92 kB / 0.5009 GB, free: 3.965 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.312e-05/0.4782, allocations: 42.56 kB / 0.5009 GB, free: 3.914 MB / 414.1 MB Notification: Performance of pre-optimization done (n=122): time 3.747e-06/0.4782, allocations: 0 / 0.5009 GB, free: 3.914 MB / 414.1 MB Notification: Performance of matching and sorting (n=136): time 0.05014/0.5284, allocations: 17.86 MB / 0.5184 GB, free: 1.941 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002892/0.5312, allocations: 3.021 MB / 0.5213 GB, free: 14.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005366/0.5366, allocations: 2.991 MB / 0.5243 GB, free: 11.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000585/0.5372, allocations: 49.69 kB / 0.5243 GB, free: 11.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/0.5392, allocations: 2.159 MB / 0.5264 GB, free: 9.387 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001191/0.5404, allocations: 0.5893 MB / 0.527 GB, free: 8.793 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002741/0.5432, allocations: 1.024 MB / 0.528 GB, free: 7.758 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001465/0.5433, allocations: 317 kB / 0.5283 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004609/0.5479, allocations: 2.625 MB / 0.5308 GB, free: 4.812 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2211/0.769, allocations: 5.583 MB / 0.5363 GB, free: 104 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009345/0.7783, allocations: 8.627 MB / 0.5447 GB, free: 98.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/0.7784, allocations: 29.09 kB / 0.5448 GB, free: 98.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02831/0.8068, allocations: 11.78 MB / 0.5563 GB, free: 95.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.202e-05/0.8068, allocations: 49.72 kB / 0.5563 GB, free: 94.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01986/0.8267, allocations: 6.995 MB / 0.5631 GB, free: 88.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01966/0.8463, allocations: 4.542 MB / 0.5676 GB, free: 83.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003849/0.8502, allocations: 1.248 MB / 0.5688 GB, free: 82.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01336/0.8636, allocations: 12.14 MB / 0.5806 GB, free: 69.76 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004956/0.8685, allocations: 0.5765 MB / 0.5812 GB, free: 69.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008323/0.8693, allocations: 315.5 kB / 0.5815 GB, free: 68.89 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.002225/0.8716, allocations: 1.418 MB / 0.5829 GB, free: 67.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005458/0.8721, allocations: 266.6 kB / 0.5831 GB, free: 67.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007987/0.8729, allocations: 419 kB / 0.5835 GB, free: 67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009549/0.8825, allocations: 4.998 MB / 0.5884 GB, free: 61.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.245e-05/0.8825, allocations: 4 kB / 0.5884 GB, free: 61.97 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.5e-05/0.8825, allocations: 11.97 kB / 0.5884 GB, free: 61.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00809/0.8906, allocations: 5.295 MB / 0.5936 GB, free: 56.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.386e-05/0.8906, allocations: 0 / 0.5936 GB, free: 56.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/0.8924, allocations: 371.4 kB / 0.594 GB, free: 56.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007475/0.8999, allocations: 2.386 MB / 0.5963 GB, free: 53.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006117/0.9005, allocations: 43.95 kB / 0.5963 GB, free: 53.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007291/0.9078, allocations: 9.04 MB / 0.6052 GB, free: 44.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001351/0.9091, allocations: 2.869 MB / 0.608 GB, free: 41.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01419/0.9233, allocations: 8.759 MB / 0.6165 GB, free: 32.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007877/0.9241, allocations: 259.1 kB / 0.6168 GB, free: 32.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006226/0.9247, allocations: 31.98 kB / 0.6168 GB, free: 32.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002104/0.9268, allocations: 327.4 kB / 0.6171 GB, free: 31.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003957/0.9272, allocations: 111.6 kB / 0.6172 GB, free: 31.81 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001549/0.9274, allocations: 51.95 kB / 0.6173 GB, free: 31.76 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002267/0.9296, allocations: 1.863 MB / 0.6191 GB, free: 29.89 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.9296, allocations: 0 / 0.6191 GB, free: 29.89 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004225/0.9339, allocations: 1.008 MB / 0.6201 GB, free: 28.89 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.0004894/0.9344, allocations: 171.3 kB / 0.6202 GB, free: 28.72 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01056/0.9449, allocations: 6.901 MB / 0.627 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.9449, allocations: 0 / 0.627 GB, free: 21.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00522/0.9501, allocations: 3.283 MB / 0.6302 GB, free: 18.43 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/0.9522, allocations: 293.7 kB / 0.6305 GB, free: 18.14 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/0.9625, allocations: 8.538 MB / 0.6388 GB, free: 9.566 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.9641, allocations: 2.294 MB / 0.641 GB, free: 7.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00126/0.9653, allocations: 239.3 kB / 0.6413 GB, free: 7.008 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.9653, allocations: 4 kB / 0.6413 GB, free: 7.004 MB / 446.1 MB Notification: Performance of Templates: time 0.3739/1.339, allocations: 146.2 MB / 0.7841 GB, free: 131 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity.makefile [Timeout 660] make -j1 -f Modelica_4.0.0_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/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.PointGravityCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgLoopMain.cpp:39: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:53: 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_(1) * body2_P_Q_start_(2))) + (_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_(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.0.0_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_(1) * body2_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:154: 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_(1) * body2_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:205: 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_(1) * body2_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:258: 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_(1) * body2_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:308: 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_(1) * body2_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:359: 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_(1) * body2_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:74:410: 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_(1) * body2_P_Q_start_(2))) + (_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_(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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:53: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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.0.0_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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:154: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:205: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:258: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:308: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:359: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:76:410: 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_(3) * body2_P_Q_start_(1))) + (_system->_body2_P_Q_(1) * body2_P_Q_start_(3))) - (_system->_body2_P_Q_(2) * 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:53: 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:103: 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityAlgloop538.cpp:78:154: 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.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.232930856989697] 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.3490843581967056 1.358811455 0.997698737 Calling exit ...