Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.001632/0.001632, allocations: 116.8 kB / 19.17 MB, free: 3.895 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.001993/0.001993, allocations: 214.6 kB / 22.13 MB, free: 0.9414 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.48/1.48, allocations: 230.2 MB / 255.1 MB, free: 15.21 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,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.|p2.s|p2.v",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.88 kB / 374.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1066, allocations: 53.31 MB / 427.8 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.2027/0.3093, allocations: 12.03 MB / 439.9 MB, free: 4.895 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0084/0.3177, allocations: 4.218 MB / 444.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002564/0.3203, allocations: 73.59 kB / 444.2 MB, free: 2.668 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005676/0.326, allocations: 2.784 MB / 446.9 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006475/0.3325, allocations: 1.984 MB / 448.9 MB, free: 492 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002369/0.3348, allocations: 0.8033 MB / 449.7 MB, free: 148 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.011/0.3458, allocations: 4.688 MB / 454.4 MB, free: 14.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007579/0.3534, allocations: 3.054 MB / 457.5 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00529/0.3587, allocations: 1.686 MB / 459.2 MB, free: 11.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006364/0.3651, allocations: 2.517 MB / 461.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00161/0.3667, allocations: 351.7 kB / 462 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004179/0.3708, allocations: 1.3 MB / 463.3 MB, free: 9.906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004421/0.3753, allocations: 2.147 MB / 465.5 MB, free: 8.641 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007464/0.3827, allocations: 2.41 MB / 467.9 MB, free: 6.816 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01621/0.3989, allocations: 7.492 MB / 475.4 MB, free: 1.176 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.399, allocations: 4 kB / 475.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.399, allocations: 0 / 475.4 MB, free: 1.172 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003619/0.3993, allocations: 0 / 475.4 MB, free: 1.172 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01464/0.414, allocations: 5.371 MB / 480.7 MB, free: 11.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.414, allocations: 16.03 kB / 480.8 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009423/0.4234, allocations: 2.197 MB / 483 MB, free: 9.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006158/0.4296, allocations: 2.487 MB / 485.4 MB, free: 6.953 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002907/0.4299, allocations: 274.8 kB / 485.7 MB, free: 6.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001661/0.4315, allocations: 431.6 kB / 486.1 MB, free: 6.262 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02638/0.4579, allocations: 12.27 MB / 498.4 MB, free: 9.176 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/0.4581, allocations: 47.58 kB / 498.5 MB, free: 9.129 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007321/0.4588, allocations: 176.7 kB / 498.6 MB, free: 8.957 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003761/0.4626, allocations: 2.162 MB / 0.489 GB, free: 6.793 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02451/0.4871, allocations: 10.24 MB / 0.499 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06236/0.5494, allocations: 44.2 MB / 0.5422 GB, free: 15.14 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01306/0.5625, allocations: 4.512 MB / 0.5466 GB, free: 10.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002756/0.5652, allocations: 1.627 MB / 0.5482 GB, free: 8.797 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01409/0.5793, allocations: 8.324 MB / 0.5563 GB, free: 72 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.5794, allocations: 51.88 kB / 0.5564 GB, free: 12 kB / 462.1 MB Notification: Performance of pre-optimization done (n=183): time 5.05e-06/0.5794, allocations: 0 / 0.5564 GB, free: 12 kB / 462.1 MB Notification: Performance of matching and sorting (n=205): time 0.04398/0.6234, allocations: 16.31 MB / 0.5723 GB, free: 15.55 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00158/0.625, allocations: 1.7 MB / 0.574 GB, free: 13.67 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00665/0.6316, allocations: 4.195 MB / 0.5781 GB, free: 9.453 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004799/0.6321, allocations: 53.7 kB / 0.5781 GB, free: 9.395 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003354/0.6354, allocations: 3.533 MB / 0.5816 GB, free: 5.828 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001275/0.6367, allocations: 0.8452 MB / 0.5824 GB, free: 4.977 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002187/0.6389, allocations: 1.366 MB / 0.5837 GB, free: 3.602 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.639, allocations: 305.2 kB / 0.584 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003928/0.643, allocations: 2.289 MB / 0.5863 GB, free: 1.008 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007606/0.6506, allocations: 6.413 MB / 0.5925 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0126/0.6632, allocations: 9.348 MB / 0.6016 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000121/0.6633, allocations: 40 kB / 0.6017 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02501/0.6883, allocations: 10.19 MB / 0.6116 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001698/0.6885, allocations: 64 kB / 0.6117 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2226/0.9111, allocations: 3.883 MB / 0.6155 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/0.9221, allocations: 2.254 MB / 0.6177 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005599/0.9277, allocations: 1.594 MB / 0.6192 GB, free: 156.3 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009312/0.937, allocations: 6.631 MB / 0.6257 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005473/0.9425, allocations: 435 kB / 0.6261 GB, free: 153.6 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/0.9437, allocations: 414.5 kB / 0.6265 GB, free: 153.6 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (856): * Single equations (assignments): 847 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004287/0.948, allocations: 2.22 MB / 0.6287 GB, free: 153 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007381/0.9487, allocations: 395.6 kB / 0.6291 GB, free: 153 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006519/0.9552, allocations: 3.313 MB / 0.6323 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005138/0.9604, allocations: 2.766 MB / 0.635 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.422e-05/0.9604, allocations: 2.25 kB / 0.635 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.9604, allocations: 13.39 kB / 0.635 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01723/0.9776, allocations: 10.36 MB / 0.6451 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-05/0.9777, allocations: 15 kB / 0.6452 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/0.9792, allocations: 378 kB / 0.6455 GB, free: 147 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002887/0.9821, allocations: 0.9803 MB / 0.6465 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000292/0.9824, allocations: 65.59 kB / 0.6465 GB, free: 146.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004316/0.9867, allocations: 4.907 MB / 0.6513 GB, free: 143.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007441/0.9874, allocations: 1.564 MB / 0.6529 GB, free: 142.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008327/0.9958, allocations: 5.976 MB / 0.6587 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001067/0.9968, allocations: 461.6 kB / 0.6591 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004495/0.9973, allocations: 55.11 kB / 0.6592 GB, free: 138.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001662/0.9989, allocations: 164.2 kB / 0.6593 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002955/0.9992, allocations: 167.7 kB / 0.6595 GB, free: 138.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/0.9994, allocations: 79.67 kB / 0.6596 GB, free: 138.4 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003571/1.003, allocations: 2.587 MB / 0.6621 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/1.003, allocations: 0 / 0.6621 GB, free: 137.1 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005887/1.009, allocations: 1.136 MB / 0.6632 GB, free: 136.8 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005324/1.009, allocations: 224.5 kB / 0.6634 GB, free: 136.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.009102/1.018, allocations: 5.831 MB / 0.6691 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/1.018, allocations: 0 / 0.6691 GB, free: 130.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.003519/1.022, allocations: 2.126 MB / 0.6712 GB, free: 128.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003059/1.025, allocations: 497.1 kB / 0.6717 GB, free: 128.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01604/1.041, allocations: 11.27 MB / 0.6827 GB, free: 116.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002966/1.044, allocations: 3.453 MB / 0.6861 GB, free: 113.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/1.045, allocations: 327.4 kB / 0.6864 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.332e-06/1.045, allocations: 0 / 0.6864 GB, free: 112.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.3672/1.412, allocations: 142.1 MB / 0.8251 GB, free: 183.4 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp:25: In file included from ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgLoopMain.cpp:24: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:74:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp155 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:103: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:153: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:204: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:256: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:307: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:358: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:76:408: error: use of undeclared identifier 'body1_P_Q_start_' tmp156 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:51: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:102: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgloop785.cpp:78:156: error: use of undeclared identifier 'body1_P_Q_start_' tmp157 = 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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.2986906371079385] 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]', 'p2.s', 'p2.v'] 1.4214466919656843 1.432661644 1.030571841 Calling exit ...