Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.716/2.716, allocations: 270 MB / 282.6 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.947e-05/3.961e-05, allocations: 8 kB / 347.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.409/0.4091, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.5753, allocations: 89.28 MB / 498.2 MB, free: 1.242 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5756, allocations: 75.95 kB / 498.3 MB, free: 1.168 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.026/0.6016, allocations: 5.826 MB / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.6017, allocations: 0 / 0.4923 GB, free: 11.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.214e-05/0.6017, allocations: 4 kB / 0.4923 GB, free: 11.33 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.0006081/0.6023, allocations: 406.2 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.6024, allocations: 12.02 kB / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.6025, allocations: 38.56 kB / 0.4927 GB, free: 10.83 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.6025, allocations: 11.81 kB / 0.4928 GB, free: 10.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.603, allocations: 238.3 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.5e-05/0.603, allocations: 11.95 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.6031, allocations: 0 / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.6032, allocations: 57.67 kB / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.398e-05/0.6033, allocations: 0 / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.597e-05/0.6033, allocations: 4 kB / 0.4931 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.6033, allocations: 3.938 kB / 0.4931 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.278e-05/0.6034, allocations: 16 kB / 0.4931 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.604, allocations: 316.8 kB / 0.4934 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.6042, allocations: 50.7 kB / 0.4934 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.6043, allocations: 20.97 kB / 0.4934 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.6043, allocations: 0 / 0.4934 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001785/0.6045, allocations: 71.39 kB / 0.4935 GB, free: 9.926 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.864e-06/0.6045, allocations: 0 / 0.4935 GB, free: 9.926 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006794/0.6052, allocations: 161 kB / 0.4937 GB, free: 9.762 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.6053, allocations: 55.41 kB / 0.4937 GB, free: 9.695 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.6057, allocations: 233.8 kB / 0.4939 GB, free: 9.453 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.6057, allocations: 29.7 kB / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.6058, allocations: 166.6 kB / 0.4941 GB, free: 9.254 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.946e-05/0.6059, allocations: 27.64 kB / 0.4942 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.6059, allocations: 4 kB / 0.4942 GB, free: 9.223 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.6061, allocations: 322.8 kB / 0.4945 GB, free: 8.898 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.6061, allocations: 12 kB / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.58e-05/0.6062, allocations: 41.64 kB / 0.4945 GB, free: 8.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.718e-05/0.6063, allocations: 23.98 kB / 0.4945 GB, free: 8.816 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6063, allocations: 0 / 0.4945 GB, free: 8.816 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002512/0.6066, allocations: 85.69 kB / 0.4946 GB, free: 8.727 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.6066, allocations: 8.031 kB / 0.4946 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6067, allocations: 0 / 0.4946 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.6067, allocations: 0 / 0.4946 GB, free: 8.719 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001735/0.6069, allocations: 23.92 kB / 0.4946 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.6069, allocations: 0 / 0.4946 GB, free: 8.695 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.607, allocations: 4 kB / 0.4947 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.607, allocations: 4 kB / 0.4947 GB, free: 8.688 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.87e-05/0.6071, allocations: 110.9 kB / 0.4948 GB, free: 8.574 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.024e-05/0.6072, allocations: 15.81 kB / 0.4948 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000354/0.6076, allocations: 127.1 kB / 0.4949 GB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.812e-06/0.6076, allocations: 4.281 kB / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.6076, allocations: 0 / 0.4949 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.6076, allocations: 3.984 kB / 0.4949 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.6084, allocations: 435.1 kB / 0.4953 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6084, allocations: 0 / 0.4953 GB, free: 7.934 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.398e-05/0.6085, allocations: 15.98 kB / 0.4953 GB, free: 7.918 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.268e-06/0.6085, allocations: 4.031 kB / 0.4953 GB, free: 7.914 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.6085, allocations: 8.172 kB / 0.4953 GB, free: 7.906 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.6085, allocations: 4 kB / 0.4954 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6085, allocations: 4 kB / 0.4954 GB, free: 7.898 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003173/0.6089, allocations: 221.8 kB / 0.4956 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.751e-05/0.609, allocations: 93 kB / 0.4957 GB, free: 7.547 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.5e-05/0.609, allocations: 8 kB / 0.4957 GB, free: 7.539 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.6092, allocations: 8 kB / 0.4957 GB, free: 7.531 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.6092, allocations: 7.938 kB / 0.4957 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.6093, allocations: 4 kB / 0.4957 GB, free: 7.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002946/0.6096, allocations: 196.2 kB / 0.4959 GB, free: 7.328 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6096, allocations: 0 / 0.4959 GB, free: 7.328 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003938/0.61, allocations: 39.84 kB / 0.4959 GB, free: 7.289 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.001938/0.6119, allocations: 1.186 MB / 0.4971 GB, free: 6.219 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002502/0.6122, allocations: 55.92 kB / 0.4971 GB, free: 6.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6123, allocations: 4.062 kB / 0.4971 GB, free: 6.16 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.855e-05/0.6124, allocations: 31.98 kB / 0.4972 GB, free: 6.129 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.6128, allocations: 30.34 kB / 0.4972 GB, free: 6.102 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009321/0.6137, allocations: 322.3 kB / 0.4975 GB, free: 5.742 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003516/0.6141, allocations: 0.7199 MB / 0.4982 GB, free: 4.996 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.6143, allocations: 47.48 kB / 0.4982 GB, free: 4.949 MB / 426.7 MB Notification: Performance of SimCode: time 1.222e-06/0.6143, allocations: 0 / 0.4982 GB, free: 4.949 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_Test49CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test49CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test49CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test49Functions.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_Test49CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test49FMU.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_Test49CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test49CalcHelperMain.o] Error 1