Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheelSetPulling,fileNamePrefix="Modelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPulling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.13/2.13, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.784e-05, allocations: 4 kB / 292.2 MB, free: 8.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 50.4 MB / 342.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4854/0.589, allocations: 105 MB / 447.6 MB, free: 5.098 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.5894, allocations: 89.58 kB / 447.7 MB, free: 5.055 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8166/1.406, allocations: 122.5 MB / 0.5568 GB, free: 92.96 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.925e-06/1.406, allocations: 2.719 kB / 0.5568 GB, free: 92.96 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004062/1.406, allocations: 123.7 kB / 0.5569 GB, free: 92.96 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2047 * Number of variables: 2047 Notification: Performance of Generate backend data structure: time 0.0271/1.434, allocations: 6.221 MB / 0.563 GB, free: 90.66 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/1.434, allocations: 7.938 kB / 0.563 GB, free: 90.66 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005105/1.439, allocations: 1.036 MB / 0.564 GB, free: 90.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/1.461, allocations: 2.758 MB / 0.5667 GB, free: 90.17 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02425/1.485, allocations: 7.258 MB / 0.5738 GB, free: 89.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005874/1.486, allocations: 451.5 kB / 0.5743 GB, free: 89.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003665/1.49, allocations: 0.5994 MB / 0.5748 GB, free: 89.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04929/1.539, allocations: 15.52 MB / 0.59 GB, free: 83.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004887/1.54, allocations: 83.72 kB / 0.5901 GB, free: 83.37 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003119/1.543, allocations: 290.5 kB / 0.5903 GB, free: 83.2 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003503/1.546, allocations: 1.46 MB / 0.5918 GB, free: 82.91 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04227/1.589, allocations: 13.21 MB / 0.6047 GB, free: 77.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1439/1.732, allocations: 68.78 MB / 0.6718 GB, free: 13.35 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03402/1.767, allocations: 7.58 MB / 0.6792 GB, free: 5.613 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009074/1.776, allocations: 4.979 MB / 0.6841 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4154/2.191, allocations: 14.35 MB / 0.6981 GB, free: 84.95 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03242/2.224, allocations: 5.622 MB / 0.7036 GB, free: 84.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=292): time 1.495e-05/2.224, allocations: 0 / 0.7036 GB, free: 84.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=388): time 0.2549/2.479, allocations: 44.26 MB / 0.7468 GB, free: 76.1 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000111/2.479, allocations: 250.2 kB / 0.7471 GB, free: 75.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01059/2.489, allocations: 4.503 MB / 0.7515 GB, free: 74.24 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001321/2.491, allocations: 80.98 kB / 0.7515 GB, free: 74.17 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004201/2.495, allocations: 3.879 MB / 0.7553 GB, free: 71.17 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00265/2.498, allocations: 1.431 MB / 0.7567 GB, free: 70.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001268/2.499, allocations: 159 kB / 0.7569 GB, free: 69.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005511/2.5, allocations: 0.6605 MB / 0.7575 GB, free: 69.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01077/2.51, allocations: 4.567 MB / 0.762 GB, free: 67.78 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01363/2.524, allocations: 8.798 MB / 0.7706 GB, free: 59.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01378/2.538, allocations: 6.336 MB / 0.7768 GB, free: 54.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001343/2.538, allocations: 40 kB / 0.7768 GB, free: 54.3 MB / 442.7 MB Notification: Performance of matching and sorting (n=1075) (initialization): time 0.06202/2.6, allocations: 18.6 MB / 0.795 GB, free: 39.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/2.6, allocations: 68 kB / 0.795 GB, free: 39.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001933/2.601, allocations: 152.1 kB / 0.7952 GB, free: 39.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03343/2.634, allocations: 6.574 MB / 0.8016 GB, free: 33.95 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01189/2.646, allocations: 1.809 MB / 0.8034 GB, free: 32.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08084/2.727, allocations: 35.63 MB / 0.8382 GB, free: 12.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/2.739, allocations: 0.5928 MB / 0.8387 GB, free: 11.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002692/2.742, allocations: 0.4921 MB / 0.8392 GB, free: 11.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 680 * Number of states: 0 () * Number of discrete variables: 59 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,shape.color[3],shape.color[2],shape.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],wheelSet.wheelSetJoint.revolute2.cylinderColor[3],wheelSet.wheelSetJoint.revolute2.cylinderColor[2],wheelSet.wheelSetJoint.revolute2.cylinderColor[1],wheelSet.wheelSetJoint.revolute1.cylinderColor[3],wheelSet.wheelSetJoint.revolute1.cylinderColor[2],wheelSet.wheelSetJoint.revolute1.cylinderColor[1],wheelSet.wheelSetJoint.rod2.color[3],wheelSet.wheelSetJoint.rod2.color[2],wheelSet.wheelSetJoint.rod2.color[1],wheelSet.wheelSetJoint.revolute.cylinderColor[3],wheelSet.wheelSetJoint.revolute.cylinderColor[2],wheelSet.wheelSetJoint.revolute.cylinderColor[1],wheelSet.wheelSetJoint.prismatic2.boxColor[3],wheelSet.wheelSetJoint.prismatic2.boxColor[2],wheelSet.wheelSetJoint.prismatic2.boxColor[1],wheelSet.wheelSetJoint.prismatic1.boxColor[3],wheelSet.wheelSetJoint.prismatic1.boxColor[2],wheelSet.wheelSetJoint.prismatic1.boxColor[1],wheelSet.wheelSetJoint.rod1.color[3],wheelSet.wheelSetJoint.rod1.color[2],wheelSet.wheelSetJoint.rod1.color[1],wheelSet.wheelSetJoint.fixed.color[3],wheelSet.wheelSetJoint.fixed.color[2],wheelSet.wheelSetJoint.fixed.color[1],wheelSet.body1.sphereColor[3],wheelSet.body1.sphereColor[2],wheelSet.body1.sphereColor[1],wheelSet.body2.sphereColor[3],wheelSet.body2.sphereColor[2],wheelSet.body2.sphereColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],force.color[3],force.color[2],force.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (913): * Single equations (assignments): 905 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,75.5%) 105,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004518/2.746, allocations: 0.7174 MB / 0.8399 GB, free: 10.48 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002815/2.749, allocations: 0.4898 MB / 0.8404 GB, free: 9.984 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.417/3.166, allocations: 13.95 MB / 0.854 GB, free: 88.07 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.523e-05/3.166, allocations: 41.06 kB / 0.8541 GB, free: 88.07 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.856e-05/3.166, allocations: 32.06 kB / 0.8541 GB, free: 88.07 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-05/3.166, allocations: 15.77 kB / 0.8541 GB, free: 88.07 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1107/3.277, allocations: 26.71 MB / 0.8802 GB, free: 86.68 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.747e-05/3.277, allocations: 3.125 kB / 0.8802 GB, free: 86.68 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007443/3.285, allocations: 0.5381 MB / 0.8807 GB, free: 86.68 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0501/3.335, allocations: 6.399 MB / 0.887 GB, free: 86.63 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001634/3.336, allocations: 78.41 kB / 0.887 GB, free: 86.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1031/3.44, allocations: 34.32 MB / 0.9206 GB, free: 72.2 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/3.44, allocations: 7.75 kB / 0.9206 GB, free: 72.2 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06216/3.502, allocations: 20.46 MB / 0.9406 GB, free: 64.55 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001972/3.504, allocations: 0.5782 MB / 0.9411 GB, free: 64.41 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002644/3.506, allocations: 71.2 kB / 0.9412 GB, free: 64.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007332/3.514, allocations: 351 kB / 0.9415 GB, free: 64.32 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002066/3.516, allocations: 276.1 kB / 0.9418 GB, free: 64.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009891/3.517, allocations: 106.8 kB / 0.9419 GB, free: 64.25 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008383/3.525, allocations: 3.211 MB / 0.945 GB, free: 61.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.052e-06/3.525, allocations: 2.844 kB / 0.945 GB, free: 61.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01265/3.538, allocations: 1.927 MB / 0.9469 GB, free: 59.66 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (wheelSet.x,wheelSet.y,wheelSet.phi,wheelSet.theta1,wheelSet.theta2,wheelSet.der_theta1,wheelSet.der_theta2) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (241): * Single equations (assignments): 231 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(10,63.0%) 99,(1,100.0%) 21} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.06624/3.604, allocations: 22.18 MB / 0.9686 GB, free: 41.15 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02891/3.633, allocations: 11.78 MB / 0.9801 GB, free: 29.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/3.633, allocations: 0 / 0.9801 GB, free: 29.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01574/3.649, allocations: 5.736 MB / 0.9857 GB, free: 23.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005993/3.655, allocations: 0.604 MB / 0.9863 GB, free: 23.11 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06908/3.724, allocations: 17.49 MB / 1.003 GB, free: 5.652 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0142/3.739, allocations: 4.699 MB / 1.008 GB, free: 0.9375 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01068/3.749, allocations: 2.853 MB / 1.011 GB, free: 14.14 MB / 474.7 MB Notification: Performance of SimCode: time 1.834e-06/3.749, allocations: 1.125 kB / 1.011 GB, free: 14.14 MB / 474.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPullingCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPullingCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPullingCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPullingFunctions.cpp:223:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp21.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPullingCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPullingFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPullingCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheelSetPullingCalcHelperMain.o] Error 1