Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.594/2.594, allocations: 270 MB / 282.7 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.608e-05, allocations: 4 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4159/0.416, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.5867, allocations: 90.98 MB / 499.9 MB, free: 15.53 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.5871, allocations: 71.97 kB / 500 MB, free: 15.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07641/0.6635, allocations: 4.938 MB / 0.4931 GB, free: 10.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.478e-06/0.6636, allocations: 0 / 0.4931 GB, free: 10.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.257e-05/0.6636, allocations: 7.938 kB / 0.4931 GB, free: 10.51 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001247/0.6648, allocations: 0.5327 MB / 0.4936 GB, free: 9.918 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.6649, allocations: 15.97 kB / 0.4936 GB, free: 9.902 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.041e-05/0.665, allocations: 34.56 kB / 0.4937 GB, free: 9.859 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.6651, allocations: 19.81 kB / 0.4937 GB, free: 9.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004996/0.6656, allocations: 239.6 kB / 0.4939 GB, free: 9.562 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.162e-05/0.6656, allocations: 15.95 kB / 0.4939 GB, free: 9.547 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.674e-05/0.6657, allocations: 8 kB / 0.4939 GB, free: 9.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003225/0.666, allocations: 124.1 kB / 0.4941 GB, free: 9.402 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.666, allocations: 0 / 0.4941 GB, free: 9.402 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.6661, allocations: 4 kB / 0.4941 GB, free: 9.398 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.6661, allocations: 4 kB / 0.4941 GB, free: 9.395 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002085/0.6663, allocations: 47.98 kB / 0.4941 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.6676, allocations: 0.5946 MB / 0.4947 GB, free: 8.695 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006781/0.6683, allocations: 103.8 kB / 0.4948 GB, free: 8.586 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.6684, allocations: 41.03 kB / 0.4948 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.805e-05/0.6685, allocations: 7.938 kB / 0.4948 GB, free: 8.535 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003161/0.6688, allocations: 103.4 kB / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 3.126e-06/0.6688, allocations: 0 / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005003/0.6693, allocations: 137.4 kB / 0.4951 GB, free: 8.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.6694, allocations: 51.41 kB / 0.4951 GB, free: 8.219 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003501/0.6698, allocations: 210 kB / 0.4953 GB, free: 8.008 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.6698, allocations: 29.7 kB / 0.4953 GB, free: 7.973 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/0.67, allocations: 182.8 kB / 0.4955 GB, free: 7.789 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.695e-05/0.67, allocations: 35.53 kB / 0.4956 GB, free: 7.754 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.717e-05/0.6701, allocations: 4 kB / 0.4956 GB, free: 7.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6702, allocations: 326.8 kB / 0.4959 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.6704, allocations: 39.94 kB / 0.4959 GB, free: 7.383 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001693/0.6705, allocations: 72.77 kB / 0.496 GB, free: 7.301 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.6707, allocations: 69.69 kB / 0.496 GB, free: 7.227 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.6707, allocations: 0 / 0.496 GB, free: 7.227 MB / 426.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004629/0.6712, allocations: 183.2 kB / 0.4962 GB, free: 7.035 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.047e-05/0.6713, allocations: 33.7 kB / 0.4962 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.6713, allocations: 0 / 0.4962 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.6713, allocations: 0 / 0.4962 GB, free: 6.996 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.6717, allocations: 56.02 kB / 0.4963 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.6717, allocations: 11.94 kB / 0.4963 GB, free: 6.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003955/0.6721, allocations: 23.89 kB / 0.4963 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.187e-05/0.6722, allocations: 19.92 kB / 0.4964 GB, free: 6.887 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001225/0.6723, allocations: 118.1 kB / 0.4965 GB, free: 6.766 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.473e-05/0.6724, allocations: 15.81 kB / 0.4965 GB, free: 6.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.6728, allocations: 155.2 kB / 0.4966 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.6729, allocations: 0 / 0.4966 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6729, allocations: 0 / 0.4966 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.6729, allocations: 3.953 kB / 0.4966 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.6732, allocations: 233.6 kB / 0.4969 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.6732, allocations: 0 / 0.4969 GB, free: 6.309 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.6735, allocations: 35.91 kB / 0.4969 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/0.6736, allocations: 0 / 0.4969 GB, free: 6.273 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.6736, allocations: 16 kB / 0.4969 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.6736, allocations: 0 / 0.4969 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.6736, allocations: 0 / 0.4969 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000589/0.6742, allocations: 228.8 kB / 0.4971 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.107e-05/0.6743, allocations: 92.92 kB / 0.4972 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.6744, allocations: 4 kB / 0.4972 GB, free: 5.902 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.6747, allocations: 35.97 kB / 0.4973 GB, free: 5.867 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.6748, allocations: 15.97 kB / 0.4973 GB, free: 5.852 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-05/0.6749, allocations: 11.98 kB / 0.4973 GB, free: 5.84 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000229/0.6751, allocations: 164.6 kB / 0.4974 GB, free: 5.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6751, allocations: 0 / 0.4974 GB, free: 5.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004127/0.6756, allocations: 43.94 kB / 0.4975 GB, free: 5.637 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.002024/0.6776, allocations: 1.079 MB / 0.4985 GB, free: 4.664 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004293/0.6781, allocations: 159.3 kB / 0.4987 GB, free: 4.496 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.6781, allocations: 0 / 0.4987 GB, free: 4.496 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001694/0.6783, allocations: 51.94 kB / 0.4987 GB, free: 4.445 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004542/0.6787, allocations: 47.92 kB / 0.4988 GB, free: 4.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.6798, allocations: 311.9 kB / 0.4991 GB, free: 4.051 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.6802, allocations: 0.7402 MB / 0.4998 GB, free: 3.285 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.6803, allocations: 51.41 kB / 0.4998 GB, free: 3.234 MB / 426.7 MB Notification: Performance of SimCode: time 9.11e-07/0.6804, allocations: 4 kB / 0.4999 GB, free: 3.23 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_Test14CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test14CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test14Functions.cpp:204:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp13.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_Test14CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test14FMU.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_Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test14CalcHelperMain.o] Error 1