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.ThreeSprings.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.001653/0.001653, 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.001669/0.001669, 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.413/1.413, allocations: 230.4 MB / 258.1 MB, free: 8.152 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.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [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.001904/0.001904, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2507, allocations: 53.32 MB / 432.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01252/0.2632, allocations: 10.78 MB / 442.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007962/0.2711, allocations: 3.982 MB / 446.8 MB, free: 8.555 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/0.2725, allocations: 67.81 kB / 446.9 MB, free: 8.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005023/0.2776, allocations: 2.612 MB / 449.5 MB, free: 5.867 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004736/0.2823, allocations: 1.781 MB / 451.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001606/0.2839, allocations: 0.6785 MB / 452 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00538/0.2893, allocations: 3.712 MB / 455.7 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003206/0.2925, allocations: 2.513 MB / 458.2 MB, free: 13.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.2946, allocations: 1.476 MB / 459.7 MB, free: 11.62 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.2974, allocations: 2.114 MB / 461.8 MB, free: 9.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005759/0.298, allocations: 312 kB / 462.1 MB, free: 9.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002105/0.3001, allocations: 1.182 MB / 463.3 MB, free: 8.016 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001784/0.3019, allocations: 1.858 MB / 465.1 MB, free: 6.152 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.3041, allocations: 2.116 MB / 467.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00765/0.3117, allocations: 6.664 MB / 473.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3117, allocations: 0 / 473.9 MB, free: 13.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3117, allocations: 8 kB / 473.9 MB, free: 13.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001729/0.3119, allocations: 0 / 473.9 MB, free: 13.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.008808/0.3207, allocations: 4.659 MB / 478.6 MB, free: 8.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3207, allocations: 8.031 kB / 478.6 MB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007053/0.3278, allocations: 1.96 MB / 480.5 MB, free: 6.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00473/0.3325, allocations: 1.998 MB / 482.5 MB, free: 4.574 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.3327, allocations: 250.2 kB / 482.8 MB, free: 4.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001101/0.3338, allocations: 395.7 kB / 483.2 MB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01833/0.3522, allocations: 10.11 MB / 493.3 MB, free: 9.109 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.3523, allocations: 47.61 kB / 493.3 MB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004161/0.3527, allocations: 155.9 kB / 493.5 MB, free: 8.91 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002852/0.3555, allocations: 1.853 MB / 495.3 MB, free: 7.059 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0181/0.3736, allocations: 8.374 MB / 0.4919 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05553/0.4292, allocations: 39.31 MB / 0.5303 GB, free: 6.242 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01102/0.4402, allocations: 3.902 MB / 0.5341 GB, free: 2.191 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002125/0.4423, allocations: 1.334 MB / 0.5354 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2154/0.6577, allocations: 7.733 MB / 0.5429 GB, free: 97.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.6578, allocations: 50.75 kB / 0.543 GB, free: 97.52 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 3.717e-06/0.6578, allocations: 0 / 0.543 GB, free: 97.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02746/0.6852, allocations: 12.7 MB / 0.5554 GB, free: 92.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008806/0.6861, allocations: 1.682 MB / 0.557 GB, free: 91.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/0.6898, allocations: 3.814 MB / 0.5608 GB, free: 88.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001453/0.6899, allocations: 53.22 kB / 0.5608 GB, free: 88.55 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001065/0.691, allocations: 3.249 MB / 0.564 GB, free: 85.47 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003675/0.6914, allocations: 0.6697 MB / 0.5646 GB, free: 84.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001054/0.6924, allocations: 1.274 MB / 0.5659 GB, free: 83.53 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.422e-05/0.6925, allocations: 305.1 kB / 0.5662 GB, free: 83.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.6946, allocations: 2.046 MB / 0.5682 GB, free: 81.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003273/0.6979, allocations: 5.981 MB / 0.574 GB, free: 73.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006038/0.7039, allocations: 8.657 MB / 0.5825 GB, free: 62.62 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.043e-05/0.704, allocations: 40 kB / 0.5825 GB, free: 62.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.01911/0.7231, allocations: 9.83 MB / 0.5921 GB, free: 52.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/0.7232, allocations: 68.25 kB / 0.5922 GB, free: 52.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01033/0.7335, allocations: 3.846 MB / 0.5959 GB, free: 48.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01104/0.7445, allocations: 2.721 MB / 0.5986 GB, free: 46.07 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003666/0.7482, allocations: 1.372 MB / 0.5999 GB, free: 44.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.7612, allocations: 11.59 MB / 0.6112 GB, free: 32.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004326/0.7655, allocations: 403.5 kB / 0.6116 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005102/0.766, allocations: 395.9 kB / 0.612 GB, free: 31.93 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 732 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,32)} Notification: Performance of prepare postOptimizeDAE: time 0.00232/0.7684, allocations: 2.014 MB / 0.614 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/0.7688, allocations: 345.7 kB / 0.6143 GB, free: 29.57 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000533/0.7693, allocations: 436.4 kB / 0.6147 GB, free: 29.14 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005134/0.7745, allocations: 2.707 MB / 0.6173 GB, free: 26.41 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/0.7745, allocations: 4 kB / 0.6174 GB, free: 26.4 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/0.7745, allocations: 7.984 kB / 0.6174 GB, free: 26.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.7874, allocations: 8.571 MB / 0.6257 GB, free: 17.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.7874, allocations: 4 kB / 0.6257 GB, free: 17.74 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007993/0.7882, allocations: 195.7 kB / 0.6259 GB, free: 17.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004085/0.7923, allocations: 1.45 MB / 0.6273 GB, free: 16.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.7924, allocations: 47.72 kB / 0.6274 GB, free: 16.04 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009809/0.8022, allocations: 9.816 MB / 0.637 GB, free: 5.809 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007151/0.8029, allocations: 1.536 MB / 0.6385 GB, free: 4.125 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008305/0.8112, allocations: 5.369 MB / 0.6437 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.8124, allocations: 390.6 kB / 0.6441 GB, free: 14.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/0.8127, allocations: 28.12 kB / 0.6441 GB, free: 14.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/0.8141, allocations: 131.8 kB / 0.6442 GB, free: 14.16 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/0.8144, allocations: 112.7 kB / 0.6443 GB, free: 14.05 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001189/0.8146, allocations: 51.5 kB / 0.6444 GB, free: 14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003796/0.8184, allocations: 2.337 MB / 0.6467 GB, free: 11.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.8184, allocations: 4 kB / 0.6467 GB, free: 11.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005027/0.8234, allocations: 1.066 MB / 0.6477 GB, free: 10.61 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004181/0.8238, allocations: 166.2 kB / 0.6479 GB, free: 10.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01057/0.8344, allocations: 5.562 MB / 0.6533 GB, free: 4.832 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/0.8344, allocations: 5.031 kB / 0.6533 GB, free: 4.828 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004782/0.8392, allocations: 2.241 MB / 0.6555 GB, free: 2.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00254/0.8417, allocations: 397.5 kB / 0.6559 GB, free: 2.125 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/0.8597, allocations: 9.624 MB / 0.6653 GB, free: 8.438 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004034/0.8637, allocations: 3.134 MB / 0.6683 GB, free: 5.273 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008484/0.8645, allocations: 267.4 kB / 0.6686 GB, free: 5.012 MB / 478.1 MB Notification: Performance of SimCode: time 1.152e-06/0.8645, allocations: 0 / 0.6686 GB, free: 5.012 MB / 478.1 MB Notification: Performance of Templates: time 0.3618/1.226, allocations: 145.1 MB / 0.8103 GB, free: 116.6 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_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.ThreeSpringsCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgLoopMain.cpp:30: ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp141 = std::atan2(((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) + (((_system->_body1_P_Q_(4) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp142 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) + (((_system->_body1_P_Q_(1) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(2) * body1_P_Q_start_(4))) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1)))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop786.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp143 = std::atan2(((_system->_body1_P_Q_(4) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(2)) + (((-_system->_body1_P_Q_(2)) * body1_P_Q_start_(3)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(4))))), ((_system->_body1_P_Q_(1) * body1_P_Q_start_(1)) + ((_system->_body1_P_Q_(2) * body1_P_Q_start_(2)) + ((_system->_body1_P_Q_(3) * body1_P_Q_start_(3)) + (_system->_body1_P_Q_(4) * body1_P_Q_start_(4)))))); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.900244003161788] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]'] 1.2356527103111148 1.243819999 0.92986933 Calling exit ...