Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.697/2.697, allocations: 270 MB / 282.6 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.352e-05/5.379e-05, allocations: 8 kB / 347.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4325/0.4325, allocations: 61.87 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.5969, allocations: 89.05 MB / 498 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002842/0.5972, allocations: 75.95 kB / 498.1 MB, free: 1.512 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02392/0.6211, allocations: 5.24 MB / 0.4915 GB, free: 12.27 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6212, allocations: 0 / 0.4915 GB, free: 12.27 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.903e-05/0.6212, allocations: 4 kB / 0.4915 GB, free: 12.26 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005547/0.6218, allocations: 386.2 kB / 0.4919 GB, free: 11.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.6219, allocations: 8.031 kB / 0.4919 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/0.6219, allocations: 30.56 kB / 0.4919 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.534e-05/0.622, allocations: 11.91 kB / 0.4919 GB, free: 11.78 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.6224, allocations: 210.8 kB / 0.4921 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.6224, allocations: 0 / 0.4921 GB, free: 11.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/0.6224, allocations: 7.953 kB / 0.4921 GB, free: 11.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.6226, allocations: 41.69 kB / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.6226, allocations: 0 / 0.4922 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.6226, allocations: 7.984 kB / 0.4922 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/0.6226, allocations: 7.938 kB / 0.4922 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.557e-05/0.6227, allocations: 19.94 kB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002442/0.623, allocations: 177.7 kB / 0.4924 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.6232, allocations: 50.62 kB / 0.4924 GB, free: 11.16 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.84e-05/0.6233, allocations: 16.86 kB / 0.4924 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.226e-05/0.6233, allocations: 8.031 kB / 0.4924 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001765/0.6235, allocations: 59.41 kB / 0.4925 GB, free: 11.07 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 2.144e-06/0.6235, allocations: 0 / 0.4925 GB, free: 11.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.000285/0.6238, allocations: 85.52 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.386e-05/0.6239, allocations: 51.41 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.6241, allocations: 168 kB / 0.4928 GB, free: 10.75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.6241, allocations: 25.7 kB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.6242, allocations: 158.6 kB / 0.493 GB, free: 10.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.132e-05/0.6243, allocations: 11.91 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.681e-06/0.6243, allocations: 0 / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.6244, allocations: 318.8 kB / 0.4933 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.29e-05/0.6245, allocations: 19.98 kB / 0.4933 GB, free: 10.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.987e-05/0.6246, allocations: 25.72 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.374e-05/0.6246, allocations: 15.98 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6247, allocations: 0 / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001832/0.6249, allocations: 73.62 kB / 0.4934 GB, free: 10.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.6249, allocations: 7.953 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.6249, allocations: 0 / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6249, allocations: 0 / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.6251, allocations: 16.03 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.6251, allocations: 0 / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.913e-05/0.6252, allocations: 15.83 kB / 0.4935 GB, free: 10.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.6252, allocations: 0 / 0.4935 GB, free: 10.04 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 (7): * Single equations (assignments): 7 * 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.793e-05/0.6253, allocations: 114.9 kB / 0.4936 GB, free: 9.926 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.6254, allocations: 11.89 kB / 0.4936 GB, free: 9.914 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00027/0.6257, allocations: 93.66 kB / 0.4937 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6257, allocations: 0 / 0.4937 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.858e-06/0.6257, allocations: 4 kB / 0.4937 GB, free: 9.809 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.6257, allocations: 7.984 kB / 0.4937 GB, free: 9.801 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.6259, allocations: 177.6 kB / 0.4938 GB, free: 9.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.626, allocations: 4.188 kB / 0.4938 GB, free: 9.574 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.16e-05/0.626, allocations: 8 kB / 0.4939 GB, free: 9.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.626, allocations: 3.984 kB / 0.4939 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.6261, allocations: 0 / 0.4939 GB, free: 9.562 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/0.6261, allocations: 3.953 kB / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.6261, allocations: 0 / 0.4939 GB, free: 9.559 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002351/0.6263, allocations: 117 kB / 0.494 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.6264, allocations: 92.86 kB / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.459e-05/0.6265, allocations: 8 kB / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.323e-05/0.6265, allocations: 3.984 kB / 0.4941 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.6266, allocations: 7.953 kB / 0.4941 GB, free: 9.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.6266, allocations: 0 / 0.4941 GB, free: 9.297 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.6268, allocations: 133.5 kB / 0.4942 GB, free: 9.168 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6268, allocations: 0 / 0.4942 GB, free: 9.168 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000316/0.6272, allocations: 24 kB / 0.4942 GB, free: 9.145 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001646/0.6288, allocations: 0.9432 MB / 0.4952 GB, free: 8.305 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.629, allocations: 39.94 kB / 0.4952 GB, free: 8.266 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6291, allocations: 0 / 0.4952 GB, free: 8.266 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.847e-05/0.6291, allocations: 31.91 kB / 0.4952 GB, free: 8.234 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.6295, allocations: 23.94 kB / 0.4952 GB, free: 8.211 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.6301, allocations: 213.3 kB / 0.4954 GB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003026/0.6305, allocations: 0.7044 MB / 0.4961 GB, free: 7.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.395e-05/0.6306, allocations: 27.42 kB / 0.4962 GB, free: 7.203 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6306, allocations: 0 / 0.4962 GB, free: 7.203 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_Test85CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test85CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test85CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test85Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp4.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_Test85CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test85FMU.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_Test85CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test85CalcHelperMain.o] Error 1