Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test22,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.589/2.589, allocations: 270 MB / 282.6 MB, free: 1.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.116e-05/5.126e-05, allocations: 11.94 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4162/0.4163, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.5818, allocations: 89.28 MB / 498.2 MB, free: 1.328 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/0.5822, allocations: 75.97 kB / 498.3 MB, free: 1.254 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02542/0.6076, allocations: 5.5 MB / 0.492 GB, free: 11.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.6077, allocations: 0 / 0.492 GB, free: 11.74 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.553e-05/0.6077, allocations: 7.938 kB / 0.492 GB, free: 11.73 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.0006062/0.6083, allocations: 394.3 kB / 0.4924 GB, free: 11.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.6084, allocations: 8.031 kB / 0.4924 GB, free: 11.3 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.111e-05/0.6085, allocations: 34.56 kB / 0.4924 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.98e-05/0.6085, allocations: 11.91 kB / 0.4924 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004184/0.609, allocations: 219.6 kB / 0.4926 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.844e-05/0.609, allocations: 3.953 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.132e-05/0.609, allocations: 0 / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.6092, allocations: 57.67 kB / 0.4927 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.6092, allocations: 3.938 kB / 0.4927 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.6093, allocations: 4 kB / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.6093, allocations: 0 / 0.4927 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.105e-05/0.6094, allocations: 19.98 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.6099, allocations: 296.8 kB / 0.493 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.6101, allocations: 54.62 kB / 0.493 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.228e-05/0.6101, allocations: 16.98 kB / 0.4931 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.754e-05/0.6102, allocations: 4 kB / 0.4931 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.6104, allocations: 67.39 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 4.869e-06/0.6104, allocations: 3.984 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006246/0.611, allocations: 161.2 kB / 0.4933 GB, free: 10.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/0.6111, allocations: 55.39 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.6113, allocations: 169.3 kB / 0.4935 GB, free: 9.988 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.6114, allocations: 29.7 kB / 0.4935 GB, free: 9.953 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.005e-05/0.6115, allocations: 162.6 kB / 0.4937 GB, free: 9.793 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.6115, allocations: 27.69 kB / 0.4937 GB, free: 9.766 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.572e-06/0.6115, allocations: 0 / 0.4937 GB, free: 9.766 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.6117, allocations: 322.8 kB / 0.494 GB, free: 9.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.336e-05/0.6118, allocations: 16 kB / 0.494 GB, free: 9.426 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.216e-05/0.6119, allocations: 33.66 kB / 0.4941 GB, free: 9.387 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.418e-05/0.6119, allocations: 23.98 kB / 0.4941 GB, free: 9.363 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.612, allocations: 4 kB / 0.4941 GB, free: 9.359 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002287/0.6122, allocations: 89.67 kB / 0.4942 GB, free: 9.266 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.6122, allocations: 4 kB / 0.4942 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6122, allocations: 0 / 0.4942 GB, free: 9.262 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.6123, allocations: 4 kB / 0.4942 GB, free: 9.258 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001588/0.6124, allocations: 15.94 kB / 0.4942 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.6125, allocations: 0 / 0.4942 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.065e-05/0.6126, allocations: 15.83 kB / 0.4942 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.6126, allocations: 4 kB / 0.4942 GB, free: 9.223 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.061e-05/0.6127, allocations: 113 kB / 0.4943 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.529e-05/0.6128, allocations: 11.91 kB / 0.4943 GB, free: 9.094 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003218/0.6131, allocations: 118.4 kB / 0.4944 GB, free: 8.977 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.625e-06/0.6131, allocations: 4 kB / 0.4945 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.6131, allocations: 0 / 0.4945 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.563e-06/0.6132, allocations: 288 / 0.4945 GB, free: 8.973 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/0.6138, allocations: 411.2 kB / 0.4948 GB, free: 8.512 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.6138, allocations: 4.031 kB / 0.4948 GB, free: 8.508 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.43e-05/0.6139, allocations: 11.94 kB / 0.4949 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.6139, allocations: 0 / 0.4949 GB, free: 8.496 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.297e-05/0.6139, allocations: 7.984 kB / 0.4949 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.614, allocations: 0 / 0.4949 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.614, allocations: 0 / 0.4949 GB, free: 8.488 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003104/0.6143, allocations: 225.8 kB / 0.4951 GB, free: 8.242 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.661e-05/0.6144, allocations: 89.02 kB / 0.4952 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.6144, allocations: 7.984 kB / 0.4952 GB, free: 8.129 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.6146, allocations: 4 kB / 0.4952 GB, free: 8.125 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.6146, allocations: 3.953 kB / 0.4952 GB, free: 8.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.6146, allocations: 11.98 kB / 0.4952 GB, free: 8.109 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001846/0.6148, allocations: 136.6 kB / 0.4953 GB, free: 7.977 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6149, allocations: 0 / 0.4953 GB, free: 7.977 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003955/0.6153, allocations: 31.98 kB / 0.4954 GB, free: 7.945 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.001927/0.6172, allocations: 1.179 MB / 0.4965 GB, free: 6.883 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.6175, allocations: 67.86 kB / 0.4966 GB, free: 6.816 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.6175, allocations: 3.938 kB / 0.4966 GB, free: 6.812 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.265e-05/0.6176, allocations: 24 kB / 0.4966 GB, free: 6.789 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.618, allocations: 30.78 kB / 0.4966 GB, free: 6.762 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007835/0.6188, allocations: 250.5 kB / 0.4969 GB, free: 6.465 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.6192, allocations: 0.7162 MB / 0.4976 GB, free: 5.723 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.6193, allocations: 35.42 kB / 0.4976 GB, free: 5.688 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6193, allocations: 0 / 0.4976 GB, free: 5.688 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_Test22CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test22CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test22CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test22Functions.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_Test22CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test22FMU.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_Test22CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test22CalcHelperMain.o] Error 1