Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.642/2.642, allocations: 270 MB / 282.7 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.036e-05/4.046e-05, allocations: 4 kB / 347.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4204, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1754/0.5958, allocations: 89.34 MB / 498.3 MB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002998/0.5962, allocations: 71.95 kB / 498.3 MB, free: 1.223 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02655/0.6228, allocations: 6.227 MB / 0.4927 GB, free: 10.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6228, allocations: 0 / 0.4927 GB, free: 10.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.6229, allocations: 4 kB / 0.4927 GB, free: 10.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006302/0.6235, allocations: 434 kB / 0.4932 GB, free: 10.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.6236, allocations: 16.03 kB / 0.4932 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.657e-05/0.6236, allocations: 30.56 kB / 0.4932 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.001e-05/0.6237, allocations: 11.91 kB / 0.4932 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.6241, allocations: 234.6 kB / 0.4934 GB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.6241, allocations: 7.891 kB / 0.4934 GB, free: 10.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.6242, allocations: 7.984 kB / 0.4935 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001775/0.6244, allocations: 69.61 kB / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.6244, allocations: 0 / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.6244, allocations: 0 / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.6244, allocations: 0 / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.6246, allocations: 35.98 kB / 0.4936 GB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005659/0.6252, allocations: 332.7 kB / 0.4939 GB, free: 9.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003165/0.6255, allocations: 78.58 kB / 0.4939 GB, free: 9.594 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.152e-05/0.6256, allocations: 20.86 kB / 0.494 GB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.6256, allocations: 0 / 0.494 GB, free: 9.57 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002091/0.6258, allocations: 79.39 kB / 0.494 GB, free: 9.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.6258, allocations: 0 / 0.494 GB, free: 9.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.000878/0.6267, allocations: 249 kB / 0.4943 GB, free: 9.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.6268, allocations: 51.41 kB / 0.4943 GB, free: 9.168 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.6272, allocations: 233.5 kB / 0.4946 GB, free: 8.926 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.6272, allocations: 29.7 kB / 0.4946 GB, free: 8.891 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.023e-05/0.6273, allocations: 166.6 kB / 0.4947 GB, free: 8.727 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.074e-05/0.6274, allocations: 39.45 kB / 0.4948 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.6274, allocations: 8 kB / 0.4948 GB, free: 8.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.6276, allocations: 314.8 kB / 0.4951 GB, free: 8.363 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.6277, allocations: 32 kB / 0.4951 GB, free: 8.332 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.6278, allocations: 53.66 kB / 0.4952 GB, free: 8.273 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.6279, allocations: 39.97 kB / 0.4952 GB, free: 8.234 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.6279, allocations: 0 / 0.4952 GB, free: 8.234 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003311/0.6283, allocations: 133.7 kB / 0.4953 GB, free: 8.098 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.6283, allocations: 8 kB / 0.4953 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.6283, allocations: 0 / 0.4953 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.6284, allocations: 4 kB / 0.4953 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002187/0.6286, allocations: 27.92 kB / 0.4954 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.6286, allocations: 4 kB / 0.4954 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.79e-05/0.6287, allocations: 4 kB / 0.4954 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.6287, allocations: 7.953 kB / 0.4954 GB, free: 8.043 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 (14): * Single equations (assignments): 14 * 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.77e-05/0.6289, allocations: 109 kB / 0.4955 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.364e-05/0.6289, allocations: 19.81 kB / 0.4955 GB, free: 7.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004759/0.6294, allocations: 171 kB / 0.4957 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.6294, allocations: 4 kB / 0.4957 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.6294, allocations: 0 / 0.4957 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.6294, allocations: 3.938 kB / 0.4957 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009164/0.6304, allocations: 0.4961 MB / 0.4962 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.6304, allocations: 4.062 kB / 0.4962 GB, free: 7.164 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.6305, allocations: 19.98 kB / 0.4962 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.6305, allocations: 0 / 0.4962 GB, free: 7.145 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.6306, allocations: 8 kB / 0.4962 GB, free: 7.137 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.784e-06/0.6306, allocations: 7.891 kB / 0.4962 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.6306, allocations: 0 / 0.4962 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004545/0.6311, allocations: 280.5 kB / 0.4965 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001081/0.6312, allocations: 104.9 kB / 0.4966 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.399e-05/0.6312, allocations: 4 kB / 0.4966 GB, free: 6.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.6314, allocations: 8 kB / 0.4966 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.6315, allocations: 7.984 kB / 0.4966 GB, free: 6.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.919e-05/0.6315, allocations: 4 kB / 0.4966 GB, free: 6.676 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003021/0.6318, allocations: 184.5 kB / 0.4968 GB, free: 6.496 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6318, allocations: 4 kB / 0.4968 GB, free: 6.492 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004119/0.6322, allocations: 51.92 kB / 0.4968 GB, free: 6.441 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 12 * 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.002291/0.6345, allocations: 1.363 MB / 0.4982 GB, free: 5.211 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003056/0.6349, allocations: 87.92 kB / 0.4982 GB, free: 5.125 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6349, allocations: 0 / 0.4982 GB, free: 5.125 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.6351, allocations: 51.92 kB / 0.4983 GB, free: 5.074 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004195/0.6355, allocations: 24.17 kB / 0.4983 GB, free: 5.047 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.6365, allocations: 359.9 kB / 0.4987 GB, free: 4.645 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.637, allocations: 0.7321 MB / 0.4994 GB, free: 3.887 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.6371, allocations: 55.39 kB / 0.4994 GB, free: 3.832 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.6372, allocations: 0 / 0.4994 GB, free: 3.832 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_Test8CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test8CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test8Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp7.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_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_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_CombiTimeTable_Test8CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test8CalcHelperMain.o] Error 1