Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test3,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.729/2.729, allocations: 270 MB / 282.6 MB, free: 1.914 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 6.503e-05/6.511e-05, allocations: 8 kB / 347.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4086, allocations: 61.87 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.5758, allocations: 89.23 MB / 498.2 MB, free: 1.352 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003415/0.5762, allocations: 79.94 kB / 498.2 MB, free: 1.273 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02459/0.6008, allocations: 5.308 MB / 0.4917 GB, free: 11.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6008, allocations: 0 / 0.4917 GB, free: 11.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.6009, allocations: 0 / 0.4917 GB, free: 11.95 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.0005982/0.6015, allocations: 398.2 kB / 0.4921 GB, free: 11.52 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/0.6015, allocations: 12.03 kB / 0.4921 GB, free: 11.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.113e-05/0.6016, allocations: 30.56 kB / 0.4922 GB, free: 11.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.523e-05/0.6017, allocations: 11.91 kB / 0.4922 GB, free: 11.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003751/0.602, allocations: 204.8 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.6021, allocations: 7.953 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.6021, allocations: 0 / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.6023, allocations: 69.55 kB / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6023, allocations: 3.938 kB / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.6023, allocations: 0 / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.6024, allocations: 0 / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.903e-05/0.6025, allocations: 19.98 kB / 0.4925 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000479/0.6029, allocations: 284.9 kB / 0.4927 GB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001716/0.6031, allocations: 54.69 kB / 0.4928 GB, free: 10.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.468e-05/0.6032, allocations: 20.98 kB / 0.4928 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.981e-05/0.6032, allocations: 7.938 kB / 0.4928 GB, free: 10.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001647/0.6034, allocations: 63.39 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.114e-06/0.6034, allocations: 0 / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006505/0.6041, allocations: 161.1 kB / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.6042, allocations: 51.41 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.6044, allocations: 149 kB / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.6044, allocations: 33.7 kB / 0.4933 GB, free: 10.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.6045, allocations: 154.6 kB / 0.4934 GB, free: 10.04 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.219e-05/0.6046, allocations: 23.7 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.217e-06/0.6046, allocations: 4 kB / 0.4934 GB, free: 10.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6047, allocations: 314.8 kB / 0.4937 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.247e-05/0.6048, allocations: 23.98 kB / 0.4938 GB, free: 9.672 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.959e-05/0.6049, allocations: 33.72 kB / 0.4938 GB, free: 9.633 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.041e-05/0.605, allocations: 32.05 kB / 0.4938 GB, free: 9.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.605, allocations: 0 / 0.4938 GB, free: 9.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002224/0.6053, allocations: 81.81 kB / 0.4939 GB, free: 9.516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.6053, allocations: 8 kB / 0.4939 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6053, allocations: 0 / 0.4939 GB, free: 9.508 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.6053, allocations: 4 kB / 0.4939 GB, free: 9.504 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.6055, allocations: 19.98 kB / 0.4939 GB, free: 9.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.6055, allocations: 4 kB / 0.4939 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.6056, allocations: 0 / 0.4939 GB, free: 9.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.409e-05/0.6057, allocations: 8.031 kB / 0.4939 GB, free: 9.473 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.0001015/0.6058, allocations: 116.9 kB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.6058, allocations: 11.81 kB / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003296/0.6062, allocations: 118.3 kB / 0.4942 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.6062, allocations: 3.938 kB / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.6062, allocations: 0 / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.6062, allocations: 0 / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006271/0.6068, allocations: 407.3 kB / 0.4946 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.6069, allocations: 0 / 0.4946 GB, free: 8.762 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.6069, allocations: 11.94 kB / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.607, allocations: 0 / 0.4946 GB, free: 8.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.607, allocations: 4 kB / 0.4946 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/0.607, allocations: 3.984 kB / 0.4946 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.607, allocations: 0 / 0.4946 GB, free: 8.742 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.6073, allocations: 221.9 kB / 0.4948 GB, free: 8.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.897e-05/0.6074, allocations: 96.91 kB / 0.4949 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.6075, allocations: 0 / 0.4949 GB, free: 8.387 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.6076, allocations: 7.984 kB / 0.4949 GB, free: 8.379 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.108e-05/0.6077, allocations: 7.953 kB / 0.4949 GB, free: 8.371 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6077, allocations: 8 kB / 0.4949 GB, free: 8.363 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001613/0.6079, allocations: 127.2 kB / 0.495 GB, free: 8.242 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.6079, allocations: 4 kB / 0.495 GB, free: 8.238 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004038/0.6083, allocations: 24 kB / 0.4951 GB, free: 8.215 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.001969/0.6103, allocations: 1.169 MB / 0.4962 GB, free: 7.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.6106, allocations: 63.84 kB / 0.4963 GB, free: 7.098 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.656e-06/0.6106, allocations: 0 / 0.4963 GB, free: 7.098 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.797e-05/0.6107, allocations: 31.94 kB / 0.4963 GB, free: 7.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004214/0.6111, allocations: 30.77 kB / 0.4963 GB, free: 7.039 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007533/0.6119, allocations: 230.5 kB / 0.4965 GB, free: 6.766 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000354/0.6123, allocations: 0.7082 MB / 0.4972 GB, free: 6.031 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.982e-05/0.6124, allocations: 31.42 kB / 0.4973 GB, free: 6 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6124, allocations: 0 / 0.4973 GB, free: 6 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_Test3CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test3CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test3CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test3Functions.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_Test3CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test3FMU.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_Test3CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test3CalcHelperMain.o] Error 1