Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.572/2.572, allocations: 270 MB / 282.7 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.851e-05/3.859e-05, allocations: 4 kB / 347.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4111/0.4112, allocations: 61.86 MB / 408.9 MB, free: 10.62 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.5778, allocations: 89.1 MB / 498 MB, free: 1.395 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/0.5781, allocations: 75.95 kB / 498.1 MB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02488/0.603, allocations: 5.354 MB / 0.4917 GB, free: 11.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6031, allocations: 0 / 0.4917 GB, free: 11.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.363e-05/0.6031, allocations: 0 / 0.4917 GB, free: 11.96 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005429/0.6037, allocations: 394.2 kB / 0.492 GB, free: 11.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/0.6037, allocations: 8.031 kB / 0.492 GB, free: 11.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.272e-05/0.6038, allocations: 38.55 kB / 0.4921 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.602e-05/0.6038, allocations: 11.91 kB / 0.4921 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.6042, allocations: 203.8 kB / 0.4923 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.6043, allocations: 11.92 kB / 0.4923 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.6043, allocations: 3.953 kB / 0.4923 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001283/0.6044, allocations: 45.67 kB / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.6045, allocations: 0 / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.6045, allocations: 7.938 kB / 0.4924 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.6045, allocations: 0 / 0.4924 GB, free: 11.15 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.452e-05/0.6046, allocations: 19.98 kB / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002412/0.6048, allocations: 181.6 kB / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.605, allocations: 50.62 kB / 0.4926 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.6051, allocations: 20.8 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.6051, allocations: 11.89 kB / 0.4926 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001682/0.6053, allocations: 67.48 kB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.863e-06/0.6053, allocations: 0 / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002685/0.6056, allocations: 73.58 kB / 0.4928 GB, free: 10.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.6056, allocations: 51.41 kB / 0.4928 GB, free: 10.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.6059, allocations: 176.9 kB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.958e-05/0.6059, allocations: 25.7 kB / 0.493 GB, free: 10.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.547e-05/0.606, allocations: 162.6 kB / 0.4932 GB, free: 10.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.6061, allocations: 15.75 kB / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/0.6061, allocations: 0 / 0.4932 GB, free: 10.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.6062, allocations: 322.8 kB / 0.4935 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.002e-05/0.6063, allocations: 19.94 kB / 0.4935 GB, free: 9.863 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.49e-05/0.6064, allocations: 21.72 kB / 0.4935 GB, free: 9.836 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.653e-05/0.6064, allocations: 15.98 kB / 0.4935 GB, free: 9.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.6064, allocations: 0 / 0.4935 GB, free: 9.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001742/0.6066, allocations: 69.69 kB / 0.4936 GB, free: 9.746 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/0.6067, allocations: 7.953 kB / 0.4936 GB, free: 9.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.6067, allocations: 4.031 kB / 0.4936 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.6067, allocations: 0 / 0.4936 GB, free: 9.734 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.6069, allocations: 19.92 kB / 0.4936 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.6069, allocations: 0 / 0.4936 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.607, allocations: 4 kB / 0.4936 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.888e-06/0.607, allocations: 0 / 0.4936 GB, free: 9.711 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 (7): * Single equations (assignments): 7 * 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.000107/0.6071, allocations: 109 kB / 0.4937 GB, free: 9.598 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.6072, allocations: 7.906 kB / 0.4937 GB, free: 9.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002621/0.6074, allocations: 97.72 kB / 0.4938 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.6075, allocations: 3.984 kB / 0.4938 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.6075, allocations: 4.125 kB / 0.4938 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.6075, allocations: 4 kB / 0.4938 GB, free: 9.473 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.6077, allocations: 193.5 kB / 0.494 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.6077, allocations: 0 / 0.494 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.752e-05/0.6078, allocations: 4 kB / 0.494 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.6078, allocations: 0 / 0.494 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.6078, allocations: 4 kB / 0.494 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.6078, allocations: 3.953 kB / 0.494 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.6078, allocations: 0 / 0.494 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.6081, allocations: 120.9 kB / 0.4942 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.6082, allocations: 88.95 kB / 0.4942 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.889e-05/0.6082, allocations: 11.98 kB / 0.4943 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.736e-05/0.6083, allocations: 0 / 0.4943 GB, free: 8.969 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.6083, allocations: 7.953 kB / 0.4943 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.6084, allocations: 3.984 kB / 0.4943 GB, free: 8.957 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001813/0.6086, allocations: 144.3 kB / 0.4944 GB, free: 8.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6086, allocations: 4 kB / 0.4944 GB, free: 8.816 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.6089, allocations: 24 kB / 0.4944 GB, free: 8.793 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001564/0.6105, allocations: 0.9492 MB / 0.4954 GB, free: 7.953 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001697/0.6107, allocations: 39.92 kB / 0.4954 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6107, allocations: 0 / 0.4954 GB, free: 7.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.676e-05/0.6108, allocations: 24 kB / 0.4954 GB, free: 7.891 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.6111, allocations: 23.92 kB / 0.4954 GB, free: 7.867 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000658/0.6118, allocations: 241.2 kB / 0.4957 GB, free: 7.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.6121, allocations: 0.7043 MB / 0.4964 GB, free: 6.859 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.113e-05/0.6122, allocations: 35.42 kB / 0.4964 GB, free: 6.824 MB / 426.7 MB Notification: Performance of SimCode: time 8.82e-07/0.6122, allocations: 0 / 0.4964 GB, free: 6.824 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_Test39CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test39CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test39CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test39Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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_Test39CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test39FMU.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_Test39CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test39CalcHelperMain.o] Error 1