Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.816/2.816, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.847e-05/4.857e-05, allocations: 8 kB / 347.1 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4507/0.4508, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.6197, allocations: 89.24 MB / 498.2 MB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002917/0.62, allocations: 71.97 kB / 498.2 MB, free: 1.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02447/0.6445, allocations: 5.414 MB / 0.4918 GB, free: 11.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.6446, allocations: 0 / 0.4918 GB, free: 11.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.6446, allocations: 0 / 0.4918 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.0006058/0.6452, allocations: 394.2 kB / 0.4922 GB, free: 11.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.6453, allocations: 8.031 kB / 0.4922 GB, free: 11.37 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.695e-05/0.6454, allocations: 42.56 kB / 0.4923 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.471e-05/0.6454, allocations: 7.906 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003895/0.6458, allocations: 215.6 kB / 0.4925 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.6459, allocations: 3.953 kB / 0.4925 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.6459, allocations: 11.88 kB / 0.4925 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.6461, allocations: 57.67 kB / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.6461, allocations: 0 / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.6461, allocations: 0 / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.6461, allocations: 0 / 0.4926 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.141e-05/0.6462, allocations: 16 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004748/0.6467, allocations: 300.9 kB / 0.4929 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001579/0.6469, allocations: 58.62 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.385e-05/0.647, allocations: 20.92 kB / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.585e-05/0.647, allocations: 4 kB / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001683/0.6472, allocations: 67.39 kB / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.084e-06/0.6472, allocations: 0 / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006396/0.6478, allocations: 161.1 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.6479, allocations: 51.41 kB / 0.4932 GB, free: 10.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002547/0.6482, allocations: 172.9 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.6482, allocations: 25.7 kB / 0.4934 GB, free: 10.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.187e-05/0.6483, allocations: 166.6 kB / 0.4936 GB, free: 9.855 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/0.6483, allocations: 19.72 kB / 0.4936 GB, free: 9.836 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.233e-06/0.6484, allocations: 4 kB / 0.4936 GB, free: 9.832 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00013/0.6485, allocations: 318.8 kB / 0.4939 GB, free: 9.512 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.881e-05/0.6486, allocations: 20 kB / 0.4939 GB, free: 9.492 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.241e-05/0.6487, allocations: 29.72 kB / 0.4939 GB, free: 9.457 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.725e-05/0.6488, allocations: 28.05 kB / 0.494 GB, free: 9.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.6488, allocations: 0 / 0.494 GB, free: 9.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002225/0.649, allocations: 89.62 kB / 0.494 GB, free: 9.336 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.649, allocations: 8.031 kB / 0.494 GB, free: 9.328 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.6491, allocations: 3.984 kB / 0.4941 GB, free: 9.324 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6491, allocations: 4 kB / 0.4941 GB, free: 9.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.6493, allocations: 12 kB / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.6493, allocations: 0 / 0.4941 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.6494, allocations: 15.78 kB / 0.4941 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.6494, allocations: 7.984 kB / 0.4941 GB, free: 9.285 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.178e-05/0.6495, allocations: 108.9 kB / 0.4942 GB, free: 9.172 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.6496, allocations: 11.91 kB / 0.4942 GB, free: 9.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003223/0.6499, allocations: 122.2 kB / 0.4943 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6499, allocations: 0 / 0.4943 GB, free: 9.039 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.65, allocations: 3.938 kB / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.65, allocations: 0 / 0.4943 GB, free: 9.035 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006281/0.6506, allocations: 407.3 kB / 0.4947 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6506, allocations: 288 / 0.4947 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.572e-05/0.6507, allocations: 8 kB / 0.4947 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.6507, allocations: 8.031 kB / 0.4947 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.6508, allocations: 3.938 kB / 0.4947 GB, free: 8.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.6508, allocations: 4.172 kB / 0.4947 GB, free: 8.555 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.6508, allocations: 4 kB / 0.4947 GB, free: 8.551 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.6511, allocations: 221.8 kB / 0.495 GB, free: 8.309 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.6512, allocations: 89.02 kB / 0.495 GB, free: 8.203 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.6512, allocations: 8 kB / 0.495 GB, free: 8.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.6514, allocations: 7.984 kB / 0.4951 GB, free: 8.188 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.6514, allocations: 7.953 kB / 0.4951 GB, free: 8.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.6515, allocations: 3.984 kB / 0.4951 GB, free: 8.176 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001899/0.6517, allocations: 144.3 kB / 0.4952 GB, free: 8.039 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6517, allocations: 0 / 0.4952 GB, free: 8.039 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003992/0.6521, allocations: 31.98 kB / 0.4952 GB, free: 8.008 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.654, allocations: 1.179 MB / 0.4964 GB, free: 6.945 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002361/0.6543, allocations: 51.98 kB / 0.4964 GB, free: 6.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6543, allocations: 8 kB / 0.4964 GB, free: 6.887 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.612e-05/0.6544, allocations: 35.92 kB / 0.4965 GB, free: 6.852 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004317/0.6549, allocations: 30.55 kB / 0.4965 GB, free: 6.824 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008043/0.6557, allocations: 254.5 kB / 0.4967 GB, free: 6.523 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.656, allocations: 0.7004 MB / 0.4974 GB, free: 5.797 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.6561, allocations: 43.42 kB / 0.4975 GB, free: 5.754 MB / 426.7 MB Notification: Performance of SimCode: time 1.232e-06/0.6562, allocations: 0 / 0.4975 GB, free: 5.754 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_Test32CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test32CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test32CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test32Functions.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_Test32CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test32FMU.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_Test32CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test32CalcHelperMain.o] Error 1