Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 120.2 kB / 21.94 MB, free: 8 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00185/0.00185, allocations: 204.7 kB / 25.23 MB, free: 3.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 207.6 MB / 236 MB, free: 9.992 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 51.92 kB / 348.5 MB, free: 9.508 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.356, allocations: 49.15 MB / 397.6 MB, free: 9.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01231/0.3683, allocations: 10.82 MB / 408.4 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01102/0.3793, allocations: 3.974 MB / 412.4 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003586/0.3829, allocations: 70.56 kB / 412.5 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006928/0.3898, allocations: 2.632 MB / 415.1 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0076/0.3974, allocations: 1.804 MB / 416.9 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.4002, allocations: 0.6916 MB / 417.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01002/0.4102, allocations: 3.7 MB / 421.3 MB, free: 10.01 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007686/0.4179, allocations: 2.734 MB / 424 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005449/0.4233, allocations: 1.517 MB / 425.6 MB, free: 7.273 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006342/0.4297, allocations: 2.11 MB / 427.7 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002539/0.4322, allocations: 316 kB / 428 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004549/0.4368, allocations: 1.19 MB / 429.2 MB, free: 3.707 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003508/0.4403, allocations: 1.885 MB / 431 MB, free: 1.816 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005071/0.4454, allocations: 2.14 MB / 433.2 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01273/0.4581, allocations: 6.724 MB / 439.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4581, allocations: 0 / 439.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4581, allocations: 0 / 439.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000303/0.4584, allocations: 0 / 439.9 MB, free: 8.918 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01517/0.4736, allocations: 4.623 MB / 444.5 MB, free: 4.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/0.4736, allocations: 15.98 kB / 444.5 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007572/0.4812, allocations: 1.901 MB / 446.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006284/0.4875, allocations: 2.015 MB / 448.5 MB, free: 276 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/0.4878, allocations: 250.2 kB / 448.7 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001896/0.4897, allocations: 391.7 kB / 449.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02421/0.5139, allocations: 10.07 MB / 459.2 MB, free: 4.855 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002429/0.5142, allocations: 43.62 kB / 459.2 MB, free: 4.812 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001514/0.5157, allocations: 155.9 kB / 459.4 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003353/0.519, allocations: 1.853 MB / 461.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02054/0.5396, allocations: 8.331 MB / 469.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06157/0.6011, allocations: 39.2 MB / 0.4968 GB, free: 2.113 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01093/0.6121, allocations: 3.42 MB / 0.5002 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/0.6147, allocations: 1.338 MB / 0.5015 GB, free: 13.31 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01381/0.6285, allocations: 5.847 MB / 0.5072 GB, free: 7.43 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.908e-05/0.6286, allocations: 47.5 kB / 0.5072 GB, free: 7.375 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 5.851e-06/0.6286, allocations: 0 / 0.5072 GB, free: 7.375 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03836/0.6669, allocations: 12.22 MB / 0.5192 GB, free: 11.06 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001941/0.6689, allocations: 1.572 MB / 0.5207 GB, free: 9.336 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00888/0.6777, allocations: 3.829 MB / 0.5244 GB, free: 5.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005268/0.6783, allocations: 53.69 kB / 0.5245 GB, free: 5.461 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004012/0.6823, allocations: 3.246 MB / 0.5276 GB, free: 2.184 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001302/0.6836, allocations: 0.6825 MB / 0.5283 GB, free: 1.496 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003294/0.6869, allocations: 1.266 MB / 0.5296 GB, free: 224 kB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0003307/0.6872, allocations: 301.1 kB / 0.5298 GB, free: 15.92 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004124/0.6913, allocations: 2.03 MB / 0.5318 GB, free: 13.89 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009444/0.7008, allocations: 5.977 MB / 0.5377 GB, free: 5.941 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01463/0.7154, allocations: 8.623 MB / 0.5461 GB, free: 11.36 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001872/0.7156, allocations: 44 kB / 0.5461 GB, free: 11.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02793/0.7435, allocations: 9.721 MB / 0.5556 GB, free: 1.566 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002504/0.7438, allocations: 72.03 kB / 0.5557 GB, free: 1.496 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2748/1.019, allocations: 3.713 MB / 0.5593 GB, free: 140.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01211/1.031, allocations: 2.611 MB / 0.5619 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004437/1.035, allocations: 1.37 MB / 0.5632 GB, free: 140 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009614/1.045, allocations: 7.504 MB / 0.5705 GB, free: 136.2 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005206/1.05, allocations: 411.2 kB / 0.5709 GB, free: 136.1 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001098/1.051, allocations: 387.5 kB / 0.5713 GB, free: 136.1 MB / 478.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.003606/1.055, allocations: 2.005 MB / 0.5732 GB, free: 135.2 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007286/1.055, allocations: 348.2 kB / 0.5736 GB, free: 135.2 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006664/1.062, allocations: 3.099 MB / 0.5766 GB, free: 134.2 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005192/1.067, allocations: 2.662 MB / 0.5792 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.31e-05/1.067, allocations: 11.78 kB / 0.5792 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.563e-05/1.067, allocations: 11.34 kB / 0.5792 GB, free: 133.4 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01693/1.084, allocations: 8.384 MB / 0.5874 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/1.084, allocations: 0 / 0.5874 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000828/1.085, allocations: 192.9 kB / 0.5876 GB, free: 129.1 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004162/1.089, allocations: 1.437 MB / 0.589 GB, free: 128.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000183/1.089, allocations: 30.67 kB / 0.589 GB, free: 128.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005158/1.095, allocations: 5.805 MB / 0.5947 GB, free: 123.8 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007581/1.095, allocations: 1.446 MB / 0.5961 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007818/1.103, allocations: 5.288 MB / 0.6013 GB, free: 117.2 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001108/1.104, allocations: 315.2 kB / 0.6016 GB, free: 117 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007622/1.105, allocations: 40.73 kB / 0.6016 GB, free: 117 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001672/1.107, allocations: 125.8 kB / 0.6017 GB, free: 116.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/1.107, allocations: 92.8 kB / 0.6018 GB, free: 116.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/1.107, allocations: 43.98 kB / 0.6019 GB, free: 116.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003838/1.111, allocations: 2.347 MB / 0.6042 GB, free: 114.4 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.111, allocations: 0 / 0.6042 GB, free: 114.4 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005226/1.116, allocations: 1.028 MB / 0.6052 GB, free: 113.4 MB / 478.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.0004548/1.117, allocations: 175.5 kB / 0.6053 GB, free: 113.2 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008496/1.125, allocations: 5.141 MB / 0.6103 GB, free: 108.1 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.949e-06/1.125, allocations: 0 / 0.6103 GB, free: 108.1 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00322/1.128, allocations: 1.805 MB / 0.6121 GB, free: 106.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002916/1.131, allocations: 383 kB / 0.6125 GB, free: 105.9 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01684/1.148, allocations: 9.618 MB / 0.6219 GB, free: 96.21 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003997/1.152, allocations: 3.106 MB / 0.6249 GB, free: 93.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008656/1.153, allocations: 271.4 kB / 0.6252 GB, free: 92.8 MB / 478.1 MB Notification: Performance of SimCode: time 1.603e-06/1.153, allocations: 0 / 0.6252 GB, free: 92.8 MB / 478.1 MB Notification: Performance of Templates: time 0.3835/1.536, allocations: 144.5 MB / 0.7663 GB, free: 159.9 MB / 0.4981 GB " [Timeout remaining time 658] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile [Timeout 660] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp In file included from OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.cpp:25: In file included from ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgLoopMain.cpp:30: ./OMCppModelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp128 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp128 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp128 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp128 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp128 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp128 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp128 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:74:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp128 = std::atan2(((((_system->_body1_P_Q_(2) * body1_P_Q_start_(1)) - (_system->_body1_P_Q_(1) * body1_P_Q_start_(2))) + (_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_(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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:205: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:258: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:308: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:359: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:76:410: error: use of undeclared identifier 'body1_P_Q_start_' tmp129 = std::atan2(((((_system->_body1_P_Q_(4) * body1_P_Q_start_(2)) - (_system->_body1_P_Q_(3) * body1_P_Q_start_(1))) + (_system->_body1_P_Q_(1) * body1_P_Q_start_(3))) - (_system->_body1_P_Q_(2) * 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:78:53: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:78:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsAlgloop756.cpp:78:154: error: use of undeclared identifier 'body1_P_Q_start_' tmp130 = 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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSpringsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.939330009976402] 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.5477106049656868 1.5594324290000001 1.098271445 Calling exit ...