Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.558/2.558, allocations: 270 MB / 282.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.854e-05/3.863e-05, allocations: 4 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3958/0.3959, allocations: 61.88 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.5566, allocations: 88.03 MB / 497 MB, free: 2.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/0.557, allocations: 71.95 kB / 497 MB, free: 2.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01854/0.5755, allocations: 4.257 MB / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5756, allocations: 0 / 0.4895 GB, free: 14.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.735e-05/0.5756, allocations: 8 kB / 0.4896 GB, free: 14.16 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004952/0.5761, allocations: 390.1 kB / 0.4899 GB, free: 13.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.5762, allocations: 12.03 kB / 0.4899 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.516e-05/0.5763, allocations: 34.56 kB / 0.49 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.747e-05/0.5763, allocations: 7.906 kB / 0.49 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000299/0.5766, allocations: 203.7 kB / 0.4902 GB, free: 13.43 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.5767, allocations: 8 kB / 0.4902 GB, free: 13.42 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.5767, allocations: 7.953 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.5768, allocations: 53.62 kB / 0.4902 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.5769, allocations: 0 / 0.4902 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.5769, allocations: 4 kB / 0.4902 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5769, allocations: 0 / 0.4902 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.953e-05/0.577, allocations: 16 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.5775, allocations: 292.8 kB / 0.4905 GB, free: 13 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.5776, allocations: 46.5 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/0.5776, allocations: 12.86 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.5777, allocations: 0 / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.5777, allocations: 34.56 kB / 0.4906 GB, free: 12.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.5777, allocations: 0 / 0.4906 GB, free: 12.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006956/0.5784, allocations: 157.3 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.5785, allocations: 59.41 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002965/0.5788, allocations: 184.8 kB / 0.491 GB, free: 12.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.5788, allocations: 29.7 kB / 0.491 GB, free: 12.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.178e-05/0.5789, allocations: 166.5 kB / 0.4912 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.579, allocations: 23.66 kB / 0.4912 GB, free: 12.25 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-06/0.579, allocations: 0 / 0.4912 GB, free: 12.25 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.5791, allocations: 322.8 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.059e-05/0.5792, allocations: 12 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.98e-05/0.5793, allocations: 16.08 kB / 0.4916 GB, free: 11.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.372e-05/0.5793, allocations: 24.14 kB / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5793, allocations: 0 / 0.4916 GB, free: 11.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001901/0.5795, allocations: 77.61 kB / 0.4916 GB, free: 11.79 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.156e-05/0.5796, allocations: 8 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5796, allocations: 0 / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.5796, allocations: 0 / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001896/0.5798, allocations: 19.98 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.5798, allocations: 3.938 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.5799, allocations: 15.89 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.58, allocations: 8 kB / 0.4917 GB, free: 11.74 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 (8): * Single equations (assignments): 8 * 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 7.84e-05/0.5801, allocations: 104.9 kB / 0.4918 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.215e-05/0.5801, allocations: 7.906 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002736/0.5804, allocations: 98.23 kB / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.5804, allocations: 0 / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.5805, allocations: 4 kB / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.5805, allocations: 3.984 kB / 0.4919 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006368/0.5811, allocations: 403.2 kB / 0.4923 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5811, allocations: 0 / 0.4923 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001443/0.5813, allocations: 19.98 kB / 0.4923 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/0.5813, allocations: 0 / 0.4923 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.5813, allocations: 4 kB / 0.4923 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.5814, allocations: 4 kB / 0.4923 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.5814, allocations: 0 / 0.4923 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002439/0.5816, allocations: 194.2 kB / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.5817, allocations: 93 kB / 0.4926 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.5818, allocations: 0 / 0.4926 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.5819, allocations: 15.94 kB / 0.4926 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.582, allocations: 11.94 kB / 0.4926 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.582, allocations: 4 kB / 0.4926 GB, free: 10.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002076/0.5822, allocations: 148.6 kB / 0.4928 GB, free: 10.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5822, allocations: 4 kB / 0.4928 GB, free: 10.53 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000376/0.5826, allocations: 27.94 kB / 0.4928 GB, free: 10.5 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.001791/0.5844, allocations: 1.16 MB / 0.4939 GB, free: 9.461 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.5846, allocations: 43.98 kB / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5847, allocations: 4 kB / 0.494 GB, free: 9.414 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.388e-05/0.5847, allocations: 23.94 kB / 0.494 GB, free: 9.391 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.5851, allocations: 16 kB / 0.494 GB, free: 9.375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008093/0.5859, allocations: 273.6 kB / 0.4943 GB, free: 9.055 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.5863, allocations: 0.7082 MB / 0.495 GB, free: 8.32 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.5864, allocations: 35.42 kB / 0.495 GB, free: 8.285 MB / 426.7 MB Notification: Performance of SimCode: time 1.243e-06/0.5864, allocations: 0 / 0.495 GB, free: 8.285 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_CombiTable1Ds_Test16CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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_CombiTable1Ds_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16FMU.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_CombiTable1Ds_Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test16CalcHelperMain.o] Error 1