Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test77,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test77",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.697/2.697, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.239e-05/5.276e-05, allocations: 8 kB / 347.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5162/0.5163, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2318/0.7482, allocations: 89.54 MB / 498.5 MB, free: 0.9883 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000346/0.7486, allocations: 71.95 kB / 498.5 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04955/0.7982, allocations: 8.015 MB / 0.4947 GB, free: 8.887 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.7982, allocations: 0 / 0.4947 GB, free: 8.887 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.763e-05/0.7983, allocations: 4 kB / 0.4947 GB, free: 8.883 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008443/0.7991, allocations: 497.9 kB / 0.4952 GB, free: 8.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.818e-05/0.7992, allocations: 8.031 kB / 0.4952 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.646e-05/0.7993, allocations: 42.55 kB / 0.4952 GB, free: 8.297 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.7994, allocations: 23.72 kB / 0.4952 GB, free: 8.273 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006571/0.8, allocations: 282.4 kB / 0.4955 GB, free: 7.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.131e-05/0.8001, allocations: 4 kB / 0.4955 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.8001, allocations: 8 kB / 0.4955 GB, free: 7.945 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.8004, allocations: 112.8 kB / 0.4956 GB, free: 7.824 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.91e-05/0.8004, allocations: 7.906 kB / 0.4956 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.8005, allocations: 0 / 0.4956 GB, free: 7.816 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.8005, allocations: 7.938 kB / 0.4956 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/0.8007, allocations: 51.91 kB / 0.4957 GB, free: 7.758 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007933/0.8015, allocations: 472.8 kB / 0.4961 GB, free: 7.242 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004573/0.8019, allocations: 121.2 kB / 0.4962 GB, free: 7.105 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.8021, allocations: 41.83 kB / 0.4963 GB, free: 7.059 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.104e-05/0.8021, allocations: 4 kB / 0.4963 GB, free: 7.055 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000275/0.8024, allocations: 121.1 kB / 0.4964 GB, free: 6.918 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 4.778e-06/0.8024, allocations: 3.938 kB / 0.4964 GB, free: 6.914 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001378/0.8038, allocations: 412.8 kB / 0.4968 GB, free: 6.504 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.8039, allocations: 85.09 kB / 0.4969 GB, free: 6.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005991/0.8045, allocations: 323.3 kB / 0.4972 GB, free: 6.078 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.724e-05/0.8046, allocations: 29.7 kB / 0.4972 GB, free: 6.043 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.8047, allocations: 190.9 kB / 0.4974 GB, free: 5.855 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.512e-05/0.8048, allocations: 75.08 kB / 0.4975 GB, free: 5.781 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.655e-05/0.8048, allocations: 8 kB / 0.4975 GB, free: 5.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8049, allocations: 322.8 kB / 0.4978 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.8051, allocations: 52 kB / 0.4978 GB, free: 5.398 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001885/0.8053, allocations: 89.98 kB / 0.4979 GB, free: 5.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.8055, allocations: 59.97 kB / 0.498 GB, free: 5.242 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.8055, allocations: 4 kB / 0.498 GB, free: 5.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000507/0.806, allocations: 201.6 kB / 0.4982 GB, free: 5.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.8061, allocations: 4 kB / 0.4982 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8061, allocations: 4 kB / 0.4982 GB, free: 5.027 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.8061, allocations: 3.953 kB / 0.4982 GB, free: 5.023 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003118/0.8064, allocations: 47.92 kB / 0.4982 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.998e-06/0.8065, allocations: 0 / 0.4982 GB, free: 4.977 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.8067, allocations: 19.89 kB / 0.4983 GB, free: 4.957 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.324e-05/0.8067, allocations: 4.297 kB / 0.4983 GB, free: 4.953 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001169/0.8068, allocations: 128.9 kB / 0.4984 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.616e-05/0.8069, allocations: 23.72 kB / 0.4984 GB, free: 4.797 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007518/0.8077, allocations: 263.2 kB / 0.4987 GB, free: 4.531 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/0.8077, allocations: 7.953 kB / 0.4987 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.8077, allocations: 0 / 0.4987 GB, free: 4.523 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.8077, allocations: 3.984 kB / 0.4987 GB, free: 4.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001405/0.8091, allocations: 0.7584 MB / 0.4994 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.8092, allocations: 0 / 0.4994 GB, free: 3.691 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.8094, allocations: 35.92 kB / 0.4994 GB, free: 3.656 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.8094, allocations: 4 kB / 0.4994 GB, free: 3.652 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.8094, allocations: 12.11 kB / 0.4995 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.074e-06/0.8094, allocations: 4 kB / 0.4995 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/0.8095, allocations: 7.938 kB / 0.4995 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006809/0.8102, allocations: 470.7 kB / 0.4999 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/0.8103, allocations: 136.6 kB / 0.5 GB, free: 2.953 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.679e-05/0.8104, allocations: 8 kB / 0.5001 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002457/0.8107, allocations: 8 kB / 0.5001 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.148e-05/0.8107, allocations: 23.97 kB / 0.5001 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.8108, allocations: 8 kB / 0.5001 GB, free: 2.906 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004381/0.8112, allocations: 259.1 kB / 0.5003 GB, free: 2.652 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8112, allocations: 0 / 0.5003 GB, free: 2.652 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005342/0.8118, allocations: 60 kB / 0.5004 GB, free: 2.594 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002579/0.8144, allocations: 1.783 MB / 0.5021 GB, free: 0.9297 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004876/0.8149, allocations: 155.8 kB / 0.5023 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.8149, allocations: 0 / 0.5023 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002159/0.8152, allocations: 83.86 kB / 0.5024 GB, free: 0.6953 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006533/0.8158, allocations: 40.86 kB / 0.5024 GB, free: 0.6523 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.8173, allocations: 0.5081 MB / 0.5029 GB, free: 88 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004513/0.8178, allocations: 0.7677 MB / 0.5037 GB, free: 15.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.8181, allocations: 91.39 kB / 0.5037 GB, free: 15.2 MB / 442.7 MB Notification: Performance of SimCode: time 2.124e-06/0.8181, allocations: 4 kB / 0.5037 GB, free: 15.2 MB / 442.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_Test77CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test77CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test77CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test77Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp12.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_Test77CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test77FMU.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_Test77CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test77CalcHelperMain.o] Error 1