Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 270 MB / 282.6 MB, free: 1.84 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.085e-05/4.091e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4102, allocations: 61.87 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.212/0.6223, allocations: 89.23 MB / 498.2 MB, free: 1.402 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004294/0.6228, allocations: 75.95 kB / 498.2 MB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03412/0.6569, allocations: 5.523 MB / 0.492 GB, free: 11.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.657, allocations: 0 / 0.492 GB, free: 11.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.657, allocations: 4 kB / 0.492 GB, free: 11.8 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.0006008/0.6576, allocations: 402.2 kB / 0.4923 GB, free: 11.36 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6577, allocations: 12.03 kB / 0.4924 GB, free: 11.35 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.185e-05/0.6577, allocations: 42.48 kB / 0.4924 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.894e-05/0.6578, allocations: 11.91 kB / 0.4924 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.6582, allocations: 216 kB / 0.4926 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.044e-05/0.6582, allocations: 7.953 kB / 0.4926 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.6583, allocations: 4 kB / 0.4926 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000152/0.6584, allocations: 49.69 kB / 0.4927 GB, free: 10.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.6585, allocations: 3.984 kB / 0.4927 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.6585, allocations: 0 / 0.4927 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.6585, allocations: 7.938 kB / 0.4927 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.6586, allocations: 20 kB / 0.4927 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005004/0.6591, allocations: 304.8 kB / 0.493 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.6593, allocations: 50.69 kB / 0.493 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.641e-05/0.6594, allocations: 20.98 kB / 0.4931 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.6594, allocations: 4 kB / 0.4931 GB, free: 10.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.6596, allocations: 71.33 kB / 0.4931 GB, free: 10.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.094e-06/0.6596, allocations: 0 / 0.4931 GB, free: 10.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006204/0.6603, allocations: 153.1 kB / 0.4933 GB, free: 10.27 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/0.6603, allocations: 59.39 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003045/0.6606, allocations: 193.4 kB / 0.4935 GB, free: 9.996 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.6607, allocations: 25.7 kB / 0.4935 GB, free: 9.965 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.6608, allocations: 166.5 kB / 0.4937 GB, free: 9.801 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.6608, allocations: 27.66 kB / 0.4937 GB, free: 9.773 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-06/0.6608, allocations: 0 / 0.4937 GB, free: 9.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.661, allocations: 322.8 kB / 0.494 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.477e-05/0.6611, allocations: 23.92 kB / 0.4941 GB, free: 9.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.763e-05/0.6611, allocations: 29.72 kB / 0.4941 GB, free: 9.391 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.558e-05/0.6612, allocations: 23.98 kB / 0.4941 GB, free: 9.367 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6612, allocations: 0 / 0.4941 GB, free: 9.367 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002317/0.6615, allocations: 93.67 kB / 0.4942 GB, free: 9.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.051e-05/0.6615, allocations: 7.938 kB / 0.4942 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.6615, allocations: 3.938 kB / 0.4942 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6616, allocations: 7.984 kB / 0.4942 GB, free: 9.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.6617, allocations: 15.98 kB / 0.4942 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.316e-06/0.6617, allocations: 0 / 0.4942 GB, free: 9.234 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.08e-05/0.6618, allocations: 4 kB / 0.4942 GB, free: 9.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.6619, allocations: 4 kB / 0.4942 GB, free: 9.227 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.017e-05/0.662, allocations: 108.9 kB / 0.4943 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.662, allocations: 19.84 kB / 0.4944 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/0.6624, allocations: 119.1 kB / 0.4945 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.6624, allocations: 288 / 0.4945 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.6624, allocations: 0 / 0.4945 GB, free: 8.965 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.6624, allocations: 3.984 kB / 0.4945 GB, free: 8.961 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.6631, allocations: 415.4 kB / 0.4949 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.6631, allocations: 0 / 0.4949 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.086e-05/0.6632, allocations: 20.03 kB / 0.4949 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.6632, allocations: 0 / 0.4949 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.6633, allocations: 4.172 kB / 0.4949 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6633, allocations: 4.078 kB / 0.4949 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.6633, allocations: 11.92 kB / 0.4949 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.6636, allocations: 217.9 kB / 0.4951 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.193e-05/0.6637, allocations: 96.91 kB / 0.4952 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.873e-05/0.6637, allocations: 8 kB / 0.4952 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.6639, allocations: 4 kB / 0.4952 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.411e-05/0.6639, allocations: 15.88 kB / 0.4952 GB, free: 8.078 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.257e-05/0.664, allocations: 0 / 0.4952 GB, free: 8.078 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002207/0.6642, allocations: 160.2 kB / 0.4954 GB, free: 7.922 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6642, allocations: 0 / 0.4954 GB, free: 7.922 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.6646, allocations: 35.94 kB / 0.4954 GB, free: 7.887 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.001858/0.6665, allocations: 1.173 MB / 0.4966 GB, free: 6.836 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002437/0.6667, allocations: 55.94 kB / 0.4966 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6668, allocations: 0 / 0.4966 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.415e-05/0.6669, allocations: 31.98 kB / 0.4967 GB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.6673, allocations: 27.94 kB / 0.4967 GB, free: 6.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008194/0.6681, allocations: 266.1 kB / 0.4969 GB, free: 6.418 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.6685, allocations: 0.7162 MB / 0.4976 GB, free: 5.676 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.6686, allocations: 39.41 kB / 0.4977 GB, free: 5.637 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6686, allocations: 0 / 0.4977 GB, free: 5.637 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_Test9CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test9CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test9CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test9Functions.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_Test9CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test9FMU.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_Test9CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test9CalcHelperMain.o] Error 1