Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.641/2.641, allocations: 270 MB / 282.7 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.677e-05/5.694e-05, allocations: 8 kB / 347.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.44/0.4401, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.6098, allocations: 89.28 MB / 498.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.6101, allocations: 75.95 kB / 498.3 MB, free: 1.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0269/0.637, allocations: 5.822 MB / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6371, allocations: 0 / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.6371, allocations: 4 kB / 0.4923 GB, free: 11.33 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000645/0.6378, allocations: 418.2 kB / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.6378, allocations: 8.031 kB / 0.4927 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.449e-05/0.6379, allocations: 38.55 kB / 0.4927 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.458e-05/0.638, allocations: 11.81 kB / 0.4928 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004469/0.6384, allocations: 230.5 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.6385, allocations: 11.95 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.6385, allocations: 0 / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.6387, allocations: 53.67 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.6387, allocations: 4 kB / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.6387, allocations: 0 / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.6388, allocations: 15.88 kB / 0.4931 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/0.6389, allocations: 16 kB / 0.4931 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.6394, allocations: 304.9 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.6396, allocations: 54.69 kB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.732e-05/0.6397, allocations: 24.97 kB / 0.4934 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.403e-05/0.6397, allocations: 0 / 0.4934 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001853/0.6399, allocations: 67.34 kB / 0.4935 GB, free: 9.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.404e-06/0.64, allocations: 3.938 kB / 0.4935 GB, free: 9.922 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006815/0.6406, allocations: 157.1 kB / 0.4937 GB, free: 9.762 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.312e-05/0.6407, allocations: 59.34 kB / 0.4937 GB, free: 9.691 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004098/0.6411, allocations: 233.8 kB / 0.4939 GB, free: 9.449 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.6412, allocations: 33.7 kB / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.979e-05/0.6413, allocations: 166.6 kB / 0.4941 GB, free: 9.246 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.825e-05/0.6413, allocations: 31.62 kB / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-06/0.6414, allocations: 0 / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6415, allocations: 322.8 kB / 0.4945 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.333e-05/0.6416, allocations: 12 kB / 0.4945 GB, free: 8.879 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.545e-05/0.6417, allocations: 37.7 kB / 0.4945 GB, free: 8.836 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.983e-05/0.6418, allocations: 24 kB / 0.4945 GB, free: 8.812 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6418, allocations: 0 / 0.4945 GB, free: 8.812 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002614/0.6421, allocations: 93.61 kB / 0.4946 GB, free: 8.715 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.6421, allocations: 4 kB / 0.4946 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.6421, allocations: 0 / 0.4946 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.6421, allocations: 0 / 0.4946 GB, free: 8.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/0.6423, allocations: 19.98 kB / 0.4946 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.6424, allocations: 0 / 0.4946 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.6425, allocations: 4 kB / 0.4947 GB, free: 8.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.6425, allocations: 4 kB / 0.4947 GB, free: 8.684 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.000101/0.6426, allocations: 120 kB / 0.4948 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.426e-05/0.6427, allocations: 15.81 kB / 0.4948 GB, free: 8.547 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.6431, allocations: 115.2 kB / 0.4949 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.6431, allocations: 7.984 kB / 0.4949 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.6431, allocations: 0 / 0.4949 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6431, allocations: 0 / 0.4949 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007776/0.6439, allocations: 439.1 kB / 0.4953 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.6439, allocations: 0 / 0.4953 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.631e-05/0.6441, allocations: 19.88 kB / 0.4953 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.047e-06/0.6441, allocations: 4 kB / 0.4953 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.6441, allocations: 4.266 kB / 0.4953 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.6441, allocations: 0 / 0.4953 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6441, allocations: 240 / 0.4953 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003529/0.6445, allocations: 234 kB / 0.4956 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.6446, allocations: 93 kB / 0.4957 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.432e-05/0.6447, allocations: 12 kB / 0.4957 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000129/0.6448, allocations: 0 / 0.4957 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.6449, allocations: 11.94 kB / 0.4957 GB, free: 7.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.544e-05/0.6449, allocations: 4 kB / 0.4957 GB, free: 7.512 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003158/0.6452, allocations: 196.2 kB / 0.4959 GB, free: 7.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6452, allocations: 0 / 0.4959 GB, free: 7.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003948/0.6456, allocations: 39.84 kB / 0.4959 GB, free: 7.281 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002028/0.6477, allocations: 1.18 MB / 0.4971 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002742/0.648, allocations: 51.94 kB / 0.4971 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.072e-06/0.648, allocations: 0 / 0.4971 GB, free: 6.168 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.941e-05/0.6481, allocations: 35.88 kB / 0.4971 GB, free: 6.133 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004575/0.6486, allocations: 35.64 kB / 0.4972 GB, free: 6.098 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.6496, allocations: 318.4 kB / 0.4975 GB, free: 5.742 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.65, allocations: 0.7201 MB / 0.4982 GB, free: 4.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001334/0.6501, allocations: 47.42 kB / 0.4982 GB, free: 4.949 MB / 426.7 MB Notification: Performance of SimCode: time 1.453e-06/0.6502, allocations: 0 / 0.4982 GB, free: 4.949 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_Test47CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test47CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test47CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test47Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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_Test47CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test47FMU.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_Test47CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test47CalcHelperMain.o] Error 1