Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test88,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test88",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.464/2.464, allocations: 270 MB / 282.6 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.521e-05/4.527e-05, allocations: 4 kB / 347.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4065, allocations: 61.87 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1701/0.5767, allocations: 89.96 MB / 498.9 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.577, allocations: 71.97 kB / 499 MB, free: 0.5312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06684/0.6439, allocations: 12.35 MB / 0.4993 GB, free: 4.156 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.644, allocations: 0 / 0.4993 GB, free: 4.156 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.865e-05/0.644, allocations: 12 kB / 0.4993 GB, free: 4.145 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001699/0.6458, allocations: 0.6744 MB / 0.5 GB, free: 3.418 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.955e-05/0.6458, allocations: 8.031 kB / 0.5 GB, free: 3.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000109/0.646, allocations: 54.55 kB / 0.5001 GB, free: 3.348 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.6462, allocations: 59.23 kB / 0.5001 GB, free: 3.289 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00157/0.6478, allocations: 423 kB / 0.5005 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.972e-05/0.6479, allocations: 8 kB / 0.5005 GB, free: 2.828 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.006e-05/0.648, allocations: 16 kB / 0.5005 GB, free: 2.812 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006469/0.6486, allocations: 196.9 kB / 0.5007 GB, free: 2.602 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.6487, allocations: 7.906 kB / 0.5007 GB, free: 2.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.865e-05/0.6487, allocations: 15.92 kB / 0.5007 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.6488, allocations: 0 / 0.5007 GB, free: 2.578 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003914/0.6492, allocations: 87.91 kB / 0.5008 GB, free: 2.492 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002162/0.6514, allocations: 0.8327 MB / 0.5016 GB, free: 1.598 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.6525, allocations: 230.6 kB / 0.5019 GB, free: 1.336 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003115/0.6529, allocations: 87.55 kB / 0.5019 GB, free: 1.238 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.6529, allocations: 4.234 kB / 0.502 GB, free: 1.234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006342/0.6536, allocations: 202.4 kB / 0.5021 GB, free: 1.008 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 4.88e-06/0.6536, allocations: 0 / 0.5021 GB, free: 1.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.003912/0.6575, allocations: 0.9653 MB / 0.5031 GB, free: 32 kB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001469/0.6577, allocations: 132.5 kB / 0.5032 GB, free: 15.87 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001974/0.6597, allocations: 0.6688 MB / 0.5039 GB, free: 15.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.521e-05/0.6598, allocations: 37.7 kB / 0.5039 GB, free: 15.15 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002845/0.6601, allocations: 259.5 kB / 0.5041 GB, free: 14.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/0.6604, allocations: 142.1 kB / 0.5043 GB, free: 14.75 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.826e-05/0.6604, allocations: 8 kB / 0.5043 GB, free: 14.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.6606, allocations: 330.8 kB / 0.5046 GB, free: 14.41 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004391/0.6611, allocations: 108.9 kB / 0.5047 GB, free: 14.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000516/0.6616, allocations: 178.2 kB / 0.5049 GB, free: 14.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004823/0.6621, allocations: 124.3 kB / 0.505 GB, free: 13.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.6621, allocations: 0 / 0.505 GB, free: 13.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001369/0.6635, allocations: 377.2 kB / 0.5054 GB, free: 13.61 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.6636, allocations: 4 kB / 0.5054 GB, free: 13.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.6636, allocations: 8.125 kB / 0.5054 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.387e-05/0.6637, allocations: 4 kB / 0.5054 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008014/0.6645, allocations: 91.83 kB / 0.5055 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/0.6645, allocations: 4 kB / 0.5055 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005388/0.6651, allocations: 23.98 kB / 0.5055 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.6651, allocations: 16 kB / 0.5055 GB, free: 13.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002441/0.6654, allocations: 143 kB / 0.5056 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/0.6657, allocations: 67.16 kB / 0.5057 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.6677, allocations: 0.4942 MB / 0.5062 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/0.6678, allocations: 8 kB / 0.5062 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/0.6678, allocations: 3.938 kB / 0.5062 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.6679, allocations: 3.984 kB / 0.5062 GB, free: 12.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004081/0.6719, allocations: 1.4 MB / 0.5076 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/0.672, allocations: 4 kB / 0.5076 GB, free: 11.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.6726, allocations: 67.91 kB / 0.5076 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.02e-05/0.6726, allocations: 4 kB / 0.5076 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.505e-05/0.6727, allocations: 19.98 kB / 0.5077 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.436e-05/0.6727, allocations: 4 kB / 0.5077 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.566e-06/0.6728, allocations: 3.938 kB / 0.5077 GB, free: 11.15 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.6748, allocations: 0.9165 MB / 0.5086 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006564/0.6756, allocations: 216.5 kB / 0.5088 GB, free: 9.891 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/0.6758, allocations: 19.98 kB / 0.5088 GB, free: 9.871 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007662/0.6766, allocations: 23.98 kB / 0.5088 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000174/0.6767, allocations: 39.89 kB / 0.5089 GB, free: 9.809 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.929e-05/0.6769, allocations: 27.94 kB / 0.5089 GB, free: 9.781 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001676/0.6785, allocations: 0.5366 MB / 0.5094 GB, free: 9.246 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.6786, allocations: 0 / 0.5094 GB, free: 9.246 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001508/0.6801, allocations: 115.9 kB / 0.5095 GB, free: 9.133 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.005055/0.6852, allocations: 2.644 MB / 0.5121 GB, free: 6.562 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.6863, allocations: 302.8 kB / 0.5124 GB, free: 6.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/0.6863, allocations: 0 / 0.5124 GB, free: 6.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004796/0.6868, allocations: 156.2 kB / 0.5125 GB, free: 6.117 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.6881, allocations: 106.1 kB / 0.5126 GB, free: 6.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00338/0.6916, allocations: 1.067 MB / 0.5137 GB, free: 4.875 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/0.6924, allocations: 0.8944 MB / 0.5145 GB, free: 3.953 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/0.6929, allocations: 191.4 kB / 0.5147 GB, free: 3.766 MB / 442.7 MB Notification: Performance of SimCode: time 1.433e-06/0.6929, allocations: 0 / 0.5147 GB, free: 3.766 MB / 442.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_Test88CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test88CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test88CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test88Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp24.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_Test88CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test88FMU.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_Test88CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test88CalcHelperMain.o] Error 1