Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test19,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.687/2.687, allocations: 270 MB / 282.7 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.58e-05, allocations: 7.984 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4053, allocations: 61.86 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1672/0.5725, allocations: 90.51 MB / 499.4 MB, free: 12 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/0.5729, allocations: 75.95 kB / 499.5 MB, free: 15.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03705/0.61, allocations: 8.635 MB / 0.4962 GB, free: 7.277 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.61, allocations: 0 / 0.4962 GB, free: 7.277 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.191e-05/0.6101, allocations: 8 kB / 0.4962 GB, free: 7.27 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007333/0.6108, allocations: 0.5249 MB / 0.4968 GB, free: 6.699 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.6109, allocations: 8.031 kB / 0.4968 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.838e-05/0.6109, allocations: 50.48 kB / 0.4968 GB, free: 6.633 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.618e-05/0.6111, allocations: 35.53 kB / 0.4968 GB, free: 6.598 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.6118, allocations: 333.2 kB / 0.4972 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6118, allocations: 0 / 0.4972 GB, free: 6.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.022e-05/0.6118, allocations: 8 kB / 0.4972 GB, free: 6.223 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002163/0.612, allocations: 69.69 kB / 0.4972 GB, free: 6.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.6121, allocations: 0 / 0.4972 GB, free: 6.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.6121, allocations: 3.938 kB / 0.4972 GB, free: 6.145 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.6121, allocations: 4 kB / 0.4972 GB, free: 6.141 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.6123, allocations: 39.94 kB / 0.4973 GB, free: 6.102 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000826/0.6131, allocations: 460.4 kB / 0.4977 GB, free: 5.602 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001404/0.6133, allocations: 54.56 kB / 0.4978 GB, free: 5.539 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.211e-05/0.6133, allocations: 16.98 kB / 0.4978 GB, free: 5.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.6134, allocations: 7.984 kB / 0.4978 GB, free: 5.512 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.6134, allocations: 38.56 kB / 0.4978 GB, free: 5.465 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.6134, allocations: 0 / 0.4978 GB, free: 5.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003121/0.6138, allocations: 97.27 kB / 0.4979 GB, free: 5.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.6138, allocations: 55.41 kB / 0.498 GB, free: 5.297 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009385/0.6148, allocations: 491.1 kB / 0.4984 GB, free: 4.809 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.6148, allocations: 25.7 kB / 0.4985 GB, free: 4.777 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.615, allocations: 234.6 kB / 0.4987 GB, free: 4.543 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.126e-05/0.615, allocations: 11.81 kB / 0.4987 GB, free: 4.531 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.6151, allocations: 8 kB / 0.4987 GB, free: 4.523 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.6152, allocations: 310.8 kB / 0.499 GB, free: 4.211 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.428e-05/0.6153, allocations: 16 kB / 0.499 GB, free: 4.195 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.924e-05/0.6153, allocations: 15.98 kB / 0.499 GB, free: 4.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.199e-05/0.6154, allocations: 16 kB / 0.4991 GB, free: 4.164 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.6154, allocations: 0 / 0.4991 GB, free: 4.164 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000186/0.6156, allocations: 65.69 kB / 0.4991 GB, free: 4.094 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.6156, allocations: 4 kB / 0.4991 GB, free: 4.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.493e-06/0.6157, allocations: 3.938 kB / 0.4991 GB, free: 4.086 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6157, allocations: 4 kB / 0.4991 GB, free: 4.082 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001577/0.6159, allocations: 19.94 kB / 0.4991 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.6159, allocations: 0 / 0.4991 GB, free: 4.062 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.6161, allocations: 16.09 kB / 0.4992 GB, free: 4.047 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.6161, allocations: 3.938 kB / 0.4992 GB, free: 4.043 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.09e-05/0.6162, allocations: 105 kB / 0.4993 GB, free: 3.934 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.6163, allocations: 43.53 kB / 0.4993 GB, free: 3.891 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003254/0.6166, allocations: 117 kB / 0.4994 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.6166, allocations: 4 kB / 0.4994 GB, free: 3.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.6167, allocations: 3.953 kB / 0.4994 GB, free: 3.766 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.75e-06/0.6167, allocations: 4 kB / 0.4994 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.6171, allocations: 293.5 kB / 0.4997 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.6171, allocations: 0 / 0.4997 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.6173, allocations: 11.94 kB / 0.4997 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.6173, allocations: 7.984 kB / 0.4997 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.6173, allocations: 0 / 0.4997 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.6173, allocations: 3.938 kB / 0.4997 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6173, allocations: 0 / 0.4997 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002847/0.6176, allocations: 203 kB / 0.4999 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001985/0.6178, allocations: 140.6 kB / 0.5001 GB, free: 3.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.237e-05/0.6179, allocations: 11.98 kB / 0.5001 GB, free: 3.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.6181, allocations: 4 kB / 0.5001 GB, free: 3.016 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.793e-05/0.6181, allocations: 4 kB / 0.5001 GB, free: 3.012 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.6181, allocations: 3.984 kB / 0.5001 GB, free: 3.008 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007363/0.6189, allocations: 393.2 kB / 0.5005 GB, free: 2.625 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6189, allocations: 4 kB / 0.5005 GB, free: 2.621 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000445/0.6194, allocations: 55.88 kB / 0.5005 GB, free: 2.566 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.00224/0.6216, allocations: 1.216 MB / 0.5017 GB, free: 1.527 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.6218, allocations: 36 kB / 0.5017 GB, free: 1.492 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.6219, allocations: 0 / 0.5017 GB, free: 1.492 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.366e-05/0.6219, allocations: 27.92 kB / 0.5018 GB, free: 1.465 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006931/0.6227, allocations: 61.19 kB / 0.5018 GB, free: 1.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001576/0.6242, allocations: 0.5699 MB / 0.5024 GB, free: 0.7969 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.6248, allocations: 0.7985 MB / 0.5032 GB, free: 15.97 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002492/0.625, allocations: 111.4 kB / 0.5033 GB, free: 15.86 MB / 442.7 MB Notification: Performance of SimCode: time 2.835e-06/0.6251, allocations: 0 / 0.5033 GB, free: 15.86 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_CombiTable2Ds_Test19CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19Functions.cpp:258:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp7.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19FMU.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_CombiTable2Ds_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test19CalcHelperMain.o] Error 1