Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.686/2.686, allocations: 270 MB / 282.7 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.017e-05/6.024e-05, allocations: 8 kB / 347.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4323/0.4324, allocations: 61.88 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2427/0.6752, allocations: 89.24 MB / 498.2 MB, free: 1.383 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000348/0.6756, allocations: 71.97 kB / 498.2 MB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04185/0.7174, allocations: 5.359 MB / 0.4918 GB, free: 11.94 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.7175, allocations: 0 / 0.4918 GB, free: 11.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.587e-05/0.7175, allocations: 0 / 0.4918 GB, free: 11.94 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.0006105/0.7181, allocations: 406.2 kB / 0.4922 GB, free: 11.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.7182, allocations: 11.97 kB / 0.4922 GB, free: 11.49 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.162e-05/0.7183, allocations: 30.56 kB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.7183, allocations: 11.91 kB / 0.4922 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003923/0.7187, allocations: 206.8 kB / 0.4924 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.7188, allocations: 7.953 kB / 0.4924 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.7188, allocations: 0 / 0.4924 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.719, allocations: 57.61 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.719, allocations: 0 / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.654e-05/0.719, allocations: 4 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.719, allocations: 4 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.247e-05/0.7191, allocations: 20 kB / 0.4925 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004923/0.7196, allocations: 292.8 kB / 0.4928 GB, free: 10.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000173/0.7198, allocations: 58.61 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.549e-05/0.7199, allocations: 20.98 kB / 0.4929 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.595e-05/0.7199, allocations: 4 kB / 0.4929 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001711/0.7201, allocations: 63.39 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.7201, allocations: 0 / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006245/0.7208, allocations: 157.3 kB / 0.4931 GB, free: 10.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.7208, allocations: 51.41 kB / 0.4931 GB, free: 10.37 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002769/0.7211, allocations: 160 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.7212, allocations: 29.7 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.512e-05/0.7213, allocations: 166.5 kB / 0.4935 GB, free: 10.01 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.7213, allocations: 27.64 kB / 0.4935 GB, free: 9.984 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-06/0.7213, allocations: 0 / 0.4935 GB, free: 9.984 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.7215, allocations: 318.8 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.447e-05/0.7216, allocations: 16 kB / 0.4938 GB, free: 9.648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.609e-05/0.7217, allocations: 41.7 kB / 0.4939 GB, free: 9.602 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.193e-05/0.7218, allocations: 23.92 kB / 0.4939 GB, free: 9.578 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.7218, allocations: 4 kB / 0.4939 GB, free: 9.574 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002328/0.722, allocations: 85.67 kB / 0.494 GB, free: 9.484 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.7221, allocations: 8 kB / 0.494 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.7221, allocations: 0 / 0.494 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.7221, allocations: 0 / 0.494 GB, free: 9.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.7223, allocations: 19.92 kB / 0.494 GB, free: 9.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.7223, allocations: 4 kB / 0.494 GB, free: 9.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.12e-05/0.7224, allocations: 4.188 kB / 0.494 GB, free: 9.449 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.7224, allocations: 8 kB / 0.494 GB, free: 9.441 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 0.0001035/0.7226, allocations: 117.2 kB / 0.4941 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.144e-05/0.7226, allocations: 7.906 kB / 0.4941 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.7229, allocations: 118.2 kB / 0.4943 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/0.723, allocations: 0 / 0.4943 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.723, allocations: 0 / 0.4943 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.723, allocations: 3.938 kB / 0.4943 GB, free: 9.191 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006529/0.7237, allocations: 403.2 kB / 0.4946 GB, free: 8.738 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.7237, allocations: 8.031 kB / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.923e-05/0.7238, allocations: 8 kB / 0.4947 GB, free: 8.723 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/0.7238, allocations: 3.984 kB / 0.4947 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.7238, allocations: 4 kB / 0.4947 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.7238, allocations: 0 / 0.4947 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.7238, allocations: 0 / 0.4947 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003276/0.7242, allocations: 225.9 kB / 0.4949 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.055e-05/0.7243, allocations: 93 kB / 0.495 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.7243, allocations: 0 / 0.495 GB, free: 8.359 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001246/0.7245, allocations: 4 kB / 0.495 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.464e-05/0.7245, allocations: 11.94 kB / 0.495 GB, free: 8.344 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.7246, allocations: 8 kB / 0.495 GB, free: 8.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001799/0.7247, allocations: 129.5 kB / 0.4951 GB, free: 8.211 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.7248, allocations: 0 / 0.4951 GB, free: 8.211 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004204/0.7252, allocations: 35.92 kB / 0.4951 GB, free: 8.176 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.001936/0.7271, allocations: 1.177 MB / 0.4963 GB, free: 7.113 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002253/0.7274, allocations: 56 kB / 0.4964 GB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7274, allocations: 0 / 0.4964 GB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001002/0.7275, allocations: 35.92 kB / 0.4964 GB, free: 7.023 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.7279, allocations: 23.94 kB / 0.4964 GB, free: 7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007674/0.7287, allocations: 238.5 kB / 0.4966 GB, free: 6.715 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.7291, allocations: 0.7122 MB / 0.4973 GB, free: 5.977 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.7292, allocations: 35.42 kB / 0.4974 GB, free: 5.941 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.7293, allocations: 0 / 0.4974 GB, free: 5.941 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_Test16CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test16CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test16Functions.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_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test16FMU.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_Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test16CalcHelperMain.o] Error 1