Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.469/2.469, allocations: 270 MB / 282.7 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.92e-05, allocations: 4 kB / 347.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4296/0.4296, allocations: 61.88 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1901/0.6198, allocations: 89.28 MB / 498.2 MB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.6202, allocations: 75.95 kB / 498.3 MB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03176/0.652, allocations: 5.551 MB / 0.492 GB, free: 11.68 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.652, allocations: 0 / 0.492 GB, free: 11.68 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.6521, allocations: 4 kB / 0.492 GB, free: 11.67 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.000632/0.6527, allocations: 402.2 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.6528, allocations: 8.031 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.127e-05/0.6528, allocations: 38.5 kB / 0.4925 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.6529, allocations: 11.91 kB / 0.4925 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.6534, allocations: 209.6 kB / 0.4927 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.858e-05/0.6534, allocations: 15.95 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.164e-05/0.6535, allocations: 0 / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.6536, allocations: 53.67 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.6537, allocations: 0 / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.6537, allocations: 3.938 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.6537, allocations: 7.938 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.793e-05/0.6538, allocations: 16 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005161/0.6543, allocations: 300.8 kB / 0.4931 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.6545, allocations: 54.69 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.199e-05/0.6546, allocations: 16.98 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.6546, allocations: 0 / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001854/0.6548, allocations: 71.33 kB / 0.4932 GB, free: 10.31 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.6548, allocations: 0 / 0.4932 GB, free: 10.31 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006409/0.6555, allocations: 157.3 kB / 0.4933 GB, free: 10.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.6556, allocations: 51.41 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002975/0.6559, allocations: 182 kB / 0.4936 GB, free: 9.902 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.422e-05/0.6559, allocations: 29.7 kB / 0.4936 GB, free: 9.867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.188e-05/0.656, allocations: 166.5 kB / 0.4937 GB, free: 9.703 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.004e-05/0.6561, allocations: 23.73 kB / 0.4938 GB, free: 9.68 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.733e-06/0.6561, allocations: 0 / 0.4938 GB, free: 9.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6562, allocations: 318.8 kB / 0.4941 GB, free: 9.359 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.001e-05/0.6563, allocations: 27.94 kB / 0.4941 GB, free: 9.332 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.103e-05/0.6564, allocations: 33.7 kB / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.6565, allocations: 24.06 kB / 0.4942 GB, free: 9.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6565, allocations: 0 / 0.4942 GB, free: 9.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002469/0.6568, allocations: 97.56 kB / 0.4942 GB, free: 9.168 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.6568, allocations: 7.938 kB / 0.4943 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.6568, allocations: 0 / 0.4943 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.6569, allocations: 0 / 0.4943 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001627/0.657, allocations: 20.03 kB / 0.4943 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.6571, allocations: 3.984 kB / 0.4943 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.352e-05/0.6572, allocations: 4.188 kB / 0.4943 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.6572, allocations: 4 kB / 0.4943 GB, free: 9.129 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.0001085/0.6573, allocations: 112.9 kB / 0.4944 GB, free: 9.012 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.413e-05/0.6574, allocations: 7.906 kB / 0.4944 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003676/0.6578, allocations: 123.2 kB / 0.4945 GB, free: 8.879 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.154e-06/0.6578, allocations: 4 kB / 0.4945 GB, free: 8.875 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.82e-06/0.6578, allocations: 4.094 kB / 0.4945 GB, free: 8.871 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.6578, allocations: 3.938 kB / 0.4945 GB, free: 8.867 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006792/0.6585, allocations: 403.3 kB / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.6585, allocations: 0 / 0.4949 GB, free: 8.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.683e-05/0.6586, allocations: 19.92 kB / 0.4949 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.6586, allocations: 0 / 0.4949 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.6587, allocations: 0 / 0.4949 GB, free: 8.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.6587, allocations: 4 kB / 0.4949 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.6587, allocations: 3.969 kB / 0.4949 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/0.659, allocations: 222 kB / 0.4952 GB, free: 8.145 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/0.6591, allocations: 100.9 kB / 0.4953 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.782e-05/0.6592, allocations: 4 kB / 0.4953 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.6593, allocations: 0 / 0.4953 GB, free: 8.023 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.094e-05/0.6594, allocations: 19.88 kB / 0.4953 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.6594, allocations: 8 kB / 0.4953 GB, free: 7.996 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002159/0.6596, allocations: 151 kB / 0.4954 GB, free: 7.852 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.6596, allocations: 0 / 0.4954 GB, free: 7.852 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000389/0.66, allocations: 31.94 kB / 0.4955 GB, free: 7.82 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.002075/0.6621, allocations: 1.176 MB / 0.4966 GB, free: 6.762 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002539/0.6624, allocations: 51.94 kB / 0.4967 GB, free: 6.711 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.6624, allocations: 0 / 0.4967 GB, free: 6.711 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000106/0.6626, allocations: 35.92 kB / 0.4967 GB, free: 6.676 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.663, allocations: 26.91 kB / 0.4967 GB, free: 6.652 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008346/0.6639, allocations: 274 kB / 0.497 GB, free: 6.344 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003604/0.6642, allocations: 0.7082 MB / 0.4977 GB, free: 5.609 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.6644, allocations: 43.42 kB / 0.4977 GB, free: 5.566 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/0.6644, allocations: 0 / 0.4977 GB, free: 5.566 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_Test26CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test26CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test26Functions.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_Test26CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test26FMU.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_Test26CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test26CalcHelperMain.o] Error 1