Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.482/2.482, allocations: 270 MB / 282.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.717e-05/3.743e-05, allocations: 4 kB / 347.1 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4149, allocations: 61.88 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2274/0.6424, allocations: 89.09 MB / 498 MB, free: 1.465 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/0.6428, allocations: 71.97 kB / 498.1 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03941/0.6823, allocations: 5.664 MB / 0.492 GB, free: 11.73 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/0.6823, allocations: 0 / 0.492 GB, free: 11.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.758e-05/0.6824, allocations: 4 kB / 0.492 GB, free: 11.72 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000812/0.6832, allocations: 406.2 kB / 0.4923 GB, free: 11.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.398e-05/0.6833, allocations: 8.031 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.095e-05/0.6834, allocations: 38.55 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.599e-05/0.6835, allocations: 15.81 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006184/0.6841, allocations: 218.5 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.6842, allocations: 8 kB / 0.4926 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.6842, allocations: 3.953 kB / 0.4926 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.6844, allocations: 45.69 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.6844, allocations: 0 / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.557e-05/0.6845, allocations: 0 / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.6845, allocations: 0 / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.6846, allocations: 15.98 kB / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003786/0.685, allocations: 205.6 kB / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.6853, allocations: 46.62 kB / 0.4929 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.718e-05/0.6854, allocations: 16.86 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.6854, allocations: 7.891 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002299/0.6857, allocations: 71.48 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 3.707e-06/0.6857, allocations: 3.938 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003978/0.6861, allocations: 85.44 kB / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.6862, allocations: 51.41 kB / 0.4931 GB, free: 10.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005904/0.6868, allocations: 241.8 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.478e-05/0.6868, allocations: 25.7 kB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.687, allocations: 170.6 kB / 0.4936 GB, free: 9.859 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.687, allocations: 7.906 kB / 0.4936 GB, free: 9.852 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-06/0.6871, allocations: 0 / 0.4936 GB, free: 9.852 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001784/0.6872, allocations: 318.8 kB / 0.4939 GB, free: 9.531 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.439e-05/0.6873, allocations: 12 kB / 0.4939 GB, free: 9.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.16e-05/0.6874, allocations: 29.7 kB / 0.4939 GB, free: 9.484 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.253e-05/0.6875, allocations: 12 kB / 0.4939 GB, free: 9.473 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.6876, allocations: 0 / 0.4939 GB, free: 9.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002934/0.6879, allocations: 81.52 kB / 0.494 GB, free: 9.387 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.6879, allocations: 7.953 kB / 0.494 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.6879, allocations: 32 / 0.494 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.688, allocations: 8 kB / 0.494 GB, free: 9.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.6882, allocations: 8 kB / 0.494 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6882, allocations: 0 / 0.494 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.6884, allocations: 7.938 kB / 0.494 GB, free: 9.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.6884, allocations: 0 / 0.494 GB, free: 9.355 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 (7): * Single equations (assignments): 7 * 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.0001387/0.6886, allocations: 120 kB / 0.4941 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.25e-05/0.6887, allocations: 15.81 kB / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004149/0.6891, allocations: 98.56 kB / 0.4943 GB, free: 9.109 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.6892, allocations: 4 kB / 0.4943 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.6892, allocations: 0 / 0.4943 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.6892, allocations: 0 / 0.4943 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003477/0.6896, allocations: 205.6 kB / 0.4945 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.6896, allocations: 0 / 0.4945 GB, free: 8.855 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.252e-05/0.6897, allocations: 4 kB / 0.4945 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.6897, allocations: 0 / 0.4945 GB, free: 8.852 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.6897, allocations: 4 kB / 0.4945 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.744e-06/0.6898, allocations: 3.953 kB / 0.4945 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/0.6898, allocations: 192 / 0.4945 GB, free: 8.844 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003703/0.6902, allocations: 128.8 kB / 0.4946 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.6903, allocations: 100.9 kB / 0.4947 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.292e-05/0.6904, allocations: 4 kB / 0.4947 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.6906, allocations: 4 kB / 0.4947 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.6906, allocations: 3.953 kB / 0.4947 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.224e-05/0.6907, allocations: 7.984 kB / 0.4947 GB, free: 8.562 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004406/0.6911, allocations: 196.2 kB / 0.4949 GB, free: 8.371 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.6911, allocations: 0 / 0.4949 GB, free: 8.371 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005776/0.6917, allocations: 31.94 kB / 0.4949 GB, free: 8.34 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: 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 (6): * Single equations (assignments): 4 * 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.002475/0.6942, allocations: 0.9469 MB / 0.4959 GB, free: 7.496 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002832/0.6946, allocations: 32 kB / 0.4959 GB, free: 7.465 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.6946, allocations: 0 / 0.4959 GB, free: 7.465 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001107/0.6947, allocations: 27.92 kB / 0.4959 GB, free: 7.438 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/0.6953, allocations: 27.72 kB / 0.4959 GB, free: 7.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.6965, allocations: 301.8 kB / 0.4962 GB, free: 7.074 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.6971, allocations: 0.7199 MB / 0.4969 GB, free: 6.328 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001729/0.6973, allocations: 39.42 kB / 0.497 GB, free: 6.289 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/0.6973, allocations: 0 / 0.497 GB, free: 6.289 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_Test61CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test61CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test61CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test61Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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_Test61CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test61FMU.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_Test61CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test61CalcHelperMain.o] Error 1