Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test18,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.671/2.671, allocations: 270 MB / 282.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.84e-05/4.846e-05, allocations: 4 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4245, allocations: 61.86 MB / 408.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1665/0.591, allocations: 89.28 MB / 498.2 MB, free: 1.422 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002827/0.5913, allocations: 75.94 kB / 498.3 MB, free: 1.348 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0251/0.6164, allocations: 5.461 MB / 0.4919 GB, free: 11.88 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6165, allocations: 0 / 0.4919 GB, free: 11.88 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.534e-05/0.6165, allocations: 0 / 0.4919 GB, free: 11.88 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.0006111/0.6171, allocations: 386.2 kB / 0.4923 GB, free: 11.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.6172, allocations: 12.03 kB / 0.4923 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.6173, allocations: 34.56 kB / 0.4924 GB, free: 11.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.791e-05/0.6173, allocations: 11.91 kB / 0.4924 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.6177, allocations: 213.6 kB / 0.4926 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.6178, allocations: 7.953 kB / 0.4926 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.6178, allocations: 0 / 0.4926 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.618, allocations: 61.55 kB / 0.4926 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.618, allocations: 0 / 0.4926 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.6181, allocations: 4 kB / 0.4926 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.6181, allocations: 0 / 0.4926 GB, free: 11.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.74e-05/0.6182, allocations: 23.98 kB / 0.4927 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004987/0.6187, allocations: 300.8 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001625/0.6189, allocations: 50.67 kB / 0.493 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.75e-05/0.6189, allocations: 20.98 kB / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/0.619, allocations: 0 / 0.493 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.6192, allocations: 67.39 kB / 0.4931 GB, free: 10.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.024e-06/0.6192, allocations: 0 / 0.4931 GB, free: 10.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.00063/0.6198, allocations: 149.3 kB / 0.4932 GB, free: 10.39 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.6199, allocations: 55.41 kB / 0.4933 GB, free: 10.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002695/0.6202, allocations: 156 kB / 0.4934 GB, free: 10.16 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.6202, allocations: 33.7 kB / 0.4935 GB, free: 10.12 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.335e-05/0.6203, allocations: 162.5 kB / 0.4936 GB, free: 9.965 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.378e-05/0.6204, allocations: 31.64 kB / 0.4936 GB, free: 9.934 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.562e-06/0.6204, allocations: 0 / 0.4936 GB, free: 9.934 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.6205, allocations: 322.8 kB / 0.4939 GB, free: 9.609 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.627e-05/0.6206, allocations: 16 kB / 0.494 GB, free: 9.594 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.353e-05/0.6207, allocations: 37.66 kB / 0.494 GB, free: 9.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.87e-05/0.6208, allocations: 23.98 kB / 0.494 GB, free: 9.527 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6208, allocations: 0 / 0.494 GB, free: 9.527 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002354/0.6211, allocations: 89.75 kB / 0.4941 GB, free: 9.434 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.6211, allocations: 8 kB / 0.4941 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.6211, allocations: 192 / 0.4941 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.6211, allocations: 0 / 0.4941 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.6213, allocations: 23.92 kB / 0.4941 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.6213, allocations: 4 kB / 0.4941 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.591e-05/0.6214, allocations: 0 / 0.4941 GB, free: 9.398 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.733e-05/0.6215, allocations: 8 kB / 0.4942 GB, free: 9.391 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.0001052/0.6216, allocations: 114.3 kB / 0.4943 GB, free: 9.273 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.964e-05/0.6216, allocations: 11.94 kB / 0.4943 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003284/0.622, allocations: 122.3 kB / 0.4944 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.622, allocations: 0 / 0.4944 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.622, allocations: 0 / 0.4944 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.622, allocations: 3.938 kB / 0.4944 GB, free: 9.137 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.6227, allocations: 403.2 kB / 0.4948 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.6227, allocations: 4 kB / 0.4948 GB, free: 8.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.447e-05/0.6228, allocations: 12.02 kB / 0.4948 GB, free: 8.668 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6228, allocations: 4 kB / 0.4948 GB, free: 8.664 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.6228, allocations: 4 kB / 0.4948 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.6228, allocations: 0 / 0.4948 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.6228, allocations: 0 / 0.4948 GB, free: 8.66 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003166/0.6231, allocations: 217.9 kB / 0.495 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.21e-05/0.6232, allocations: 89 kB / 0.4951 GB, free: 8.316 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.513e-05/0.6233, allocations: 8 kB / 0.4951 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.6234, allocations: 4 kB / 0.4951 GB, free: 8.305 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.28e-05/0.6235, allocations: 11.94 kB / 0.4951 GB, free: 8.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.6235, allocations: 4 kB / 0.4951 GB, free: 8.289 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001751/0.6237, allocations: 131.2 kB / 0.4952 GB, free: 8.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6237, allocations: 3.938 kB / 0.4952 GB, free: 8.156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004195/0.6241, allocations: 31.94 kB / 0.4953 GB, free: 8.125 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.001985/0.6261, allocations: 1.185 MB / 0.4964 GB, free: 7.059 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002292/0.6264, allocations: 63.92 kB / 0.4965 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.6264, allocations: 0 / 0.4965 GB, free: 6.996 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.239e-05/0.6265, allocations: 24 kB / 0.4965 GB, free: 6.973 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.6269, allocations: 34.56 kB / 0.4966 GB, free: 6.941 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007379/0.6277, allocations: 238.5 kB / 0.4968 GB, free: 6.656 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.628, allocations: 0.7045 MB / 0.4975 GB, free: 5.926 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001103/0.6282, allocations: 31.42 kB / 0.4975 GB, free: 5.895 MB / 426.7 MB Notification: Performance of SimCode: time 8.12e-07/0.6282, allocations: 0 / 0.4975 GB, free: 5.895 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_Test18CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test18CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test18Functions.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_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test18FMU.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_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test18CalcHelperMain.o] Error 1