Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.504/2.504, allocations: 270 MB / 282.6 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.003e-05/4.007e-05, allocations: 4 kB / 347.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4384/0.4385, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1752/0.6138, allocations: 89.23 MB / 498.2 MB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.6141, allocations: 75.95 kB / 498.2 MB, free: 1.238 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02424/0.6384, allocations: 5.425 MB / 0.4919 GB, free: 11.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6384, allocations: 0 / 0.4919 GB, free: 11.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.6384, allocations: 0 / 0.4919 GB, free: 11.8 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.0005607/0.639, allocations: 394.3 kB / 0.4922 GB, free: 11.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.6391, allocations: 12.03 kB / 0.4922 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.79e-05/0.6391, allocations: 42.5 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.6392, allocations: 7.906 kB / 0.4923 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003733/0.6396, allocations: 219.6 kB / 0.4925 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.6396, allocations: 3.953 kB / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.6397, allocations: 4 kB / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.6398, allocations: 53.67 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.6398, allocations: 0 / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.6399, allocations: 0 / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.6399, allocations: 4 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.431e-05/0.64, allocations: 16 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004504/0.6404, allocations: 300.8 kB / 0.4929 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001619/0.6406, allocations: 50.69 kB / 0.4929 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.859e-05/0.6407, allocations: 16.98 kB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.78e-05/0.6407, allocations: 8 kB / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001627/0.6409, allocations: 67.33 kB / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.6409, allocations: 0 / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005979/0.6415, allocations: 149.2 kB / 0.4931 GB, free: 10.3 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.6416, allocations: 55.41 kB / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.6419, allocations: 172.9 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.6419, allocations: 25.7 kB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.123e-05/0.642, allocations: 170.6 kB / 0.4935 GB, free: 9.863 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.642, allocations: 19.72 kB / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-06/0.6421, allocations: 0 / 0.4936 GB, free: 9.844 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6422, allocations: 318.8 kB / 0.4939 GB, free: 9.523 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.587e-05/0.6423, allocations: 23.94 kB / 0.4939 GB, free: 9.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.307e-05/0.6424, allocations: 29.72 kB / 0.4939 GB, free: 9.465 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.763e-05/0.6425, allocations: 28.05 kB / 0.4939 GB, free: 9.438 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.6425, allocations: 4 kB / 0.494 GB, free: 9.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000228/0.6427, allocations: 89.67 kB / 0.494 GB, free: 9.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.6427, allocations: 7.938 kB / 0.494 GB, free: 9.332 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.6428, allocations: 4 kB / 0.494 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.6428, allocations: 3.984 kB / 0.4941 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001555/0.6429, allocations: 16.17 kB / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.784e-06/0.643, allocations: 0 / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.074e-05/0.6431, allocations: 15.78 kB / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.6431, allocations: 4 kB / 0.4941 GB, free: 9.289 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 9.597e-05/0.6432, allocations: 126.6 kB / 0.4942 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.6432, allocations: 7.906 kB / 0.4942 GB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.6436, allocations: 118.2 kB / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.6436, allocations: 0 / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6436, allocations: 192 / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.6436, allocations: 0 / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006203/0.6442, allocations: 411.3 kB / 0.4947 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.6443, allocations: 0 / 0.4947 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.773e-05/0.6444, allocations: 12.03 kB / 0.4947 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.494e-06/0.6444, allocations: 4 kB / 0.4947 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.6444, allocations: 0 / 0.4947 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.6444, allocations: 0 / 0.4947 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.6444, allocations: 3.938 kB / 0.4947 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.6447, allocations: 221.9 kB / 0.495 GB, free: 8.312 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.68e-05/0.6448, allocations: 93.02 kB / 0.495 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.6449, allocations: 4 kB / 0.495 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.645, allocations: 7.984 kB / 0.4951 GB, free: 8.191 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.46e-05/0.6451, allocations: 11.89 kB / 0.4951 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.6451, allocations: 4 kB / 0.4951 GB, free: 8.176 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001877/0.6453, allocations: 144.3 kB / 0.4952 GB, free: 8.039 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6453, allocations: 0 / 0.4952 GB, free: 8.039 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.6457, allocations: 28 kB / 0.4952 GB, free: 8.012 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.001896/0.6476, allocations: 1.18 MB / 0.4964 GB, free: 6.949 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002418/0.6479, allocations: 55.94 kB / 0.4964 GB, free: 6.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6479, allocations: 0 / 0.4964 GB, free: 6.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.648, allocations: 31.98 kB / 0.4965 GB, free: 6.863 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004083/0.6484, allocations: 27.88 kB / 0.4965 GB, free: 6.836 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000787/0.6492, allocations: 258.5 kB / 0.4967 GB, free: 6.531 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.6496, allocations: 0.7045 MB / 0.4974 GB, free: 5.801 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.6497, allocations: 35.42 kB / 0.4975 GB, free: 5.766 MB / 426.7 MB Notification: Performance of SimCode: time 9.61e-07/0.6497, allocations: 0 / 0.4975 GB, free: 5.766 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_Test28CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test28CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test28Functions.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_Test28CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test28FMU.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_Test28CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test28CalcHelperMain.o] Error 1