Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.614/2.614, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.933e-05, allocations: 4 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4648, allocations: 61.87 MB / 408.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1719/0.6367, allocations: 89.28 MB / 498.2 MB, free: 1.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.6371, allocations: 75.95 kB / 498.3 MB, free: 1.355 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.025/0.6621, allocations: 5.512 MB / 0.492 GB, free: 11.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.771e-06/0.6621, allocations: 3.984 kB / 0.492 GB, free: 11.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.6622, allocations: 0 / 0.492 GB, free: 11.83 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.0006036/0.6628, allocations: 398.3 kB / 0.4924 GB, free: 11.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.6628, allocations: 8.031 kB / 0.4924 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.354e-05/0.6629, allocations: 34.56 kB / 0.4924 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.582e-05/0.663, allocations: 7.906 kB / 0.4924 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003912/0.6634, allocations: 219.6 kB / 0.4926 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.6634, allocations: 7.953 kB / 0.4926 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.678e-05/0.6634, allocations: 4 kB / 0.4926 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001504/0.6636, allocations: 53.67 kB / 0.4927 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.6636, allocations: 4 kB / 0.4927 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.6636, allocations: 0 / 0.4927 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-06/0.6637, allocations: 0 / 0.4927 GB, free: 11.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.495e-05/0.6638, allocations: 23.92 kB / 0.4927 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004787/0.6642, allocations: 296.8 kB / 0.493 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000161/0.6644, allocations: 54.62 kB / 0.4931 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.401e-05/0.6645, allocations: 24.98 kB / 0.4931 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.6645, allocations: 0 / 0.4931 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001654/0.6647, allocations: 63.39 kB / 0.4931 GB, free: 10.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.194e-06/0.6647, allocations: 0 / 0.4931 GB, free: 10.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.000596/0.6653, allocations: 157.1 kB / 0.4933 GB, free: 10.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.6654, allocations: 51.41 kB / 0.4933 GB, free: 10.26 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/0.6657, allocations: 173.3 kB / 0.4935 GB, free: 10.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.6657, allocations: 29.7 kB / 0.4935 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.489e-05/0.6658, allocations: 162.6 kB / 0.4937 GB, free: 9.891 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.6659, allocations: 23.7 kB / 0.4937 GB, free: 9.867 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.927e-06/0.6659, allocations: 4 kB / 0.4937 GB, free: 9.863 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.666, allocations: 314.8 kB / 0.494 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.334e-05/0.6661, allocations: 20 kB / 0.494 GB, free: 9.527 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.6662, allocations: 41.64 kB / 0.4941 GB, free: 9.48 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.574e-05/0.6663, allocations: 23.98 kB / 0.4941 GB, free: 9.457 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6663, allocations: 4 kB / 0.4941 GB, free: 9.453 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002219/0.6665, allocations: 81.67 kB / 0.4942 GB, free: 9.367 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.6666, allocations: 4 kB / 0.4942 GB, free: 9.363 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6666, allocations: 4 kB / 0.4942 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.6666, allocations: 0 / 0.4942 GB, free: 9.359 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.6668, allocations: 20.12 kB / 0.4942 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.6669, allocations: 3.984 kB / 0.4942 GB, free: 9.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.646e-05/0.667, allocations: 15.84 kB / 0.4942 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.667, allocations: 8.031 kB / 0.4942 GB, free: 9.312 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.0001015/0.6671, allocations: 116.9 kB / 0.4943 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.6671, allocations: 7.906 kB / 0.4944 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003256/0.6675, allocations: 114.2 kB / 0.4945 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6675, allocations: 0 / 0.4945 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.6675, allocations: 0 / 0.4945 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.6675, allocations: 0 / 0.4945 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006372/0.6682, allocations: 411.5 kB / 0.4949 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.6682, allocations: 0 / 0.4949 GB, free: 8.609 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.934e-05/0.6683, allocations: 15.98 kB / 0.4949 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6683, allocations: 11.88 kB / 0.4949 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.6683, allocations: 0 / 0.4949 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.6683, allocations: 0 / 0.4949 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.6683, allocations: 4 kB / 0.4949 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003187/0.6687, allocations: 221.8 kB / 0.4951 GB, free: 8.336 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.6688, allocations: 93 kB / 0.4952 GB, free: 8.227 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.385e-05/0.6688, allocations: 0 / 0.4952 GB, free: 8.227 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.6689, allocations: 8 kB / 0.4952 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.669, allocations: 11.94 kB / 0.4952 GB, free: 8.207 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.669, allocations: 4 kB / 0.4952 GB, free: 8.203 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001833/0.6692, allocations: 136.6 kB / 0.4953 GB, free: 8.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6692, allocations: 3.938 kB / 0.4953 GB, free: 8.066 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003849/0.6696, allocations: 35.98 kB / 0.4954 GB, free: 8.031 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.001909/0.6715, allocations: 1.17 MB / 0.4965 GB, free: 6.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002218/0.6718, allocations: 63.86 kB / 0.4966 GB, free: 6.918 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.227e-06/0.6718, allocations: 0 / 0.4966 GB, free: 6.918 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.66e-05/0.6719, allocations: 28.16 kB / 0.4966 GB, free: 6.891 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.6723, allocations: 34.86 kB / 0.4966 GB, free: 6.859 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.6731, allocations: 258.5 kB / 0.4969 GB, free: 6.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.6735, allocations: 0.7084 MB / 0.4976 GB, free: 5.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.75e-05/0.6736, allocations: 35.42 kB / 0.4976 GB, free: 5.785 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6736, allocations: 0 / 0.4976 GB, free: 5.785 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_Test29CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test29CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test29CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test29Functions.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_Test29CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test29FMU.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_Test29CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test29CalcHelperMain.o] Error 1