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.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.007877/0.007877, allocations: 109.7 kB / 21.98 MB, free: 5.184 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.002236/0.002236, allocations: 220.6 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 259 MB, free: 8.043 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.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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem") [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.001955/0.001955, allocations: 67.88 kB / 379.8 MB, free: 2.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2424/0.2443, allocations: 53.37 MB / 433.2 MB, free: 6.965 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01454/0.2589, allocations: 12.05 MB / 445.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009699/0.2686, allocations: 4.266 MB / 449.5 MB, free: 6.586 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002241/0.2708, allocations: 79.62 kB / 449.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005601/0.2764, allocations: 2.799 MB / 452.4 MB, free: 3.699 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005668/0.2821, allocations: 1.996 MB / 454.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001979/0.2841, allocations: 0.7995 MB / 455.2 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007523/0.2916, allocations: 4.694 MB / 459.9 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004532/0.2961, allocations: 2.933 MB / 462.8 MB, free: 9.207 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003459/0.2996, allocations: 1.709 MB / 464.5 MB, free: 7.492 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004761/0.3043, allocations: 2.523 MB / 467 MB, free: 4.961 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001355/0.3057, allocations: 352 kB / 467.4 MB, free: 4.617 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003135/0.3088, allocations: 1.299 MB / 468.7 MB, free: 3.316 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002836/0.3117, allocations: 2.138 MB / 470.8 MB, free: 1.172 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004141/0.3158, allocations: 2.412 MB / 473.2 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01102/0.3268, allocations: 7.498 MB / 480.7 MB, free: 7.219 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.3268, allocations: 3.938 kB / 480.7 MB, free: 7.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.3268, allocations: 0 / 480.7 MB, free: 7.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000237/0.3271, allocations: 0 / 480.7 MB, free: 7.215 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.0123/0.3394, allocations: 5.295 MB / 486 MB, free: 1.859 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.79e-05/0.3394, allocations: 12.03 kB / 486 MB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008784/0.3482, allocations: 2.193 MB / 488.2 MB, free: 15.65 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006125/0.3543, allocations: 2.422 MB / 490.6 MB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000289/0.3546, allocations: 274.9 kB / 490.9 MB, free: 12.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001449/0.3561, allocations: 439.6 kB / 491.3 MB, free: 12.48 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02517/0.3812, allocations: 12.27 MB / 0.4918 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/0.3814, allocations: 51.56 kB / 0.4919 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005342/0.3819, allocations: 175.8 kB / 0.492 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003512/0.3854, allocations: 2.162 MB / 0.4941 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02358/0.409, allocations: 10.25 MB / 0.5041 GB, free: 2.738 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3/0.709, allocations: 44.04 MB / 0.5472 GB, free: 70.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.7198, allocations: 3.844 MB / 0.5509 GB, free: 70.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002345/0.7221, allocations: 1.626 MB / 0.5525 GB, free: 70.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01075/0.7329, allocations: 6.891 MB / 0.5592 GB, free: 67.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.7329, allocations: 57.75 kB / 0.5593 GB, free: 67.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.508e-06/0.7329, allocations: 2 kB / 0.5593 GB, free: 67.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03536/0.7683, allocations: 16 MB / 0.5749 GB, free: 56.48 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008438/0.7691, allocations: 1.584 MB / 0.5765 GB, free: 54.75 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004466/0.7736, allocations: 4.206 MB / 0.5806 GB, free: 50.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003966/0.774, allocations: 57.7 kB / 0.5806 GB, free: 50.56 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001326/0.7753, allocations: 3.532 MB / 0.5841 GB, free: 47.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000647/0.7759, allocations: 0.8435 MB / 0.5849 GB, free: 46.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001248/0.7772, allocations: 1.376 MB / 0.5862 GB, free: 44.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.838e-05/0.7772, allocations: 301.1 kB / 0.5865 GB, free: 44.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002672/0.7799, allocations: 2.28 MB / 0.5887 GB, free: 42.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003932/0.7838, allocations: 6.42 MB / 0.595 GB, free: 34.04 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007598/0.7914, allocations: 9.343 MB / 0.6041 GB, free: 22.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.948e-05/0.7915, allocations: 47.98 kB / 0.6042 GB, free: 22.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=894) (initialization): time 0.01998/0.8115, allocations: 10.18 MB / 0.6141 GB, free: 12.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.445e-05/0.8116, allocations: 68 kB / 0.6142 GB, free: 12.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009774/0.8213, allocations: 3.889 MB / 0.618 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009199/0.8305, allocations: 2.254 MB / 0.6202 GB, free: 6.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004935/0.8355, allocations: 1.599 MB / 0.6218 GB, free: 4.715 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00824/0.8437, allocations: 6.42 MB / 0.628 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005788/0.8495, allocations: 435.5 kB / 0.6284 GB, free: 13.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001218/0.8507, allocations: 419.7 kB / 0.6288 GB, free: 13.23 MB / 462.1 MB 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.004434/0.8552, allocations: 2.214 MB / 0.631 GB, free: 11 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009356/0.8561, allocations: 389.4 kB / 0.6314 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007019/0.8631, allocations: 3.313 MB / 0.6346 GB, free: 7.281 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005859/0.869, allocations: 2.769 MB / 0.6373 GB, free: 4.492 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/0.869, allocations: 4 kB / 0.6373 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.701e-05/0.869, allocations: 7.969 kB / 0.6373 GB, free: 4.48 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02095/0.89, allocations: 10.2 MB / 0.6473 GB, free: 10.04 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.708e-05/0.89, allocations: 12 kB / 0.6473 GB, free: 10.03 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001649/0.8916, allocations: 375.4 kB / 0.6477 GB, free: 9.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003004/0.8946, allocations: 0.9868 MB / 0.6486 GB, free: 8.66 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000242/0.8949, allocations: 64.47 kB / 0.6487 GB, free: 8.598 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005787/0.9007, allocations: 4.706 MB / 0.6533 GB, free: 3.664 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001392/0.9021, allocations: 1.461 MB / 0.6547 GB, free: 2.078 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01028/0.9123, allocations: 5.976 MB / 0.6605 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.9136, allocations: 381.2 kB / 0.6609 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004376/0.9141, allocations: 63.98 kB / 0.661 GB, free: 11.46 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001631/0.9157, allocations: 147.8 kB / 0.6611 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003684/0.9161, allocations: 180.3 kB / 0.6613 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001617/0.9162, allocations: 83.97 kB / 0.6614 GB, free: 11.05 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004698/0.9209, allocations: 2.581 MB / 0.6639 GB, free: 8.465 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9209, allocations: 0 / 0.6639 GB, free: 8.465 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006158/0.9271, allocations: 1.141 MB / 0.665 GB, free: 7.324 MB / 494.1 MB 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.0005836/0.9277, allocations: 221.2 kB / 0.6652 GB, free: 7.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01164/0.9393, allocations: 5.669 MB / 0.6707 GB, free: 1.43 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.669e-05/0.9393, allocations: 4 kB / 0.6707 GB, free: 1.426 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004293/0.9436, allocations: 1.98 MB / 0.6727 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003281/0.9469, allocations: 0.4994 MB / 0.6732 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02143/0.9683, allocations: 11.35 MB / 0.6842 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004762/0.9731, allocations: 3.452 MB / 0.6876 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/0.9744, allocations: 327.4 kB / 0.6879 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of SimCode: time 2.244e-06/0.9744, allocations: 0 / 0.6879 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of Templates: time 0.4232/1.398, allocations: 142.1 MB / 0.8267 GB, free: 147 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.makefile [Timeout 660] make -j1 -f Modelica_4.1.0-beta.om_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/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp In file included from OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.cpp:25: In file included from ./OMCppModelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemAlgLoopMain.cpp:24: ./OMCppModelica_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.449881850974634] 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.4074070628266782 1.416322824 1.086989425 Calling exit ...