Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.552/2.552, allocations: 270 MB / 282.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.82e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3913/0.3914, allocations: 61.88 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.5531, allocations: 89.28 MB / 498.2 MB, free: 1.254 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.5535, allocations: 75.95 kB / 498.3 MB, free: 1.18 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02818/0.5817, allocations: 5.692 MB / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.5818, allocations: 0 / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.404e-05/0.5818, allocations: 0 / 0.4922 GB, free: 11.48 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0009219/0.5828, allocations: 406.2 kB / 0.4926 GB, free: 11.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.323e-05/0.5829, allocations: 11.97 kB / 0.4926 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.512e-05/0.583, allocations: 38.55 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/0.5831, allocations: 19.75 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006992/0.5838, allocations: 210.8 kB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.5839, allocations: 11.94 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.307e-05/0.584, allocations: 4 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.5842, allocations: 49.69 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.814e-05/0.5843, allocations: 0 / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.134e-05/0.5843, allocations: 0 / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.5843, allocations: 4 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001277/0.5845, allocations: 23.92 kB / 0.4929 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.5853, allocations: 308.8 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.5856, allocations: 54.69 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.016e-05/0.5857, allocations: 20.98 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.962e-05/0.5858, allocations: 0 / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.586, allocations: 67.33 kB / 0.4933 GB, free: 10.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.726e-06/0.586, allocations: 0 / 0.4933 GB, free: 10.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009184/0.587, allocations: 153.3 kB / 0.4935 GB, free: 9.945 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.488e-05/0.5871, allocations: 51.41 kB / 0.4935 GB, free: 9.883 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006012/0.5877, allocations: 207.2 kB / 0.4937 GB, free: 9.668 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.102e-05/0.5878, allocations: 25.7 kB / 0.4938 GB, free: 9.637 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000147/0.5879, allocations: 170.4 kB / 0.4939 GB, free: 9.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.139e-05/0.588, allocations: 15.81 kB / 0.4939 GB, free: 9.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/0.588, allocations: 4 kB / 0.4939 GB, free: 9.449 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/0.5882, allocations: 326.7 kB / 0.4943 GB, free: 9.121 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.5883, allocations: 24 kB / 0.4943 GB, free: 9.098 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5885, allocations: 29.72 kB / 0.4943 GB, free: 9.062 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/0.5886, allocations: 23.97 kB / 0.4943 GB, free: 9.039 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5886, allocations: 0 / 0.4943 GB, free: 9.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003654/0.589, allocations: 93.53 kB / 0.4944 GB, free: 8.941 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.494e-05/0.589, allocations: 4 kB / 0.4944 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.5891, allocations: 0 / 0.4944 GB, free: 8.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.5891, allocations: 4 kB / 0.4944 GB, free: 8.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.5893, allocations: 24.02 kB / 0.4944 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.5894, allocations: 0 / 0.4944 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.5896, allocations: 4 kB / 0.4944 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.5896, allocations: 7.938 kB / 0.4945 GB, free: 8.898 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 0.0001309/0.5897, allocations: 112.9 kB / 0.4946 GB, free: 8.781 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.736e-05/0.5898, allocations: 15.81 kB / 0.4946 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004872/0.5903, allocations: 119.2 kB / 0.4947 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.5903, allocations: 0 / 0.4947 GB, free: 8.641 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.5904, allocations: 4 kB / 0.4947 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.5904, allocations: 0 / 0.4947 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009995/0.5914, allocations: 423.2 kB / 0.4951 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.5914, allocations: 0 / 0.4951 GB, free: 8.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.5916, allocations: 12.17 kB / 0.4951 GB, free: 8.152 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.475e-05/0.5916, allocations: 8 kB / 0.4951 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.5917, allocations: 0 / 0.4951 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.5917, allocations: 240 / 0.4951 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.115e-06/0.5917, allocations: 3.938 kB / 0.4951 GB, free: 8.141 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004854/0.5922, allocations: 229.9 kB / 0.4953 GB, free: 7.891 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001282/0.5924, allocations: 93 kB / 0.4954 GB, free: 7.781 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.342e-05/0.5924, allocations: 4 kB / 0.4954 GB, free: 7.777 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.5927, allocations: 7.984 kB / 0.4954 GB, free: 7.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.958e-05/0.5928, allocations: 15.89 kB / 0.4955 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.346e-05/0.5928, allocations: 4 kB / 0.4955 GB, free: 7.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003712/0.5932, allocations: 175.5 kB / 0.4956 GB, free: 7.578 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.5932, allocations: 0 / 0.4956 GB, free: 7.578 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006398/0.5939, allocations: 27.94 kB / 0.4957 GB, free: 7.551 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002967/0.5969, allocations: 1.181 MB / 0.4968 GB, free: 6.488 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003646/0.5973, allocations: 55.94 kB / 0.4969 GB, free: 6.434 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.5973, allocations: 0 / 0.4969 GB, free: 6.434 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001768/0.5975, allocations: 24 kB / 0.4969 GB, free: 6.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006297/0.5982, allocations: 32.23 kB / 0.4969 GB, free: 6.375 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.5995, allocations: 290.5 kB / 0.4972 GB, free: 6.047 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004606/0.6, allocations: 0.7198 MB / 0.4979 GB, free: 5.301 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001558/0.6002, allocations: 35.42 kB / 0.4979 GB, free: 5.266 MB / 426.7 MB Notification: Performance of SimCode: time 2.174e-06/0.6002, allocations: 0 / 0.4979 GB, free: 5.266 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_CombiTimeTable_Test52CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test52CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test52CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test52Functions.cpp:241:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp5.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test52CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test52FMU.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_CombiTimeTable_Test52CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test52CalcHelperMain.o] Error 1