Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.732/2.732, allocations: 270 MB / 282.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.358e-05/3.364e-05, allocations: 4 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5255/0.5256, allocations: 61.88 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.6851, allocations: 88.04 MB / 497 MB, free: 2.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/0.6854, allocations: 67.97 kB / 497 MB, free: 2.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01634/0.7018, allocations: 3.734 MB / 0.489 GB, free: 14.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.7018, allocations: 0 / 0.489 GB, free: 14.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.677e-05/0.7019, allocations: 4 kB / 0.489 GB, free: 14.78 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004437/0.7023, allocations: 370.3 kB / 0.4894 GB, free: 14.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.7024, allocations: 12.03 kB / 0.4894 GB, free: 14.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.7024, allocations: 34.56 kB / 0.4894 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.531e-05/0.7025, allocations: 7.906 kB / 0.4894 GB, free: 14.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.7028, allocations: 186.9 kB / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.7028, allocations: 11.94 kB / 0.4896 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.7028, allocations: 7.938 kB / 0.4896 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.703, allocations: 41.69 kB / 0.4897 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/0.703, allocations: 0 / 0.4897 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.703, allocations: 4 kB / 0.4897 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.703, allocations: 3.938 kB / 0.4897 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.166e-05/0.7031, allocations: 16 kB / 0.4897 GB, free: 14 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004853/0.7036, allocations: 288.8 kB / 0.49 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.7039, allocations: 38.52 kB / 0.49 GB, free: 13.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.954e-05/0.7039, allocations: 12.86 kB / 0.49 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.516e-05/0.704, allocations: 4.078 kB / 0.49 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.704, allocations: 38.56 kB / 0.4901 GB, free: 13.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.425e-06/0.704, allocations: 0 / 0.4901 GB, free: 13.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005416/0.7046, allocations: 113.3 kB / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.9e-05/0.7046, allocations: 51.41 kB / 0.4902 GB, free: 13.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001995/0.7049, allocations: 149.4 kB / 0.4904 GB, free: 13.22 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.7049, allocations: 29.7 kB / 0.4904 GB, free: 13.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.827e-05/0.705, allocations: 158.6 kB / 0.4905 GB, free: 13.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.372e-05/0.705, allocations: 23.73 kB / 0.4906 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.705, allocations: 0 / 0.4906 GB, free: 13.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7052, allocations: 314.8 kB / 0.4909 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.675e-05/0.7052, allocations: 12 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.25e-05/0.7053, allocations: 12 kB / 0.4909 GB, free: 12.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.947e-05/0.7053, allocations: 11.98 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.7053, allocations: 4 kB / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001554/0.7055, allocations: 61.69 kB / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.7055, allocations: 8 kB / 0.491 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.7056, allocations: 0 / 0.491 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.7056, allocations: 0 / 0.491 GB, free: 12.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.7057, allocations: 19.92 kB / 0.491 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.7057, allocations: 0 / 0.491 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.319e-05/0.7058, allocations: 8 kB / 0.491 GB, free: 12.55 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.7058, allocations: 0 / 0.491 GB, free: 12.55 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 (5): * Single equations (assignments): 5 * 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.774e-05/0.7059, allocations: 104.9 kB / 0.4911 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.337e-05/0.706, allocations: 15.89 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.7062, allocations: 81.75 kB / 0.4912 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.7063, allocations: 4 kB / 0.4912 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.708e-06/0.7063, allocations: 0 / 0.4912 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.7063, allocations: 0 / 0.4912 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004976/0.7068, allocations: 346.4 kB / 0.4915 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.7068, allocations: 3.938 kB / 0.4915 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.7069, allocations: 20.36 kB / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.707, allocations: 0 / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.707, allocations: 0 / 0.4916 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.707, allocations: 8 kB / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.707, allocations: 0 / 0.4916 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.7072, allocations: 167.3 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.348e-05/0.7073, allocations: 89.09 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.21e-05/0.7073, allocations: 0 / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.7075, allocations: 11.98 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.7075, allocations: 4 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.7075, allocations: 0 / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001364/0.7077, allocations: 119.2 kB / 0.4919 GB, free: 11.49 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7077, allocations: 0 / 0.4919 GB, free: 11.49 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.708, allocations: 20 kB / 0.492 GB, free: 11.47 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 (5): * Single equations (assignments): 5 * 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.001548/0.7096, allocations: 0.9986 MB / 0.4929 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001735/0.7098, allocations: 36 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7098, allocations: 0 / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.227e-05/0.7099, allocations: 16 kB / 0.493 GB, free: 10.53 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.7102, allocations: 14.97 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006525/0.7109, allocations: 212.2 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.7112, allocations: 0.6926 MB / 0.4939 GB, free: 9.551 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.253e-05/0.7113, allocations: 23.42 kB / 0.4939 GB, free: 9.527 MB / 426.7 MB Notification: Performance of SimCode: time 9.62e-07/0.7113, allocations: 4 kB / 0.4939 GB, free: 9.523 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_CombiTable1Dv_Test7CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test7CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test7Functions.cpp:194:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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_CombiTable1Dv_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test7FMU.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_CombiTable1Dv_Test7CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test7CalcHelperMain.o] Error 1