Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test8,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.267e-05/3.273e-05, allocations: 4 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4001, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.5606, allocations: 88.04 MB / 497 MB, free: 2.598 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.5609, allocations: 67.97 kB / 497 MB, free: 2.531 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01632/0.5772, allocations: 3.718 MB / 0.489 GB, free: 14.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5773, allocations: 8 kB / 0.489 GB, free: 14.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.5773, allocations: 0 / 0.489 GB, free: 14.79 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.0004663/0.5778, allocations: 370.3 kB / 0.4894 GB, free: 14.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.5779, allocations: 12.03 kB / 0.4894 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.238e-05/0.5779, allocations: 34.55 kB / 0.4894 GB, free: 14.33 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.578, allocations: 11.91 kB / 0.4894 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000274/0.5782, allocations: 186.9 kB / 0.4896 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.5783, allocations: 0 / 0.4896 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.5783, allocations: 7.953 kB / 0.4896 GB, free: 14.09 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001273/0.5784, allocations: 49.61 kB / 0.4897 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.5785, allocations: 4 kB / 0.4897 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.5785, allocations: 4 kB / 0.4897 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5785, allocations: 0 / 0.4897 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.7e-05/0.5786, allocations: 11.98 kB / 0.4897 GB, free: 14.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.5791, allocations: 292.8 kB / 0.49 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.5793, allocations: 42.5 kB / 0.49 GB, free: 13.63 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.024e-05/0.5794, allocations: 12.86 kB / 0.49 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.5794, allocations: 4 kB / 0.49 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.5795, allocations: 30.56 kB / 0.4901 GB, free: 13.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.134e-06/0.5795, allocations: 0 / 0.4901 GB, free: 13.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005421/0.58, allocations: 117.4 kB / 0.4902 GB, free: 13.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/0.5801, allocations: 55.41 kB / 0.4902 GB, free: 13.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002028/0.5803, allocations: 153.4 kB / 0.4904 GB, free: 13.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.5803, allocations: 25.7 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.5804, allocations: 154.6 kB / 0.4905 GB, free: 13.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.5805, allocations: 19.75 kB / 0.4906 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-06/0.5805, allocations: 0 / 0.4906 GB, free: 13.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5806, allocations: 314.8 kB / 0.4909 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.827e-05/0.5807, allocations: 19.98 kB / 0.4909 GB, free: 12.69 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.5807, allocations: 12 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.5808, allocations: 12 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5808, allocations: 0 / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001745/0.581, allocations: 65.62 kB / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.581, allocations: 7.984 kB / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.581, allocations: 0 / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.5811, allocations: 0 / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.5812, allocations: 12 kB / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.5812, allocations: 4 kB / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.798e-05/0.5813, allocations: 11.98 kB / 0.491 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.5813, allocations: 0 / 0.491 GB, free: 12.56 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 9.1e-05/0.5814, allocations: 108.9 kB / 0.4911 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.098e-05/0.5815, allocations: 7.906 kB / 0.4911 GB, free: 12.44 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.5817, allocations: 77.75 kB / 0.4912 GB, free: 12.36 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.5818, allocations: 4 kB / 0.4912 GB, free: 12.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.5818, allocations: 7.875 kB / 0.4912 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.5818, allocations: 4 kB / 0.4912 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005057/0.5823, allocations: 342.4 kB / 0.4915 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.5823, allocations: 0 / 0.4915 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.5825, allocations: 12.38 kB / 0.4915 GB, free: 11.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.424e-06/0.5825, allocations: 3.984 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/0.5825, allocations: 8 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.5825, allocations: 0 / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.5825, allocations: 0 / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002129/0.5828, allocations: 175.3 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.522e-05/0.5828, allocations: 81.11 kB / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.5829, allocations: 3.984 kB / 0.4918 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.583, allocations: 4 kB / 0.4918 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.5831, allocations: 4 kB / 0.4918 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.5831, allocations: 3.984 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001508/0.5832, allocations: 123.2 kB / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5833, allocations: 0 / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003359/0.5836, allocations: 24 kB / 0.4919 GB, free: 11.48 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.001706/0.5853, allocations: 0.9954 MB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.5855, allocations: 39.92 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.5855, allocations: 0 / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.5856, allocations: 16 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.5859, allocations: 15.98 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.000639/0.5866, allocations: 200.2 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003045/0.5869, allocations: 0.7029 MB / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.339e-05/0.587, allocations: 27.42 kB / 0.4939 GB, free: 9.531 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/0.587, allocations: 0 / 0.4939 GB, free: 9.531 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_Test8CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test8CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test8Functions.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_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test8FMU.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_Test8CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test8CalcHelperMain.o] Error 1