Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.935e-05/3.942e-05, allocations: 0 / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4413/0.4413, allocations: 61.87 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.6076, allocations: 88.03 MB / 497 MB, free: 2.605 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.608, allocations: 71.97 kB / 497 MB, free: 2.535 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01877/0.6268, allocations: 4.383 MB / 0.4897 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.844e-06/0.6268, allocations: 0 / 0.4897 GB, free: 14.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.6268, allocations: 4 kB / 0.4897 GB, free: 14.14 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.0005163/0.6274, allocations: 394.2 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/0.6274, allocations: 12.03 kB / 0.49 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.6275, allocations: 38.55 kB / 0.4901 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.63e-05/0.6276, allocations: 11.81 kB / 0.4901 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.6279, allocations: 210.7 kB / 0.4903 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.6279, allocations: 15.95 kB / 0.4903 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.221e-05/0.628, allocations: 0 / 0.4903 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.6281, allocations: 49.67 kB / 0.4904 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.6281, allocations: 0 / 0.4904 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.6282, allocations: 7.984 kB / 0.4904 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.6282, allocations: 4 kB / 0.4904 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.042e-05/0.6283, allocations: 12 kB / 0.4904 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005449/0.6288, allocations: 312.7 kB / 0.4907 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.6289, allocations: 34.56 kB / 0.4907 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.629, allocations: 12.86 kB / 0.4907 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.629, allocations: 4 kB / 0.4907 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.6291, allocations: 30.56 kB / 0.4908 GB, free: 12.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.864e-06/0.6291, allocations: 0 / 0.4908 GB, free: 12.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006931/0.6298, allocations: 157.1 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.156e-05/0.6298, allocations: 55.41 kB / 0.491 GB, free: 12.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003622/0.6302, allocations: 219.1 kB / 0.4912 GB, free: 12.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.735e-05/0.6303, allocations: 25.7 kB / 0.4912 GB, free: 12.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.474e-05/0.6303, allocations: 162.6 kB / 0.4914 GB, free: 12.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.565e-05/0.6304, allocations: 31.62 kB / 0.4914 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.6304, allocations: 4 kB / 0.4914 GB, free: 12.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6306, allocations: 322.8 kB / 0.4917 GB, free: 11.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.356e-05/0.6306, allocations: 15.94 kB / 0.4917 GB, free: 11.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.135e-05/0.6307, allocations: 16 kB / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.997e-05/0.6308, allocations: 16.23 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6308, allocations: 0 / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001795/0.631, allocations: 73.67 kB / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.631, allocations: 4 kB / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.631, allocations: 4 kB / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.631, allocations: 0 / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.6312, allocations: 19.98 kB / 0.4918 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.6312, allocations: 8 kB / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.947e-05/0.6313, allocations: 19.88 kB / 0.4919 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.6314, allocations: 0 / 0.4919 GB, free: 11.66 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 8.34e-05/0.6315, allocations: 108.9 kB / 0.492 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.303e-05/0.6315, allocations: 11.81 kB / 0.492 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.6318, allocations: 95.2 kB / 0.4921 GB, free: 11.44 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.6318, allocations: 4 kB / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.6318, allocations: 4 kB / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.6318, allocations: 3.984 kB / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006689/0.6325, allocations: 407.3 kB / 0.4925 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6325, allocations: 0 / 0.4925 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.6327, allocations: 23.92 kB / 0.4925 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.6327, allocations: 0 / 0.4925 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.6327, allocations: 4 kB / 0.4925 GB, free: 10.94 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.6328, allocations: 11.98 kB / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/0.6328, allocations: 7.922 kB / 0.4925 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.633, allocations: 197.9 kB / 0.4927 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/0.6331, allocations: 92.92 kB / 0.4928 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.233e-05/0.6332, allocations: 7.938 kB / 0.4928 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.6333, allocations: 16 kB / 0.4928 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.273e-05/0.6334, allocations: 7.984 kB / 0.4928 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.6334, allocations: 0 / 0.4928 GB, free: 10.56 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002562/0.6337, allocations: 179.5 kB / 0.493 GB, free: 10.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6337, allocations: 0 / 0.493 GB, free: 10.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000363/0.6341, allocations: 31.94 kB / 0.493 GB, free: 10.36 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.001819/0.6359, allocations: 1.157 MB / 0.4942 GB, free: 9.316 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001868/0.6361, allocations: 43.94 kB / 0.4942 GB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6361, allocations: 0 / 0.4942 GB, free: 9.273 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.491e-05/0.6362, allocations: 28.14 kB / 0.4942 GB, free: 9.246 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003516/0.6366, allocations: 16.33 kB / 0.4942 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008633/0.6374, allocations: 305.6 kB / 0.4945 GB, free: 8.883 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.6378, allocations: 0.7121 MB / 0.4952 GB, free: 8.145 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001626/0.638, allocations: 39.42 kB / 0.4953 GB, free: 8.105 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/0.638, allocations: 64 / 0.4953 GB, free: 8.105 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_Test28CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28Functions.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_Test28CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28FMU.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_Test28CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28CalcHelperMain.o] Error 1