Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.772/2.772, allocations: 270 MB / 282.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.717e-05/5.733e-05, allocations: 8 kB / 347.1 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4075/0.4076, allocations: 61.87 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.5955, allocations: 89.33 MB / 498.3 MB, free: 1.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002717/0.5959, allocations: 71.97 kB / 498.3 MB, free: 1.27 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02734/0.6232, allocations: 5.941 MB / 0.4925 GB, free: 11.32 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.6233, allocations: 4 kB / 0.4925 GB, free: 11.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.007e-05/0.6233, allocations: 4 kB / 0.4925 GB, free: 11.31 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006336/0.624, allocations: 422 kB / 0.4929 GB, free: 10.86 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.089e-05/0.624, allocations: 12.03 kB / 0.4929 GB, free: 10.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.932e-05/0.6241, allocations: 34.55 kB / 0.4929 GB, free: 10.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.292e-05/0.6242, allocations: 11.81 kB / 0.4929 GB, free: 10.79 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.6246, allocations: 218.8 kB / 0.4931 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.6246, allocations: 7.953 kB / 0.4931 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.227e-05/0.6247, allocations: 12 kB / 0.4931 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001661/0.6248, allocations: 57.66 kB / 0.4932 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.953e-05/0.6249, allocations: 3.906 kB / 0.4932 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.6249, allocations: 4 kB / 0.4932 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.57e-06/0.6249, allocations: 0 / 0.4932 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.176e-05/0.625, allocations: 23.92 kB / 0.4932 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.6256, allocations: 308.8 kB / 0.4935 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002802/0.6259, allocations: 62.55 kB / 0.4936 GB, free: 10 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.575e-05/0.626, allocations: 20.98 kB / 0.4936 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.626, allocations: 0 / 0.4936 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001752/0.6262, allocations: 71.33 kB / 0.4937 GB, free: 9.895 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.475e-06/0.6262, allocations: 0 / 0.4937 GB, free: 9.895 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0009295/0.6271, allocations: 209.2 kB / 0.4939 GB, free: 9.684 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.6272, allocations: 55.41 kB / 0.4939 GB, free: 9.617 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003392/0.6275, allocations: 207.1 kB / 0.4941 GB, free: 9.402 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.6276, allocations: 33.69 kB / 0.4942 GB, free: 9.363 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.565e-05/0.6277, allocations: 166.5 kB / 0.4943 GB, free: 9.199 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.296e-05/0.6277, allocations: 31.56 kB / 0.4943 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.17e-05/0.6278, allocations: 4 kB / 0.4943 GB, free: 9.164 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.6279, allocations: 314.8 kB / 0.4946 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.628, allocations: 28 kB / 0.4947 GB, free: 8.82 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.6281, allocations: 53.64 kB / 0.4947 GB, free: 8.762 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.337e-05/0.6282, allocations: 24 kB / 0.4948 GB, free: 8.738 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6282, allocations: 0 / 0.4948 GB, free: 8.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002876/0.6285, allocations: 113.6 kB / 0.4949 GB, free: 8.621 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.6286, allocations: 8 kB / 0.4949 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.6286, allocations: 0 / 0.4949 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.6286, allocations: 0 / 0.4949 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.6288, allocations: 19.98 kB / 0.4949 GB, free: 8.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.6288, allocations: 8.031 kB / 0.4949 GB, free: 8.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.989e-05/0.6289, allocations: 4 kB / 0.4949 GB, free: 8.582 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.829e-05/0.6289, allocations: 7.953 kB / 0.4949 GB, free: 8.574 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 (13): * Single equations (assignments): 13 * 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.0001056/0.6291, allocations: 116.9 kB / 0.495 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.6291, allocations: 19.75 kB / 0.495 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003995/0.6295, allocations: 135.2 kB / 0.4952 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.6295, allocations: 0 / 0.4952 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6296, allocations: 3.938 kB / 0.4952 GB, free: 8.289 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.6296, allocations: 7.984 kB / 0.4952 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008206/0.6304, allocations: 471.9 kB / 0.4956 GB, free: 7.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.6304, allocations: 3.984 kB / 0.4956 GB, free: 7.754 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001097/0.6305, allocations: 20 kB / 0.4956 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.6306, allocations: 4 kB / 0.4957 GB, free: 7.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.636e-05/0.6306, allocations: 4 kB / 0.4957 GB, free: 7.727 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.6306, allocations: 3.953 kB / 0.4957 GB, free: 7.723 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.6306, allocations: 4.062 kB / 0.4957 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.631, allocations: 256.4 kB / 0.4959 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.364e-05/0.6311, allocations: 108.9 kB / 0.496 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.788e-05/0.6312, allocations: 0 / 0.496 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.6313, allocations: 12 kB / 0.496 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.6314, allocations: 7.984 kB / 0.496 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.755e-05/0.6314, allocations: 4 kB / 0.496 GB, free: 7.285 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002347/0.6316, allocations: 167.5 kB / 0.4962 GB, free: 7.121 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6317, allocations: 0 / 0.4962 GB, free: 7.121 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004344/0.6321, allocations: 47.92 kB / 0.4962 GB, free: 7.074 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.00212/0.6342, allocations: 1.337 MB / 0.4975 GB, free: 5.867 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003062/0.6346, allocations: 75.88 kB / 0.4976 GB, free: 5.793 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6346, allocations: 0 / 0.4976 GB, free: 5.793 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.6347, allocations: 48.11 kB / 0.4977 GB, free: 5.746 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000425/0.6352, allocations: 27.02 kB / 0.4977 GB, free: 5.719 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000919/0.6361, allocations: 315.7 kB / 0.498 GB, free: 5.363 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.6365, allocations: 0.716 MB / 0.4987 GB, free: 4.621 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.6366, allocations: 47.41 kB / 0.4987 GB, free: 4.574 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6366, allocations: 4 kB / 0.4987 GB, free: 4.57 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_Test35CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test35CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test35CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test35Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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_Test35CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test35FMU.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_Test35CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test35CalcHelperMain.o] Error 1