Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.486/2.486, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.312e-05/4.286e-05, allocations: 8 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4027/0.4027, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2029/0.6057, allocations: 89.34 MB / 498.3 MB, free: 1.188 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/0.6061, allocations: 79.95 kB / 498.3 MB, free: 1.109 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03075/0.6368, allocations: 5.98 MB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.839e-06/0.6369, allocations: 3.984 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.074e-05/0.6369, allocations: 4 kB / 0.4925 GB, free: 11.11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006358/0.6376, allocations: 416.9 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.6376, allocations: 8.031 kB / 0.4929 GB, free: 10.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.6377, allocations: 42.56 kB / 0.493 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.364e-05/0.6378, allocations: 15.75 kB / 0.493 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000433/0.6382, allocations: 231.5 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.6383, allocations: 3.953 kB / 0.4932 GB, free: 10.32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.6383, allocations: 4 kB / 0.4932 GB, free: 10.31 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.6385, allocations: 65.61 kB / 0.4933 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.6385, allocations: 0 / 0.4933 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.6385, allocations: 0 / 0.4933 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.6385, allocations: 0 / 0.4933 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.201e-05/0.6386, allocations: 27.98 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.6392, allocations: 320.7 kB / 0.4936 GB, free: 9.852 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002715/0.6395, allocations: 54.5 kB / 0.4937 GB, free: 9.789 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.46e-05/0.6396, allocations: 24.98 kB / 0.4937 GB, free: 9.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.677e-05/0.6396, allocations: 0 / 0.4937 GB, free: 9.762 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001783/0.6398, allocations: 71.39 kB / 0.4937 GB, free: 9.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.78e-05/0.6398, allocations: 0 / 0.4937 GB, free: 9.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0007912/0.6406, allocations: 213.3 kB / 0.4939 GB, free: 9.465 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.6407, allocations: 51.41 kB / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000369/0.6411, allocations: 222.2 kB / 0.4942 GB, free: 9.176 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/0.6411, allocations: 29.7 kB / 0.4942 GB, free: 9.141 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.661e-05/0.6412, allocations: 178.5 kB / 0.4944 GB, free: 8.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.015e-05/0.6413, allocations: 31.47 kB / 0.4944 GB, free: 8.934 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.466e-05/0.6413, allocations: 15.94 kB / 0.4945 GB, free: 8.918 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.6414, allocations: 314.8 kB / 0.4948 GB, free: 8.602 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.318e-05/0.6415, allocations: 28 kB / 0.4948 GB, free: 8.574 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.6416, allocations: 45.7 kB / 0.4948 GB, free: 8.523 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.506e-05/0.6417, allocations: 28 kB / 0.4948 GB, free: 8.496 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.6417, allocations: 0 / 0.4948 GB, free: 8.496 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002806/0.642, allocations: 109.6 kB / 0.495 GB, free: 8.383 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6421, allocations: 8.031 kB / 0.495 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.6421, allocations: 0 / 0.495 GB, free: 8.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.6421, allocations: 4 kB / 0.495 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000176/0.6423, allocations: 23.98 kB / 0.495 GB, free: 8.348 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/0.6423, allocations: 3.938 kB / 0.495 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.6424, allocations: 7.938 kB / 0.495 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.6425, allocations: 7.953 kB / 0.495 GB, free: 8.328 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 (13): * Single equations (assignments): 13 * 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.624e-05/0.6426, allocations: 113 kB / 0.4951 GB, free: 8.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.209e-05/0.6426, allocations: 15.81 kB / 0.4951 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.643, allocations: 143.4 kB / 0.4953 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6431, allocations: 0 / 0.4953 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.6431, allocations: 0 / 0.4953 GB, free: 8.047 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.6431, allocations: 3.984 kB / 0.4953 GB, free: 8.043 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008532/0.644, allocations: 491.8 kB / 0.4957 GB, free: 7.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.644, allocations: 4.062 kB / 0.4957 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.6441, allocations: 12 kB / 0.4958 GB, free: 7.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.847e-06/0.6441, allocations: 7.938 kB / 0.4958 GB, free: 7.477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.956e-05/0.6441, allocations: 7.984 kB / 0.4958 GB, free: 7.469 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.6442, allocations: 7.953 kB / 0.4958 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.6442, allocations: 0 / 0.4958 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.6446, allocations: 256.5 kB / 0.496 GB, free: 7.176 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.6447, allocations: 108.9 kB / 0.4961 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.849e-05/0.6447, allocations: 0 / 0.4961 GB, free: 7.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.6449, allocations: 4 kB / 0.4961 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.965e-05/0.6449, allocations: 15.92 kB / 0.4961 GB, free: 7.031 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.856e-05/0.645, allocations: 4 kB / 0.4961 GB, free: 7.027 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002611/0.6452, allocations: 183.4 kB / 0.4963 GB, free: 6.848 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6453, allocations: 4 kB / 0.4963 GB, free: 6.844 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000423/0.6457, allocations: 47.92 kB / 0.4964 GB, free: 6.797 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 (12): * Single equations (assignments): 10 * 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.002136/0.6478, allocations: 1.33 MB / 0.4977 GB, free: 5.602 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000302/0.6482, allocations: 75.88 kB / 0.4977 GB, free: 5.527 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6482, allocations: 0 / 0.4977 GB, free: 5.527 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001192/0.6483, allocations: 47.92 kB / 0.4978 GB, free: 5.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/0.6488, allocations: 20.17 kB / 0.4978 GB, free: 5.457 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009401/0.6497, allocations: 327.9 kB / 0.4981 GB, free: 5.094 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.6501, allocations: 0.7278 MB / 0.4988 GB, free: 4.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.6502, allocations: 39.42 kB / 0.4989 GB, free: 4.301 MB / 426.7 MB Notification: Performance of SimCode: time 7.82e-07/0.6503, allocations: 4 kB / 0.4989 GB, free: 4.297 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_Test7CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test7CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test7Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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_Test7CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test7FMU.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_Test7CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test7CalcHelperMain.o] Error 1