Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test78,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.796/2.796, allocations: 270 MB / 282.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.12e-05/4.124e-05, allocations: 8 kB / 347.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4386, allocations: 61.87 MB / 408.9 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1653/0.604, allocations: 89.54 MB / 498.5 MB, free: 1.008 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.6044, allocations: 75.95 kB / 498.5 MB, free: 0.9336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0371/0.6415, allocations: 8.33 MB / 0.495 GB, free: 8.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.6415, allocations: 0 / 0.495 GB, free: 8.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.713e-05/0.6416, allocations: 11.94 kB / 0.495 GB, free: 8.578 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.0008928/0.6425, allocations: 0.5028 MB / 0.4955 GB, free: 8.031 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.6425, allocations: 16.03 kB / 0.4955 GB, free: 8.016 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.412e-05/0.6426, allocations: 38.5 kB / 0.4955 GB, free: 7.969 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.284e-05/0.6427, allocations: 31.62 kB / 0.4956 GB, free: 7.938 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006746/0.6434, allocations: 299.9 kB / 0.4959 GB, free: 7.605 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.6434, allocations: 8 kB / 0.4959 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.6435, allocations: 8 kB / 0.4959 GB, free: 7.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.6438, allocations: 118.5 kB / 0.496 GB, free: 7.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/0.6438, allocations: 4 kB / 0.496 GB, free: 7.461 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.183e-05/0.6438, allocations: 7.984 kB / 0.496 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.63e-06/0.6439, allocations: 0 / 0.496 GB, free: 7.453 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.644, allocations: 47.92 kB / 0.496 GB, free: 7.406 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.6449, allocations: 0.4967 MB / 0.4965 GB, free: 6.855 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004558/0.6454, allocations: 117.2 kB / 0.4966 GB, free: 6.723 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/0.6455, allocations: 41.84 kB / 0.4967 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.6456, allocations: 4 kB / 0.4967 GB, free: 6.672 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002756/0.6459, allocations: 117 kB / 0.4968 GB, free: 6.539 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.257e-06/0.6459, allocations: 8 kB / 0.4968 GB, free: 6.531 MB / 426.7 MB Notification: Performance of matching and sorting (n=22): time 0.001443/0.6473, allocations: 452 kB / 0.4972 GB, free: 6.082 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.55e-05/0.6474, allocations: 77.11 kB / 0.4973 GB, free: 5.988 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000829/0.6482, allocations: 435.5 kB / 0.4977 GB, free: 5.547 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.734e-05/0.6483, allocations: 33.7 kB / 0.4978 GB, free: 5.508 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.6485, allocations: 202.9 kB / 0.498 GB, free: 5.309 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.678e-05/0.6486, allocations: 79.02 kB / 0.498 GB, free: 5.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.6486, allocations: 0 / 0.498 GB, free: 5.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6487, allocations: 318.8 kB / 0.4983 GB, free: 4.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.6489, allocations: 55.98 kB / 0.4984 GB, free: 4.855 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.6491, allocations: 91.36 kB / 0.4985 GB, free: 4.758 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.6493, allocations: 68.08 kB / 0.4985 GB, free: 4.691 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.6493, allocations: 0 / 0.4985 GB, free: 4.691 MB / 426.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005165/0.6498, allocations: 205.4 kB / 0.4987 GB, free: 4.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.6499, allocations: 4 kB / 0.4987 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.6499, allocations: 0 / 0.4987 GB, free: 4.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.722e-05/0.65, allocations: 7.984 kB / 0.4987 GB, free: 4.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003108/0.6503, allocations: 39.98 kB / 0.4988 GB, free: 4.434 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.6503, allocations: 7.938 kB / 0.4988 GB, free: 4.426 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001993/0.6505, allocations: 4 kB / 0.4988 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.156e-05/0.6506, allocations: 15.98 kB / 0.4988 GB, free: 4.406 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.0001263/0.6507, allocations: 117 kB / 0.4989 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.767e-05/0.6508, allocations: 39.58 kB / 0.499 GB, free: 4.246 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007852/0.6516, allocations: 264.3 kB / 0.4992 GB, free: 3.984 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.376e-06/0.6516, allocations: 4 kB / 0.4992 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6516, allocations: 0 / 0.4992 GB, free: 3.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.638e-05/0.6517, allocations: 3.984 kB / 0.4992 GB, free: 3.977 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001581/0.6532, allocations: 0.8014 MB / 0.5 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.6533, allocations: 7.938 kB / 0.5 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/0.6535, allocations: 27.98 kB / 0.5 GB, free: 3.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.151e-05/0.6535, allocations: 4 kB / 0.5 GB, free: 3.066 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.127e-05/0.6536, allocations: 8 kB / 0.5 GB, free: 3.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.693e-06/0.6536, allocations: 4 kB / 0.5001 GB, free: 3.055 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.6536, allocations: 12.53 kB / 0.5001 GB, free: 3.043 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007471/0.6543, allocations: 490.5 kB / 0.5005 GB, free: 2.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.6545, allocations: 128.7 kB / 0.5007 GB, free: 2.355 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.765e-05/0.6546, allocations: 11.98 kB / 0.5007 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.6549, allocations: 12 kB / 0.5007 GB, free: 2.332 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.655, allocations: 27.89 kB / 0.5007 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.655, allocations: 12 kB / 0.5007 GB, free: 2.293 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006276/0.6557, allocations: 350.1 kB / 0.501 GB, free: 1.957 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.6557, allocations: 0 / 0.501 GB, free: 1.957 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005767/0.6563, allocations: 71.98 kB / 0.5011 GB, free: 1.887 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.002559/0.6589, allocations: 1.78 MB / 0.5029 GB, free: 232 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004841/0.6594, allocations: 147.8 kB / 0.503 GB, free: 84 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6594, allocations: 0 / 0.503 GB, free: 84 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.6596, allocations: 83.86 kB / 0.5031 GB, free: 0 / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/0.6603, allocations: 49.19 kB / 0.5031 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.6622, allocations: 0.6273 MB / 0.5037 GB, free: 15.26 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.6628, allocations: 0.7912 MB / 0.5045 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002779/0.6631, allocations: 103.8 kB / 0.5046 GB, free: 14.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.332e-06/0.6631, allocations: 0 / 0.5046 GB, free: 14.34 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_Test78CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test78CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test78CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test78Functions.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_Test78CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test78FMU.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_Test78CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test78CalcHelperMain.o] Error 1