Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.PlanarLoopWithMove,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_PlanarLoopWithMove",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.492/2.492, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.496e-05/5.541e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4036, allocations: 61.87 MB / 408.9 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2563/0.6599, allocations: 108.5 MB / 0.5053 GB, free: 14.15 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000259/0.6602, allocations: 75.95 kB / 0.5053 GB, free: 14.08 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7295/1.39, allocations: 95.41 MB / 0.5985 GB, free: 42.13 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/1.39, allocations: 0 / 0.5985 GB, free: 42.13 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003053/1.39, allocations: 88 kB / 0.5986 GB, free: 42.04 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: 1597 * Number of variables: 1597 Notification: Performance of Generate backend data structure: time 0.01977/1.41, allocations: 4.713 MB / 0.6032 GB, free: 37.26 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/1.41, allocations: 8.031 kB / 0.6032 GB, free: 37.25 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004184/1.414, allocations: 0.8036 MB / 0.604 GB, free: 36.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01752/1.432, allocations: 2.236 MB / 0.6062 GB, free: 34.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0195/1.451, allocations: 4.937 MB / 0.611 GB, free: 29.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000439/1.452, allocations: 324.6 kB / 0.6113 GB, free: 28.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002621/1.454, allocations: 435.8 kB / 0.6117 GB, free: 28.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03513/1.49, allocations: 11.45 MB / 0.6229 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00028/1.49, allocations: 59.47 kB / 0.6229 GB, free: 15.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002396/1.492, allocations: 211.8 kB / 0.6231 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002443/1.495, allocations: 1.155 MB / 0.6243 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0307/1.526, allocations: 9.715 MB / 0.6338 GB, free: 4.809 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09367/1.619, allocations: 50.84 MB / 0.6834 GB, free: 440 kB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02572/1.645, allocations: 5.844 MB / 0.6891 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007209/1.652, allocations: 3.139 MB / 0.6922 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02418/1.677, allocations: 9.297 MB / 0.7013 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01972/1.696, allocations: 3.384 MB / 0.7046 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=211): time 5.931e-06/1.696, allocations: 0 / 0.7046 GB, free: 10.23 MB / 0.5105 GB Notification: Performance of matching and sorting (n=285): time 0.5421/2.239, allocations: 27.15 MB / 0.7311 GB, free: 128.2 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.318e-05/2.239, allocations: 167.3 kB / 0.7312 GB, free: 128 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008371/2.247, allocations: 3.682 MB / 0.7348 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000916/2.248, allocations: 68.48 kB / 0.7349 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003434/2.251, allocations: 3.156 MB / 0.738 GB, free: 126 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001891/2.253, allocations: 1.046 MB / 0.739 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001068/2.255, allocations: 132.1 kB / 0.7391 GB, free: 125.4 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005493/2.255, allocations: 0.5891 MB / 0.7397 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007939/2.263, allocations: 3.239 MB / 0.7429 GB, free: 125.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01069/2.274, allocations: 6.814 MB / 0.7495 GB, free: 120.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01058/2.284, allocations: 4.666 MB / 0.7541 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001562/2.285, allocations: 33.25 kB / 0.7541 GB, free: 119.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=866) (initialization): time 0.03742/2.322, allocations: 11.87 MB / 0.7657 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000128/2.322, allocations: 59.38 kB / 0.7658 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002231/2.322, allocations: 127.9 kB / 0.7659 GB, free: 116.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01293/2.335, allocations: 2.674 MB / 0.7685 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01031/2.346, allocations: 1.482 MB / 0.7699 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05043/2.396, allocations: 21.56 MB / 0.791 GB, free: 99.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01422/2.411, allocations: 430.2 kB / 0.7914 GB, free: 99.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002588/2.413, allocations: 396.2 kB / 0.7918 GB, free: 99.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 578 * Number of states: 0 () * Number of discrete variables: 47 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled,rod3.color[3],rod3.color[2],rod3.color[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],rod2.color[3],rod2.color[2],rod2.color[1],rod1.color[3],rod1.color[2],rod1.color[1],r4.cylinderColor[3],r4.cylinderColor[2],r4.cylinderColor[1],r3.cylinderColor[3],r3.cylinderColor[2],r3.cylinderColor[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 760 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 27} Notification: Performance of prepare postOptimizeDAE: time 0.004114/2.417, allocations: 0.5889 MB / 0.7924 GB, free: 98.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002083/2.42, allocations: 402.8 kB / 0.7927 GB, free: 98.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04077/2.46, allocations: 7.856 MB / 0.8004 GB, free: 91.81 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-05/2.461, allocations: 28 kB / 0.8004 GB, free: 91.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.177e-05/2.461, allocations: 11.94 kB / 0.8005 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.574e-05/2.461, allocations: 19.09 kB / 0.8005 GB, free: 91.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07054/2.531, allocations: 14.61 MB / 0.8147 GB, free: 80 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-05/2.531, allocations: 6.578 kB / 0.8147 GB, free: 80 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006894/2.538, allocations: 405.1 kB / 0.8151 GB, free: 79.69 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01852/2.557, allocations: 2.443 MB / 0.8175 GB, free: 77.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001138/2.558, allocations: 47.36 kB / 0.8176 GB, free: 77.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06686/2.625, allocations: 21.33 MB / 0.8384 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.908e-06/2.625, allocations: 4.031 kB / 0.8384 GB, free: 58.26 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03744/2.663, allocations: 8.241 MB / 0.8464 GB, free: 49.82 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002062/2.665, allocations: 451.7 kB / 0.8469 GB, free: 49.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002494/2.667, allocations: 48 kB / 0.8469 GB, free: 49.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007597/2.675, allocations: 211.6 kB / 0.8471 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002001/2.677, allocations: 201.4 kB / 0.8473 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001058/2.678, allocations: 76 kB / 0.8474 GB, free: 48.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01021/2.688, allocations: 2.565 MB / 0.8499 GB, free: 46.25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.924e-06/2.688, allocations: 0 / 0.8499 GB, free: 46.25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01416/2.703, allocations: 1.37 MB / 0.8512 GB, free: 44.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * 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 (191): * Single equations (assignments): 182 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 16,(2,100.0%) 14,(3,88.9%) 13} * Non-linear torn systems: 1 {2 31} Notification: Performance of Backend phase and start with SimCode phase: time 0.0401/2.743, allocations: 9.686 MB / 0.8607 GB, free: 35.25 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03178/2.775, allocations: 8.399 MB / 0.8689 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.284e-05/2.775, allocations: 4.062 kB / 0.8689 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01131/2.786, allocations: 3.886 MB / 0.8727 GB, free: 22.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/2.79, allocations: 440.4 kB / 0.8731 GB, free: 22.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0376/2.828, allocations: 12.14 MB / 0.885 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007724/2.836, allocations: 3.681 MB / 0.8886 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005807/2.841, allocations: 2.136 MB / 0.8906 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of SimCode: time 1.923e-06/2.841, allocations: 0 / 0.8906 GB, free: 4.441 MB / 0.5105 GB 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 OMCppModelicaTest_trunk_cpp_ModelicaTest_MultiBody_PlanarLoopWithMoveCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_MultiBody_PlanarLoopWithMoveCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_MultiBody_PlanarLoopWithMoveCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_MultiBody_PlanarLoopWithMoveFunctions.cpp:220:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp10.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 OMCppModelicaTest_trunk_cpp_ModelicaTest_MultiBody_PlanarLoopWithMoveCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_MultiBody_PlanarLoopWithMoveFMU.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 'OMCppModelicaTest_trunk_cpp_ModelicaTest_MultiBody_PlanarLoopWithMoveCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_MultiBody_PlanarLoopWithMoveCalcHelperMain.o] Error 1