Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007798/0.0007798, allocations: 97.19 kB / 17.31 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008292/0.0008293, allocations: 182.5 kB / 18.22 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.106/1.106, allocations: 223.3 MB / 242.3 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002159/0.0002159, allocations: 7.938 kB / 302.1 MB, free: 5.879 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06835/0.06858, allocations: 50.41 MB / 352.5 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic): time 0.2027/0.2713, allocations: 107.9 MB / 460.4 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.03707/0.3084, allocations: 22.22 MB / 482.6 MB, free: 1.871 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01277/0.3212, allocations: 478.9 kB / 483.1 MB, free: 1.402 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002057/0.3233, allocations: 0.9871 MB / 484 MB, free: 420 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006259/0.3295, allocations: 3.425 MB / 487.5 MB, free: 12.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00369/0.3332, allocations: 2.372 MB / 489.8 MB, free: 10.6 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01291/0.3462, allocations: 15.3 MB / 0.4933 GB, free: 11.28 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02322/0.3694, allocations: 21.49 MB / 0.5143 GB, free: 5.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004643/0.3741, allocations: 3.417 MB / 0.5176 GB, free: 2.207 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00682/0.3809, allocations: 5.65 MB / 0.5231 GB, free: 12.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.3819, allocations: 464 kB / 0.5236 GB, free: 12.09 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002954/0.3849, allocations: 1.857 MB / 0.5254 GB, free: 10.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003414/0.3883, allocations: 4.811 MB / 0.5301 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2928/0.6811, allocations: 5.517 MB / 0.5355 GB, free: 24.7 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01543/0.6965, allocations: 18.38 MB / 0.5534 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.6966, allocations: 0.9062 kB / 0.5534 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.6966, allocations: 0 / 0.5534 GB, free: 23.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0006415/0.6972, allocations: 0 / 0.5534 GB, free: 23.83 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.02518/0.7224, allocations: 11.43 MB / 0.5646 GB, free: 17.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.7224, allocations: 17.72 kB / 0.5646 GB, free: 17.83 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01017/0.7326, allocations: 3.101 MB / 0.5676 GB, free: 16.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008574/0.7412, allocations: 6.906 MB / 0.5744 GB, free: 14.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003328/0.7416, allocations: 0.7413 MB / 0.5751 GB, free: 14.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001776/0.7433, allocations: 1.1 MB / 0.5762 GB, free: 14.17 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05029/0.7936, allocations: 33.98 MB / 0.6094 GB, free: 3.445 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001883/0.7938, allocations: 83.77 kB / 0.6094 GB, free: 3.434 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/0.7949, allocations: 453.6 kB / 0.6099 GB, free: 3.184 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005552/0.8005, allocations: 4.549 MB / 0.6143 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05669/0.8572, allocations: 32.06 MB / 0.6456 GB, free: 15.09 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.277/1.134, allocations: 114.2 MB / 0.7571 GB, free: 179.8 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04419/1.178, allocations: 18.9 MB / 0.7756 GB, free: 179.1 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008346/1.187, allocations: 10.02 MB / 0.7854 GB, free: 174.6 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02718/1.214, allocations: 32.23 MB / 0.8168 GB, free: 151.6 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/1.214, allocations: 93.81 kB / 0.8169 GB, free: 151.5 MB / 0.545 GB Notification: Performance of pre-optimization done (n=512): time 5.33e-06/1.214, allocations: 0 / 0.8169 GB, free: 151.5 MB / 0.545 GB Notification: Performance of matching and sorting (n=773): time 0.6363/1.85, allocations: 166.7 MB / 0.9797 GB, free: 222.7 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.082e-05/1.85, allocations: 206.6 kB / 0.9799 GB, free: 222.6 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008454/1.859, allocations: 7.968 MB / 0.9877 GB, free: 219.8 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.001239/1.86, allocations: 146.4 kB / 0.9878 GB, free: 219.7 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002527/1.863, allocations: 6.935 MB / 0.9946 GB, free: 214.5 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.002021/1.865, allocations: 2.736 MB / 0.9972 GB, free: 212.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00163/1.866, allocations: 1.308 MB / 0.9985 GB, free: 211.9 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.049e-05/1.866, allocations: 311.2 kB / 0.9988 GB, free: 211.6 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0114/1.878, allocations: 11.23 MB / 1.01 GB, free: 207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0132/1.891, allocations: 17.77 MB / 1.027 GB, free: 193.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02599/1.917, allocations: 30.23 MB / 1.057 GB, free: 164.4 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.854e-05/1.917, allocations: 60 kB / 1.057 GB, free: 164.4 MB / 0.545 GB Notification: Performance of matching and sorting (n=1941) (initialization): time 0.0321/1.949, allocations: 29.53 MB / 1.086 GB, free: 137.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.949, allocations: 100 kB / 1.086 GB, free: 137.6 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/1.95, allocations: 224.2 kB / 1.086 GB, free: 137.4 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/1.95, allocations: 308 kB / 1.086 GB, free: 137.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01622/1.966, allocations: 4.593 MB / 1.091 GB, free: 133.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000271/1.966, allocations: 456.8 kB / 1.091 GB, free: 133.2 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01034/1.977, allocations: 1.172 MB / 1.092 GB, free: 132.2 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00119/1.978, allocations: 0.7471 MB / 1.093 GB, free: 131.4 MB / 0.545 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.007664/1.985, allocations: 5.492 MB / 1.098 GB, free: 125.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001565/1.987, allocations: 0.8061 MB / 1.099 GB, free: 125.1 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02346/2.011, allocations: 21.35 MB / 1.12 GB, free: 103.7 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/2.011, allocations: 79.69 kB / 1.12 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/2.011, allocations: 0 / 1.12 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.36e-05/2.011, allocations: 38.92 kB / 1.12 GB, free: 103.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05093/2.062, allocations: 45.92 MB / 1.165 GB, free: 57.46 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-05/2.062, allocations: 12.03 kB / 1.165 GB, free: 57.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01209/2.074, allocations: 2.511 MB / 1.167 GB, free: 54.94 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.454e-05/2.074, allocations: 32 kB / 1.167 GB, free: 54.91 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007123/2.074, allocations: 147.7 kB / 1.168 GB, free: 54.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.683e-05/2.075, allocations: 35.94 kB / 1.168 GB, free: 54.73 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/2.075, allocations: 11.94 kB / 1.168 GB, free: 54.72 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1898/2.264, allocations: 35.75 MB / 1.203 GB, free: 205.9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00492/2.269, allocations: 2.896 MB / 1.205 GB, free: 204.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001266/2.271, allocations: 134.2 kB / 1.205 GB, free: 204.6 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006204/2.277, allocations: 0.7778 MB / 1.206 GB, free: 204.6 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/2.278, allocations: 418.4 kB / 1.207 GB, free: 204.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006508/2.279, allocations: 198.1 kB / 1.207 GB, free: 204.5 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00554/2.284, allocations: 4.978 MB / 1.212 GB, free: 202.8 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.5e-07/2.284, allocations: 3.594 kB / 1.212 GB, free: 202.8 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.008582/2.293, allocations: 3.28 MB / 1.215 GB, free: 202.5 MB / 0.545 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.001217/2.294, allocations: 444.7 kB / 1.215 GB, free: 202.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.02447/2.318, allocations: 25.01 MB / 1.24 GB, free: 192 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/2.318, allocations: 3.906 kB / 1.24 GB, free: 192 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00991/2.328, allocations: 10.66 MB / 1.25 GB, free: 182.5 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01123/2.34, allocations: 0.9679 MB / 1.251 GB, free: 181.7 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04468/2.384, allocations: 41.59 MB / 1.292 GB, free: 144 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007682/2.392, allocations: 8.09 MB / 1.3 GB, free: 137.8 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005863/2.398, allocations: 0.7182 MB / 1.3 GB, free: 137.1 MB / 0.545 GB Notification: Performance of SimCode: time 5.61e-07/2.398, allocations: 4 kB / 1.3 GB, free: 137.1 MB / 0.545 GB Notification: Performance of Templates: time 0.3491/2.747, allocations: 195 MB / 1.491 GB, free: 137.2 MB / 0.545 GB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.makefile make -j1 -f Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.o OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp In file included from OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:17: ./OMCppModelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:418:36: note: previous declaration is here StatArrayDim1 _jointRRR1_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analytic.h:509:36: note: previous declaration is here StatArrayDim1 _jointRRR2_P_jointUSR_P_revolute_P_e_; ^ ./OMCppModelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:27: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticMixed.cpp:7:3: error: no matching constructor for initialization of 'PlanarLoops_analyticJacobian' : PlanarLoops_analyticJacobian(instance) ^ ~~~~~~~~ ./OMCppModelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:27: ./OMCppModelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticInitialize.cpp:10:3: error: no matching constructor for initialization of 'PlanarLoops_analyticWriteOutput' : PlanarLoops_analyticWriteOutput(instance) ^ ~~~~~~~~ ./OMCppModelica_4.0.0_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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.cpp:29: ./OMCppModelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Loops.PlanarLoops_analyticCalcHelperMain.o] Error 1