Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") translateModel(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009764/0.0009763, allocations: 97.58 kB / 18.01 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001123/0.001123, allocations: 202.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.363/1.363, allocations: 227.7 MB / 247.5 MB, free: 11.06 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002395/0.0002395, allocations: 4 kB / 308.4 MB, free: 0.7578 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0981/0.09836, allocations: 51.52 MB / 359.9 MB, free: 13.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.2842/0.3826, allocations: 107.1 MB / 467.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.05088/0.4335, allocations: 21.89 MB / 488.9 MB, free: 9.531 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02577/0.4593, allocations: 474.9 kB / 489.4 MB, free: 9.066 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004764/0.4641, allocations: 0.9949 MB / 490.4 MB, free: 8.066 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01069/0.4749, allocations: 3.398 MB / 493.8 MB, free: 4.66 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006001/0.4809, allocations: 2.377 MB / 496.2 MB, free: 2.285 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01902/0.4999, allocations: 15.42 MB / 0.4996 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03169/0.5317, allocations: 21.45 MB / 0.5205 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007098/0.5388, allocations: 3.409 MB / 0.5239 GB, free: 9.809 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009382/0.5482, allocations: 5.65 MB / 0.5294 GB, free: 4.141 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002896/0.5512, allocations: 464 kB / 0.5298 GB, free: 3.688 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005498/0.5567, allocations: 1.833 MB / 0.5316 GB, free: 1.852 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2526/0.8093, allocations: 4.778 MB / 0.5363 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01463/0.824, allocations: 5.484 MB / 0.5417 GB, free: 19.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02382/0.8478, allocations: 18.33 MB / 0.5596 GB, free: 18.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.8478, allocations: 0 / 0.5596 GB, free: 18.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.8478, allocations: 1.312 kB / 0.5596 GB, free: 18.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.001039/0.8489, allocations: 0.9375 kB / 0.5596 GB, free: 18.14 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4012 * Number of variables: 4012 Notification: Performance of Generate backend data structure: time 0.03591/0.8848, allocations: 11.43 MB / 0.5707 GB, free: 11.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.8849, allocations: 12 kB / 0.5707 GB, free: 11.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01434/0.8992, allocations: 3.113 MB / 0.5738 GB, free: 10.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01543/0.9147, allocations: 6.836 MB / 0.5804 GB, free: 8.066 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007902/0.9155, allocations: 0.7431 MB / 0.5812 GB, free: 8.047 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005122/0.9207, allocations: 1.102 MB / 0.5822 GB, free: 8.004 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08055/1.001, allocations: 34.01 MB / 0.6155 GB, free: 8.508 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006071/1.002, allocations: 82.28 kB / 0.6155 GB, free: 8.469 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00452/1.006, allocations: 451.7 kB / 0.616 GB, free: 8.102 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007786/1.014, allocations: 4.557 MB / 0.6204 GB, free: 3.602 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07585/1.09, allocations: 32.08 MB / 0.6517 GB, free: 3.879 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4123/1.502, allocations: 114.2 MB / 0.7632 GB, free: 186.7 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05283/1.555, allocations: 18.92 MB / 0.7817 GB, free: 185.9 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01155/1.567, allocations: 10.02 MB / 0.7915 GB, free: 182.1 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04818/1.615, allocations: 32.31 MB / 0.823 GB, free: 163.1 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.206e-05/1.615, allocations: 89.78 kB / 0.8231 GB, free: 163 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=512): time 1.048e-05/1.615, allocations: 0 / 0.8231 GB, free: 163 MB / 0.5606 GB Notification: Performance of matching and sorting (n=773): time 0.819/2.434, allocations: 163.9 MB / 0.9832 GB, free: 233 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001868/2.435, allocations: 207.2 kB / 0.9834 GB, free: 232.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02071/2.455, allocations: 7.954 MB / 0.9912 GB, free: 232.5 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.002818/2.458, allocations: 147.6 kB / 0.9913 GB, free: 232.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.006086/2.464, allocations: 6.934 MB / 0.9981 GB, free: 228.4 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.004716/2.469, allocations: 2.738 MB / 1.001 GB, free: 226.4 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004792/2.474, allocations: 1.307 MB / 1.002 GB, free: 225.8 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.833e-05/2.474, allocations: 308.2 kB / 1.002 GB, free: 225.5 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01875/2.493, allocations: 11.24 MB / 1.013 GB, free: 220.9 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02173/2.514, allocations: 17.8 MB / 1.031 GB, free: 207.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03759/2.552, allocations: 30.25 MB / 1.06 GB, free: 188 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002408/2.552, allocations: 60 kB / 1.06 GB, free: 187.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.05361/2.606, allocations: 29.55 MB / 1.089 GB, free: 161.3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003116/2.606, allocations: 102.3 kB / 1.089 GB, free: 161.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004175/2.607, allocations: 221.1 kB / 1.089 GB, free: 161 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003903/2.607, allocations: 312.8 kB / 1.09 GB, free: 160.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02168/2.629, allocations: 4.593 MB / 1.094 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004734/2.629, allocations: 455.3 kB / 1.095 GB, free: 156.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01515/2.644, allocations: 1.182 MB / 1.096 GB, free: 155.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004177/2.649, allocations: 0.7493 MB / 1.097 GB, free: 155.1 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1004 * Number of states: 0 () * Number of discrete variables: 102 (body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body3.cylinderColor[3],body3.cylinderColor[2],body3.cylinderColor[1],rod4.color[3],rod4.color[2],rod4.color[1],jointRRR3.rodColor[3],jointRRR3.rodColor[2],jointRRR3.rodColor[1],jointRRR3.cylinderColor[3],jointRRR3.cylinderColor[2],jointRRR3.cylinderColor[1],jointRRR3.jointUSR.rod1Color[3],jointRRR3.jointUSR.rod1Color[2],jointRRR3.jointUSR.rod1Color[1],jointRRR3.jointUSR.cylinderColor[3],jointRRR3.jointUSR.cylinderColor[2],jointRRR3.jointUSR.cylinderColor[1],jointRRR3.jointUSR.sphereColor[3],jointRRR3.jointUSR.sphereColor[2],jointRRR3.jointUSR.sphereColor[1],jointRRR3.jointUSR.revoluteColor[3],jointRRR3.jointUSR.revoluteColor[2],jointRRR3.jointUSR.revoluteColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body2.cylinderColor[3],body2.cylinderColor[2],body2.cylinderColor[1],rod3.color[3],rod3.color[2],rod3.color[1],jointRRR2.rodColor[3],jointRRR2.rodColor[2],jointRRR2.rodColor[1],jointRRR2.cylinderColor[3],jointRRR2.cylinderColor[2],jointRRR2.cylinderColor[1],jointRRR2.jointUSR.rod1Color[3],jointRRR2.jointUSR.rod1Color[2],jointRRR2.jointUSR.rod1Color[1],jointRRR2.jointUSR.cylinderColor[3],jointRRR2.jointUSR.cylinderColor[2],jointRRR2.jointUSR.cylinderColor[1],jointRRR2.jointUSR.sphereColor[3],jointRRR2.jointUSR.sphereColor[2],jointRRR2.jointUSR.sphereColor[1],jointRRR2.jointUSR.revoluteColor[3],jointRRR2.jointUSR.revoluteColor[2],jointRRR2.jointUSR.revoluteColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body1.cylinderColor[3],body1.cylinderColor[2],body1.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],jointRRR1.rodColor[3],jointRRR1.rodColor[2],jointRRR1.rodColor[1],jointRRR1.cylinderColor[3],jointRRR1.cylinderColor[2],jointRRR1.cylinderColor[1],jointRRR3.jointUSR.revolute.positiveBranch,jointRRR2.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.revolute.positiveBranch,jointRRR1.jointUSR.rod1Color[3],jointRRR1.jointUSR.rod1Color[2],jointRRR1.jointUSR.rod1Color[1],jointRRR1.jointUSR.cylinderColor[3],jointRRR1.jointUSR.cylinderColor[2],jointRRR1.jointUSR.cylinderColor[1],jointRRR1.jointUSR.sphereColor[3],jointRRR1.jointUSR.sphereColor[2],jointRRR1.jointUSR.sphereColor[1],jointRRR1.jointUSR.revoluteColor[3],jointRRR1.jointUSR.revoluteColor[2],jointRRR1.jointUSR.revoluteColor[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 (1905): * Single equations (assignments): 1896 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01493/2.664, allocations: 5.499 MB / 1.102 GB, free: 150.3 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003282/2.667, allocations: 0.7983 MB / 1.103 GB, free: 149.4 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03741/2.704, allocations: 21.37 MB / 1.124 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.009e-05/2.704, allocations: 80.41 kB / 1.124 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.727e-05/2.704, allocations: 0 / 1.124 GB, free: 128.9 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001404/2.705, allocations: 35.86 kB / 1.124 GB, free: 128.8 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0806/2.785, allocations: 45.94 MB / 1.169 GB, free: 82.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-05/2.785, allocations: 9.25 kB / 1.169 GB, free: 82.69 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01531/2.801, allocations: 2.523 MB / 1.171 GB, free: 80.16 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/2.801, allocations: 28 kB / 1.171 GB, free: 80.13 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002604/2.803, allocations: 144.7 kB / 1.171 GB, free: 79.99 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.809e-05/2.803, allocations: 28 kB / 1.171 GB, free: 79.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/2.804, allocations: 11.94 kB / 1.171 GB, free: 79.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05244/2.856, allocations: 35.78 MB / 1.206 GB, free: 43.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008561/2.865, allocations: 2.896 MB / 1.209 GB, free: 41.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005174/2.87, allocations: 128 kB / 1.209 GB, free: 40.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01012/2.88, allocations: 0.7916 MB / 1.21 GB, free: 40.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003026/2.883, allocations: 416.8 kB / 1.21 GB, free: 39.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002065/2.885, allocations: 192.8 kB / 1.21 GB, free: 39.5 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.2438/3.129, allocations: 4.978 MB / 1.215 GB, free: 219.3 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8.61e-07/3.129, allocations: 0 / 1.215 GB, free: 219.3 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01932/3.148, allocations: 3.249 MB / 1.219 GB, free: 219.3 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * Number of states: 2 (rev.phi,rev.w) * 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 (757): * Single equations (assignments): 754 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003451/3.152, allocations: 444.7 kB / 1.219 GB, free: 219.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.04263/3.194, allocations: 25.04 MB / 1.243 GB, free: 210.9 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/3.194, allocations: 0 / 1.243 GB, free: 210.9 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01694/3.211, allocations: 10.67 MB / 1.254 GB, free: 206.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01849/3.23, allocations: 0.9683 MB / 1.255 GB, free: 205.7 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06832/3.298, allocations: 41.61 MB / 1.295 GB, free: 176.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01586/3.314, allocations: 8.082 MB / 1.303 GB, free: 169.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009065/3.323, allocations: 0.7195 MB / 1.304 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/3.323, allocations: 0 / 1.304 GB, free: 169.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.4998/3.823, allocations: 194.7 MB / 1.494 GB, free: 196.4 MB / 0.5606 GB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile clang++ -std=c++14 -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_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.o OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:17: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:968:36: error: duplicate member '_jointRRR1_P_jointUSR_P_revolute_P_e_' StatArrayDim1 _jointRRR1_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:418:36: note: previous declaration is here StatArrayDim1 _jointRRR1_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:1053:36: error: duplicate member '_jointRRR2_P_jointUSR_P_revolute_P_e_' StatArrayDim1 _jointRRR2_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:509:36: note: previous declaration is here StatArrayDim1 _jointRRR2_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:1138:36: error: duplicate member '_jointRRR3_P_jointUSR_P_revolute_P_e_' StatArrayDim1 _jointRRR3_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:603:36: note: previous declaration is here StatArrayDim1 _jointRRR3_P_jointUSR_P_revolute_P_e_; ^ In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:27: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticMixed.cpp:7:3: error: no matching constructor for initialization of 'PlanarLoops_analyticJacobian' : PlanarLoops_analyticJacobian(instance) ^ ~~~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticJacobian.h:13:3: note: candidate constructor not viable: no known conversion from 'PlanarLoops_analyticMixed' to 'PlanarLoops_analyticJacobian &' for 1st argument PlanarLoops_analyticJacobian(PlanarLoops_analyticJacobian& instance); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticJacobian.h:12:3: note: candidate constructor not viable: requires 2 arguments, but 1 was provided PlanarLoops_analyticJacobian(IGlobalSettings* globalSettings, shared_ptr simObjects); ^ In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:27: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticMixed.cpp:25:14: error: cannot initialize object parameter of type 'PlanarLoops_analyticJacobian' with an expression of type 'PlanarLoops_analyticMixed' return getAJacobian(); ^~~~~~~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticMixed.cpp:42:20: error: cannot initialize object parameter of type 'PlanarLoops_analyticJacobian' with an expression of type 'PlanarLoops_analyticMixed' return getAJacobian(); ^~~~~~~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticMixed.cpp:104:32: error: cannot initialize object parameter of type 'PlanarLoops_analytic' with an expression of type 'PlanarLoops_analyticMixed' return PlanarLoops_analytic::saveAll(); ^~~~~~~ In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:10:3: error: no matching constructor for initialization of 'PlanarLoops_analyticWriteOutput' : PlanarLoops_analyticWriteOutput(instance) ^ ~~~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticWriteOutput.h:14:3: note: candidate constructor not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'PlanarLoops_analyticWriteOutput &' for 1st argument PlanarLoops_analyticWriteOutput(PlanarLoops_analyticWriteOutput& instance); ^ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticWriteOutput.h:13:3: note: candidate constructor not viable: requires 2 arguments, but 1 was provided PlanarLoops_analyticWriteOutput(IGlobalSettings* globalSettings, shared_ptr simObjects); ^ In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:28:10: error: cannot initialize return object of type 'IMixedSystem *' with an rvalue of type 'PlanarLoops_analyticInitialize *' return new PlanarLoops_analyticInitialize(*this); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:51:4: error: cannot initialize object parameter of type 'PlanarLoops_analyticMixed' with an expression of type 'PlanarLoops_analyticInitialize' saveAll(); ^~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:56:56: error: cannot initialize object parameter of type 'SystemDefaultImplementation' with an expression of type 'PlanarLoops_analyticInitialize' _discrete_events = _event_handling->initialize(this,getSimVars()); ^~~~~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:61:37: error: cannot initialize object parameter of type 'PlanarLoops_analyticWriteOutput' with an expression of type 'PlanarLoops_analyticInitialize' PlanarLoops_analyticWriteOutput::initialize(); ^~~~~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:62:34: error: cannot initialize object parameter of type 'PlanarLoops_analyticJacobian' with an expression of type 'PlanarLoops_analyticInitialize' PlanarLoops_analyticJacobian::initialize(); ^~~~~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:63:34: error: cannot initialize object parameter of type 'PlanarLoops_analyticJacobian' with an expression of type 'PlanarLoops_analyticInitialize' PlanarLoops_analyticJacobian::initializeColoredJacobianA(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:71:40: error: cannot initialize object parameter of type 'SystemDefaultImplementation' with an expression of type 'PlanarLoops_analyticInitialize' _reader->readInitialValues(*this, getSimVars()); ^~~~~~~~~~ ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:84:33: error: no matching member function for call to 'setRealStartValue' SystemDefaultImplementation::setRealStartValue(_body1_P_Q_(1),_body1_P_Q_start_(1)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:160:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(double& var, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:161:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:162:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, const BaseArray& aval, bool overwriteOldValue = false); ^ In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:85:33: error: no matching member function for call to 'setRealStartValue' SystemDefaultImplementation::setRealStartValue(_body1_P_Q_(2),_body1_P_Q_start_(2)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:160:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(double& var, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:161:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:162:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, const BaseArray& aval, bool overwriteOldValue = false); ^ In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:86:33: error: no matching member function for call to 'setRealStartValue' SystemDefaultImplementation::setRealStartValue(_body1_P_Q_(3),_body1_P_Q_start_(3)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:160:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(double& var, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:161:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:162:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, const BaseArray& aval, bool overwriteOldValue = false); ^ In file included from OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:87:33: error: no matching member function for call to 'setRealStartValue' SystemDefaultImplementation::setRealStartValue(_body1_P_Q_(4),_body1_P_Q_start_(4)); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:160:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(double& var, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:161:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, double val, bool overwriteOldValue = false); ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/System/SystemDefaultImplementation.h:162:16: note: candidate function not viable: no known conversion from 'PlanarLoops_analyticInitialize' to 'SystemDefaultImplementation' for object argument virtual void setRealStartValue(BaseArray& avar, const BaseArray& aval, bool overwriteOldValue = false); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppModelica_trunk_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.o] Error 1