Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test37,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test37",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.672/2.672, allocations: 270 MB / 282.6 MB, free: 1.879 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.927e-05/3.935e-05, allocations: 8 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4011, allocations: 61.88 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.173/0.5742, allocations: 89.08 MB / 498 MB, free: 1.426 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.5746, allocations: 79.95 kB / 498.1 MB, free: 1.348 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02421/0.5988, allocations: 5.35 MB / 0.4916 GB, free: 11.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.558e-06/0.5989, allocations: 4 kB / 0.4917 GB, free: 11.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.5989, allocations: 0 / 0.4917 GB, free: 11.98 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.0005937/0.5995, allocations: 394.2 kB / 0.492 GB, free: 11.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.144e-05/0.5996, allocations: 12.03 kB / 0.492 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.608e-05/0.5997, allocations: 30.56 kB / 0.4921 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.5997, allocations: 7.906 kB / 0.4921 GB, free: 11.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004009/0.6001, allocations: 207.8 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.6002, allocations: 4 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.6002, allocations: 7.953 kB / 0.4923 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.6004, allocations: 49.61 kB / 0.4923 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.778e-06/0.6004, allocations: 0 / 0.4923 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.6004, allocations: 0 / 0.4923 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.6004, allocations: 3.938 kB / 0.4923 GB, free: 11.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.75e-05/0.6005, allocations: 16 kB / 0.4924 GB, free: 11.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000258/0.6008, allocations: 185.6 kB / 0.4925 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.601, allocations: 54.62 kB / 0.4926 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.334e-05/0.601, allocations: 20.8 kB / 0.4926 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.081e-05/0.6011, allocations: 3.953 kB / 0.4926 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001833/0.6013, allocations: 63.42 kB / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.144e-06/0.6013, allocations: 0 / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002877/0.6016, allocations: 77.59 kB / 0.4927 GB, free: 10.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.6016, allocations: 55.41 kB / 0.4928 GB, free: 10.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003071/0.602, allocations: 180.9 kB / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.986e-05/0.602, allocations: 25.7 kB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.747e-05/0.6021, allocations: 158.6 kB / 0.4931 GB, free: 10.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.6021, allocations: 23.73 kB / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-06/0.6022, allocations: 0 / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.6023, allocations: 310.8 kB / 0.4935 GB, free: 9.922 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.085e-05/0.6024, allocations: 12 kB / 0.4935 GB, free: 9.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.518e-05/0.6024, allocations: 37.7 kB / 0.4935 GB, free: 9.867 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.864e-05/0.6025, allocations: 15.94 kB / 0.4935 GB, free: 9.852 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.6025, allocations: 0 / 0.4935 GB, free: 9.852 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001779/0.6027, allocations: 65.69 kB / 0.4936 GB, free: 9.781 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.6027, allocations: 15.94 kB / 0.4936 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.6028, allocations: 0 / 0.4936 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.6028, allocations: 0 / 0.4936 GB, free: 9.766 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.6029, allocations: 8 kB / 0.4936 GB, free: 9.758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.603, allocations: 11.97 kB / 0.4936 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.972e-05/0.603, allocations: 0 / 0.4936 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.6031, allocations: 4 kB / 0.4936 GB, free: 9.742 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 9.419e-05/0.6032, allocations: 113 kB / 0.4937 GB, free: 9.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.6032, allocations: 7.906 kB / 0.4937 GB, free: 9.617 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002645/0.6035, allocations: 89.72 kB / 0.4938 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.6035, allocations: 0 / 0.4938 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.6035, allocations: 192 / 0.4938 GB, free: 9.52 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.6035, allocations: 4 kB / 0.4938 GB, free: 9.516 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.6037, allocations: 197.5 kB / 0.494 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.6038, allocations: 0 / 0.494 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5e-05/0.6038, allocations: 7.938 kB / 0.494 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.6038, allocations: 0 / 0.494 GB, free: 9.266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.6039, allocations: 3.984 kB / 0.494 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.6039, allocations: 3.953 kB / 0.494 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6039, allocations: 7.938 kB / 0.494 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.6041, allocations: 105 kB / 0.4941 GB, free: 9.129 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.003e-05/0.6042, allocations: 104.9 kB / 0.4942 GB, free: 9.008 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.36e-05/0.6043, allocations: 4 kB / 0.4942 GB, free: 9.004 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.6043, allocations: 4 kB / 0.4942 GB, free: 9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.612e-05/0.6044, allocations: 7.938 kB / 0.4943 GB, free: 8.992 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.259e-05/0.6044, allocations: 4 kB / 0.4943 GB, free: 8.988 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001816/0.6046, allocations: 140.6 kB / 0.4944 GB, free: 8.852 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6046, allocations: 0 / 0.4944 GB, free: 8.852 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003119/0.6049, allocations: 20 kB / 0.4944 GB, free: 8.832 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.001686/0.6066, allocations: 0.9541 MB / 0.4953 GB, free: 7.988 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001991/0.6069, allocations: 39.94 kB / 0.4954 GB, free: 7.949 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6069, allocations: 0 / 0.4954 GB, free: 7.949 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.667e-05/0.607, allocations: 23.98 kB / 0.4954 GB, free: 7.926 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003577/0.6074, allocations: 23.94 kB / 0.4954 GB, free: 7.902 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006775/0.608, allocations: 237.1 kB / 0.4957 GB, free: 7.629 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.6084, allocations: 0.7083 MB / 0.4963 GB, free: 6.895 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.105e-05/0.6085, allocations: 27.44 kB / 0.4964 GB, free: 6.867 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6085, allocations: 0 / 0.4964 GB, free: 6.867 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_Test37CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test37CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test37CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test37Functions.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_Test37CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test37FMU.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_Test37CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test37CalcHelperMain.o] Error 1