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.006676/0.006676, allocations: 105.9 kB / 21.98 MB, free: 5.223 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.001645/0.001645, allocations: 212.4 kB / 25.29 MB, free: 3.203 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.456/1.456, allocations: 230.6 MB / 259 MB, free: 8.047 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.002063/0.002063, allocations: 63.89 kB / 379.8 MB, free: 2.637 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2598, allocations: 53.35 MB / 433.2 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity): time 0.009351/0.2691, allocations: 7.011 MB / 440.2 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006656/0.2758, allocations: 3.158 MB / 443.3 MB, free: 12.74 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00129/0.2771, allocations: 35.88 kB / 443.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.2787, allocations: 0.6846 MB / 444.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.2824, allocations: 1.386 MB / 445.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.2835, allocations: 0.5029 MB / 445.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004622/0.2881, allocations: 3.205 MB / 449.2 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.2891, allocations: 494.3 kB / 449.6 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001469/0.2906, allocations: 0.7979 MB / 450.4 MB, free: 5.613 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.2928, allocations: 1.335 MB / 451.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000489/0.2933, allocations: 132 kB / 451.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/0.2953, allocations: 0.9749 MB / 452.9 MB, free: 3.168 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00136/0.2967, allocations: 1.087 MB / 454 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001884/0.2986, allocations: 1.215 MB / 455.2 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005009/0.3036, allocations: 4.012 MB / 459.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3036, allocations: 0 / 459.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.3036, allocations: 0 / 459.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.916e-05/0.3037, allocations: 0 / 459.2 MB, free: 12.83 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.007056/0.3107, allocations: 3.186 MB / 462.4 MB, free: 9.598 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.3108, allocations: 12.03 kB / 462.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008694/0.3195, allocations: 2.019 MB / 464.4 MB, free: 7.562 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003662/0.3231, allocations: 1.54 MB / 465.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001265/0.3233, allocations: 118.6 kB / 466.1 MB, free: 5.871 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001124/0.3244, allocations: 307.5 kB / 466.4 MB, free: 5.57 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01635/0.3407, allocations: 8.219 MB / 474.6 MB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.862e-05/0.3408, allocations: 35.7 kB / 474.6 MB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002743/0.3411, allocations: 75.89 kB / 474.7 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002309/0.3434, allocations: 1.401 MB / 476.1 MB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01948/0.3629, allocations: 9.588 MB / 485.7 MB, free: 1.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03956/0.4024, allocations: 30.51 MB / 0.5041 GB, free: 2.305 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01206/0.4145, allocations: 3.892 MB / 0.5079 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/0.4178, allocations: 2.078 MB / 0.5099 GB, free: 12.27 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.289e-05/0.4179, allocations: 19.88 kB / 0.5099 GB, free: 12.25 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.4179, allocations: 46.56 kB / 0.51 GB, free: 12.2 MB / 430.1 MB Notification: Performance of pre-optimization done (n=122): time 3.075e-06/0.4179, allocations: 0 / 0.51 GB, free: 12.2 MB / 430.1 MB Notification: Performance of matching and sorting (n=136): time 0.04808/0.466, allocations: 17.84 MB / 0.5274 GB, free: 10.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002883/0.4689, allocations: 3.025 MB / 0.5304 GB, free: 6.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004453/0.4733, allocations: 2.987 MB / 0.5333 GB, free: 3.914 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005408/0.4739, allocations: 41.7 kB / 0.5333 GB, free: 3.867 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001766/0.4756, allocations: 2.155 MB / 0.5354 GB, free: 1.691 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008594/0.4765, allocations: 0.5932 MB / 0.536 GB, free: 1.094 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001594/0.4781, allocations: 1.032 MB / 0.537 GB, free: 52 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.2021/0.6802, allocations: 301.1 kB / 0.5373 GB, free: 101 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005589/0.6858, allocations: 2.631 MB / 0.5399 GB, free: 101 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005571/0.6913, allocations: 5.584 MB / 0.5453 GB, free: 96.21 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008458/0.6998, allocations: 8.62 MB / 0.5537 GB, free: 89.86 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.538e-05/0.6999, allocations: 31.34 kB / 0.5538 GB, free: 89.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.02847/0.7284, allocations: 11.93 MB / 0.5654 GB, free: 82.84 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.878e-05/0.7284, allocations: 54.34 kB / 0.5655 GB, free: 82.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02003/0.7485, allocations: 7.138 MB / 0.5724 GB, free: 75.63 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01968/0.7681, allocations: 4.721 MB / 0.577 GB, free: 70.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004044/0.7722, allocations: 1.245 MB / 0.5783 GB, free: 69.63 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.7857, allocations: 12.18 MB / 0.5902 GB, free: 57.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006198/0.7919, allocations: 0.5756 MB / 0.5907 GB, free: 56.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008984/0.7928, allocations: 319.2 kB / 0.591 GB, free: 56.2 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.002143/0.7949, allocations: 1.422 MB / 0.5924 GB, free: 54.83 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005378/0.7955, allocations: 262 kB / 0.5927 GB, free: 54.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007319/0.7962, allocations: 414.9 kB / 0.5931 GB, free: 54.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009668/0.8059, allocations: 5.008 MB / 0.5979 GB, free: 49.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.599e-05/0.8059, allocations: 4 kB / 0.598 GB, free: 49.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.379e-05/0.8059, allocations: 7.984 kB / 0.598 GB, free: 49.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007546/0.8135, allocations: 5.277 MB / 0.6031 GB, free: 44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.8135, allocations: 4 kB / 0.6031 GB, free: 44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001577/0.8151, allocations: 367.4 kB / 0.6035 GB, free: 43.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007342/0.8224, allocations: 2.386 MB / 0.6058 GB, free: 41.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004391/0.8228, allocations: 47.94 kB / 0.6058 GB, free: 41.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007001/0.8299, allocations: 9.039 MB / 0.6147 GB, free: 31.75 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001239/0.8311, allocations: 2.873 MB / 0.6175 GB, free: 28.64 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01352/0.8446, allocations: 8.766 MB / 0.626 GB, free: 19.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/0.8452, allocations: 257.1 kB / 0.6263 GB, free: 19.59 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003719/0.8456, allocations: 35.98 kB / 0.6263 GB, free: 19.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001902/0.8475, allocations: 315.4 kB / 0.6266 GB, free: 19.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/0.8479, allocations: 115.6 kB / 0.6267 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/0.848, allocations: 51.95 kB / 0.6268 GB, free: 19.09 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002237/0.8503, allocations: 1.859 MB / 0.6286 GB, free: 17.22 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8503, allocations: 4 kB / 0.6286 GB, free: 17.22 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003787/0.8541, allocations: 0.9964 MB / 0.6296 GB, free: 16.23 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.0003927/0.8544, allocations: 168.4 kB / 0.6297 GB, free: 16.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01003/0.8645, allocations: 6.897 MB / 0.6365 GB, free: 9.129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.8645, allocations: 288 / 0.6365 GB, free: 9.129 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00529/0.8698, allocations: 3.274 MB / 0.6397 GB, free: 5.793 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.8718, allocations: 299.7 kB / 0.6399 GB, free: 5.504 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01203/0.8838, allocations: 8.531 MB / 0.6483 GB, free: 12.94 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002464/0.8862, allocations: 2.29 MB / 0.6505 GB, free: 10.62 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/0.8876, allocations: 239.3 kB / 0.6507 GB, free: 10.38 MB / 462.1 MB Notification: Performance of SimCode: time 9.52e-07/0.8876, allocations: 0 / 0.6507 GB, free: 10.38 MB / 462.1 MB Notification: Performance of Templates: time 0.3468/1.234, allocations: 145.9 MB / 0.7933 GB, free: 141.9 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/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-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: 5.276152934879065] 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.243739899015054 1.251856961 0.945892325 Calling exit ...