Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test73,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test73",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 270 MB / 282.6 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.852e-05/3.883e-05, allocations: 4 kB / 347.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3921, allocations: 61.88 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2224/0.6145, allocations: 89.54 MB / 498.5 MB, free: 1.047 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.6149, allocations: 71.97 kB / 498.5 MB, free: 0.9766 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0373/0.6522, allocations: 8.007 MB / 0.4947 GB, free: 8.953 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6522, allocations: 0 / 0.4947 GB, free: 8.953 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.77e-05/0.6523, allocations: 7.938 kB / 0.4947 GB, free: 8.945 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008837/0.6532, allocations: 495 kB / 0.4952 GB, free: 8.418 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/0.6532, allocations: 12.03 kB / 0.4952 GB, free: 8.406 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.115e-05/0.6533, allocations: 42.55 kB / 0.4952 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.199e-05/0.6534, allocations: 23.72 kB / 0.4952 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006668/0.6541, allocations: 278.4 kB / 0.4955 GB, free: 8.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.584e-05/0.6541, allocations: 11.98 kB / 0.4955 GB, free: 8.008 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.6542, allocations: 4 kB / 0.4955 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002781/0.6545, allocations: 107.3 kB / 0.4956 GB, free: 7.887 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.6545, allocations: 11.84 kB / 0.4956 GB, free: 7.875 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.329e-05/0.6545, allocations: 4 kB / 0.4956 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6546, allocations: 4 kB / 0.4956 GB, free: 7.867 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.6547, allocations: 39.98 kB / 0.4957 GB, free: 7.828 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/0.6556, allocations: 480.8 kB / 0.4961 GB, free: 7.305 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005382/0.6562, allocations: 121.2 kB / 0.4962 GB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.6563, allocations: 49.77 kB / 0.4963 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.6564, allocations: 0 / 0.4963 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002973/0.6567, allocations: 117.2 kB / 0.4964 GB, free: 6.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.6567, allocations: 4 kB / 0.4964 GB, free: 6.977 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001457/0.6582, allocations: 416.1 kB / 0.4968 GB, free: 6.562 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.6583, allocations: 81.11 kB / 0.4969 GB, free: 6.465 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006127/0.6589, allocations: 327.4 kB / 0.4972 GB, free: 6.137 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.6589, allocations: 33.7 kB / 0.4972 GB, free: 6.098 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.6591, allocations: 190.9 kB / 0.4974 GB, free: 5.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.176e-05/0.6592, allocations: 63.09 kB / 0.4975 GB, free: 5.848 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/0.6592, allocations: 11.94 kB / 0.4975 GB, free: 5.836 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6594, allocations: 318.8 kB / 0.4978 GB, free: 5.516 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.6595, allocations: 55.98 kB / 0.4978 GB, free: 5.461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.6598, allocations: 84.3 kB / 0.4979 GB, free: 5.367 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.66, allocations: 55.98 kB / 0.498 GB, free: 5.312 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.66, allocations: 0 / 0.498 GB, free: 5.312 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005318/0.6605, allocations: 213.5 kB / 0.4982 GB, free: 5.098 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/0.6606, allocations: 8 kB / 0.4982 GB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.6606, allocations: 3.984 kB / 0.4982 GB, free: 5.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.6606, allocations: 7.953 kB / 0.4982 GB, free: 5.078 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.661, allocations: 35.98 kB / 0.4982 GB, free: 5.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.405e-05/0.661, allocations: 4 kB / 0.4982 GB, free: 5.039 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.6612, allocations: 11.91 kB / 0.4982 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.261e-05/0.6612, allocations: 15.98 kB / 0.4983 GB, free: 5.012 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.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.000124/0.6614, allocations: 121 kB / 0.4984 GB, free: 4.887 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.586e-05/0.6615, allocations: 23.72 kB / 0.4984 GB, free: 4.863 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007634/0.6622, allocations: 268 kB / 0.4987 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6623, allocations: 7.891 kB / 0.4987 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.6623, allocations: 4 kB / 0.4987 GB, free: 4.582 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.656e-06/0.6623, allocations: 3.984 kB / 0.4987 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.6637, allocations: 0.7507 MB / 0.4994 GB, free: 3.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.6638, allocations: 4 kB / 0.4994 GB, free: 3.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002121/0.664, allocations: 43.86 kB / 0.4994 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.664, allocations: 4 kB / 0.4995 GB, free: 3.707 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.618e-05/0.6641, allocations: 4 kB / 0.4995 GB, free: 3.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.413e-06/0.6641, allocations: 4 kB / 0.4995 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6641, allocations: 4.125 kB / 0.4995 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007219/0.6648, allocations: 481.5 kB / 0.4999 GB, free: 3.164 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/0.665, allocations: 124.6 kB / 0.5 GB, free: 3.023 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.6651, allocations: 15.98 kB / 0.5001 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002398/0.6653, allocations: 8 kB / 0.5001 GB, free: 3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.6654, allocations: 19.91 kB / 0.5001 GB, free: 2.98 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.075e-05/0.6655, allocations: 16 kB / 0.5001 GB, free: 2.965 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000463/0.6659, allocations: 263.1 kB / 0.5004 GB, free: 2.707 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6659, allocations: 0 / 0.5004 GB, free: 2.707 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000527/0.6665, allocations: 60 kB / 0.5004 GB, free: 2.648 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * 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.002653/0.6692, allocations: 1.768 MB / 0.5021 GB, free: 0.9922 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005028/0.6697, allocations: 151.9 kB / 0.5023 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6697, allocations: 0 / 0.5023 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.6699, allocations: 79.88 kB / 0.5024 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006695/0.6706, allocations: 55.48 kB / 0.5024 GB, free: 0.7109 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.6721, allocations: 0.5042 MB / 0.5029 GB, free: 152 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004506/0.6726, allocations: 0.7677 MB / 0.5037 GB, free: 15.36 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002208/0.6728, allocations: 83.41 kB / 0.5037 GB, free: 15.27 MB / 442.7 MB Notification: Performance of SimCode: time 9.02e-07/0.6729, allocations: 0 / 0.5037 GB, free: 15.27 MB / 442.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_Test73CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test73CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test73CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test73Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp12.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_Test73CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test73FMU.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_Test73CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test73CalcHelperMain.o] Error 1