Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test75,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test75",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.403/2.403, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.845e-05/4.879e-05, allocations: 4 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.5228, allocations: 61.88 MB / 408.9 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.6808, allocations: 89.53 MB / 498.5 MB, free: 1.086 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002676/0.6811, allocations: 75.95 kB / 498.5 MB, free: 1.012 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03571/0.7168, allocations: 8.17 MB / 0.4948 GB, free: 8.828 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7168, allocations: 0 / 0.4948 GB, free: 8.828 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.881e-05/0.7169, allocations: 4 kB / 0.4948 GB, free: 8.824 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008363/0.7177, allocations: 0.5027 MB / 0.4953 GB, free: 8.277 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/0.7178, allocations: 8.031 kB / 0.4953 GB, free: 8.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.977e-05/0.7179, allocations: 46.56 kB / 0.4954 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.426e-05/0.718, allocations: 23.72 kB / 0.4954 GB, free: 8.191 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006552/0.7186, allocations: 299.8 kB / 0.4957 GB, free: 7.859 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.7187, allocations: 4 kB / 0.4957 GB, free: 7.855 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.88e-05/0.7187, allocations: 11.98 kB / 0.4957 GB, free: 7.844 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002852/0.719, allocations: 109.3 kB / 0.4958 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.719, allocations: 0 / 0.4958 GB, free: 7.727 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.7191, allocations: 4 kB / 0.4958 GB, free: 7.723 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.271e-06/0.7191, allocations: 4 kB / 0.4958 GB, free: 7.719 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.7193, allocations: 47.97 kB / 0.4959 GB, free: 7.672 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008586/0.7201, allocations: 488.7 kB / 0.4963 GB, free: 7.141 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004548/0.7206, allocations: 121.2 kB / 0.4964 GB, free: 7.004 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001184/0.7208, allocations: 53.72 kB / 0.4965 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.619e-05/0.7208, allocations: 0 / 0.4965 GB, free: 6.945 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002722/0.7211, allocations: 117.2 kB / 0.4966 GB, free: 6.812 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 1.994e-06/0.7211, allocations: 4 kB / 0.4966 GB, free: 6.809 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001456/0.7225, allocations: 443.6 kB / 0.497 GB, free: 6.367 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.836e-05/0.7226, allocations: 81.11 kB / 0.4971 GB, free: 6.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007644/0.7234, allocations: 386.6 kB / 0.4975 GB, free: 5.883 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.7235, allocations: 33.7 kB / 0.4975 GB, free: 5.844 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.7236, allocations: 198.9 kB / 0.4977 GB, free: 5.648 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.574e-05/0.7237, allocations: 71.09 kB / 0.4978 GB, free: 5.578 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.533e-05/0.7237, allocations: 3.938 kB / 0.4978 GB, free: 5.574 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001245/0.7239, allocations: 326.8 kB / 0.4981 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001659/0.7241, allocations: 52 kB / 0.4981 GB, free: 5.195 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001904/0.7243, allocations: 88.3 kB / 0.4982 GB, free: 5.098 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.7245, allocations: 63.97 kB / 0.4983 GB, free: 5.035 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.7245, allocations: 0 / 0.4983 GB, free: 5.035 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005258/0.725, allocations: 209.6 kB / 0.4985 GB, free: 4.824 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.725, allocations: 4 kB / 0.4985 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.7251, allocations: 0 / 0.4985 GB, free: 4.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.7251, allocations: 4 kB / 0.4985 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.7254, allocations: 43.92 kB / 0.4985 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.461e-05/0.7254, allocations: 7.984 kB / 0.4985 GB, free: 4.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001998/0.7256, allocations: 7.906 kB / 0.4986 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.019e-05/0.7257, allocations: 12 kB / 0.4986 GB, free: 4.746 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001166/0.7258, allocations: 116.9 kB / 0.4987 GB, free: 4.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.977e-05/0.7259, allocations: 39.61 kB / 0.4987 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007735/0.7267, allocations: 269.1 kB / 0.499 GB, free: 4.316 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.406e-06/0.7267, allocations: 4 kB / 0.499 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.7267, allocations: 0 / 0.499 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.7267, allocations: 0 / 0.499 GB, free: 4.312 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001511/0.7283, allocations: 0.782 MB / 0.4997 GB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/0.7283, allocations: 4.094 kB / 0.4997 GB, free: 3.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/0.7285, allocations: 39.8 kB / 0.4998 GB, free: 3.418 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.099e-05/0.7286, allocations: 4 kB / 0.4998 GB, free: 3.414 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.472e-05/0.7286, allocations: 12 kB / 0.4998 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.334e-06/0.7286, allocations: 4 kB / 0.4998 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/0.7286, allocations: 3.984 kB / 0.4998 GB, free: 3.395 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.7294, allocations: 486.6 kB / 0.5003 GB, free: 2.855 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001671/0.7295, allocations: 128.7 kB / 0.5004 GB, free: 2.711 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/0.7296, allocations: 11.98 kB / 0.5004 GB, free: 2.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.7299, allocations: 8 kB / 0.5004 GB, free: 2.691 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.73, allocations: 19.97 kB / 0.5004 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.07e-05/0.73, allocations: 12 kB / 0.5004 GB, free: 2.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005469/0.7306, allocations: 318.1 kB / 0.5007 GB, free: 2.352 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7306, allocations: 0 / 0.5007 GB, free: 2.352 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005681/0.7312, allocations: 67.98 kB / 0.5008 GB, free: 2.285 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002502/0.7337, allocations: 1.766 MB / 0.5025 GB, free: 0.6328 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000467/0.7342, allocations: 151.7 kB / 0.5027 GB, free: 496 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.367e-06/0.7342, allocations: 4.125 kB / 0.5027 GB, free: 492 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002143/0.7344, allocations: 79.92 kB / 0.5028 GB, free: 412 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006459/0.7351, allocations: 49.17 kB / 0.5028 GB, free: 360 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001649/0.7367, allocations: 0.5781 MB / 0.5034 GB, free: 15.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004181/0.7372, allocations: 0.7756 MB / 0.5041 GB, free: 14.91 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.7374, allocations: 103.3 kB / 0.5042 GB, free: 14.82 MB / 442.7 MB Notification: Performance of SimCode: time 8.31e-07/0.7375, allocations: 4 kB / 0.5042 GB, free: 14.81 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_Test75CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test75CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test75CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test75Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp12.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_Test75CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test75FMU.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_Test75CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test75CalcHelperMain.o] Error 1