Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test70,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.65/2.65, allocations: 270 MB / 282.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.922e-05/3.931e-05, allocations: 8 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4481/0.4482, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.6312, allocations: 89.12 MB / 498 MB, free: 1.492 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000394/0.6317, allocations: 75.95 kB / 498.1 MB, free: 1.418 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03014/0.6619, allocations: 6.637 MB / 0.4929 GB, free: 10.78 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6619, allocations: 3.938 kB / 0.4929 GB, free: 10.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.444e-05/0.662, allocations: 12 kB / 0.4929 GB, free: 10.76 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001066/0.6631, allocations: 0.5871 MB / 0.4935 GB, free: 10.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/0.6631, allocations: 12.03 kB / 0.4935 GB, free: 10.12 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.877e-05/0.6632, allocations: 42.48 kB / 0.4936 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001693/0.6634, allocations: 55.28 kB / 0.4936 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.6648, allocations: 479.1 kB / 0.4941 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.6648, allocations: 11.98 kB / 0.4941 GB, free: 9.492 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.127e-05/0.6649, allocations: 4 kB / 0.4941 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.6651, allocations: 79.38 kB / 0.4942 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.6651, allocations: 0 / 0.4942 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.6652, allocations: 4 kB / 0.4942 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.6652, allocations: 0 / 0.4942 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001248/0.6653, allocations: 35.92 kB / 0.4942 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006961/0.666, allocations: 382.3 kB / 0.4946 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002739/0.6663, allocations: 105.2 kB / 0.4947 GB, free: 8.812 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.6664, allocations: 41.66 kB / 0.4947 GB, free: 8.766 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.6665, allocations: 4 kB / 0.4947 GB, free: 8.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002596/0.6668, allocations: 97.17 kB / 0.4948 GB, free: 8.648 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.916e-06/0.6668, allocations: 4 kB / 0.4948 GB, free: 8.645 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005696/0.6674, allocations: 176.9 kB / 0.495 GB, free: 8.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.6674, allocations: 77.11 kB / 0.4951 GB, free: 8.371 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.6696, allocations: 0.9305 MB / 0.496 GB, free: 7.43 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.6697, allocations: 33.7 kB / 0.496 GB, free: 7.391 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002105/0.67, allocations: 246.6 kB / 0.4962 GB, free: 7.148 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.185e-05/0.6701, allocations: 27.64 kB / 0.4963 GB, free: 7.121 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.6701, allocations: 0 / 0.4963 GB, free: 7.121 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.6702, allocations: 318.8 kB / 0.4966 GB, free: 6.801 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.899e-05/0.6703, allocations: 24 kB / 0.4966 GB, free: 6.777 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001212/0.6705, allocations: 67.36 kB / 0.4967 GB, free: 6.699 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.6706, allocations: 27.98 kB / 0.4967 GB, free: 6.672 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.6706, allocations: 4 kB / 0.4967 GB, free: 6.668 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003434/0.671, allocations: 125.7 kB / 0.4968 GB, free: 6.539 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.671, allocations: 7.984 kB / 0.4968 GB, free: 6.531 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.671, allocations: 4.062 kB / 0.4968 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.671, allocations: 7.938 kB / 0.4968 GB, free: 6.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.6713, allocations: 16 kB / 0.4968 GB, free: 6.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.6713, allocations: 11.92 kB / 0.4968 GB, free: 6.492 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002697/0.6716, allocations: 8 kB / 0.4969 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.805e-05/0.6716, allocations: 4 kB / 0.4969 GB, free: 6.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001192/0.6717, allocations: 109 kB / 0.497 GB, free: 6.367 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.6719, allocations: 55.3 kB / 0.497 GB, free: 6.312 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006073/0.6725, allocations: 201.6 kB / 0.4972 GB, free: 6.105 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/0.6726, allocations: 4 kB / 0.4972 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.6726, allocations: 0 / 0.4972 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.6726, allocations: 0 / 0.4972 GB, free: 6.102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006107/0.6732, allocations: 393.2 kB / 0.4976 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.6732, allocations: 0 / 0.4976 GB, free: 5.668 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000107/0.6733, allocations: 11.98 kB / 0.4976 GB, free: 5.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.18e-05/0.6734, allocations: 7.953 kB / 0.4976 GB, free: 5.648 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.6734, allocations: 4 kB / 0.4976 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.6734, allocations: 0 / 0.4976 GB, free: 5.645 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6734, allocations: 8 kB / 0.4976 GB, free: 5.637 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005568/0.674, allocations: 218.9 kB / 0.4978 GB, free: 5.395 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003956/0.6744, allocations: 196.4 kB / 0.498 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.6745, allocations: 7.984 kB / 0.498 GB, free: 5.176 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.6747, allocations: 12.19 kB / 0.498 GB, free: 5.164 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.621e-05/0.6748, allocations: 11.98 kB / 0.498 GB, free: 5.152 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.6748, allocations: 8 kB / 0.4981 GB, free: 5.145 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001566/0.6764, allocations: 0.7435 MB / 0.4988 GB, free: 4.402 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.6765, allocations: 4 kB / 0.4988 GB, free: 4.398 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005666/0.677, allocations: 72 kB / 0.4988 GB, free: 4.328 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002083/0.6791, allocations: 1.136 MB / 0.5 GB, free: 3.289 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003716/0.6796, allocations: 83.92 kB / 0.5 GB, free: 3.207 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.6796, allocations: 0 / 0.5 GB, free: 3.207 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.6797, allocations: 43.92 kB / 0.5001 GB, free: 3.164 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007514/0.6805, allocations: 62.05 kB / 0.5001 GB, free: 3.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/0.6832, allocations: 0.9427 MB / 0.5011 GB, free: 2.113 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/0.684, allocations: 0.8546 MB / 0.5019 GB, free: 1.234 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/0.6844, allocations: 159.4 kB / 0.502 GB, free: 1.078 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/0.6845, allocations: 0 / 0.502 GB, free: 1.078 MB / 426.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 OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test70CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test70CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test70CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test70Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp8.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_Tables_CombiTimeTable_Test70CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test70FMU.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_Tables_CombiTimeTable_Test70CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test70CalcHelperMain.o] Error 1