Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test76,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test76",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.865/2.865, allocations: 270 MB / 282.7 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.871e-05/4.879e-05, allocations: 4 kB / 347.1 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4179/0.418, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1676/0.5857, allocations: 89.32 MB / 498.3 MB, free: 1.199 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.586, allocations: 79.94 kB / 498.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02796/0.614, allocations: 6.163 MB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.614, allocations: 4 kB / 0.4927 GB, free: 10.95 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.013e-05/0.6141, allocations: 4 kB / 0.4927 GB, free: 10.94 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006625/0.6147, allocations: 414.2 kB / 0.4931 GB, free: 10.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.6148, allocations: 8.031 kB / 0.4931 GB, free: 10.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.718e-05/0.6149, allocations: 38.56 kB / 0.4931 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.677e-05/0.6149, allocations: 11.81 kB / 0.4931 GB, free: 10.43 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.6154, allocations: 223.5 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.6154, allocations: 4 kB / 0.4933 GB, free: 10.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.785e-05/0.6155, allocations: 8 kB / 0.4934 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.6157, allocations: 81.53 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.6157, allocations: 0 / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.6157, allocations: 0 / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.6157, allocations: 0 / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/0.6159, allocations: 51.97 kB / 0.4935 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006066/0.6165, allocations: 332.7 kB / 0.4938 GB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003777/0.6169, allocations: 90.58 kB / 0.4939 GB, free: 9.543 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001111/0.6171, allocations: 36.84 kB / 0.4939 GB, free: 9.504 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.6171, allocations: 7.984 kB / 0.4939 GB, free: 9.496 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.6173, allocations: 79.38 kB / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of pre-optimization done (n=9): time 3.076e-06/0.6174, allocations: 0 / 0.494 GB, free: 9.406 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009565/0.6183, allocations: 261 kB / 0.4943 GB, free: 9.145 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.6184, allocations: 67.36 kB / 0.4943 GB, free: 9.066 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.6187, allocations: 174.7 kB / 0.4945 GB, free: 8.887 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.6187, allocations: 29.7 kB / 0.4945 GB, free: 8.852 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.231e-05/0.6188, allocations: 166.8 kB / 0.4947 GB, free: 8.688 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.995e-05/0.6189, allocations: 35.45 kB / 0.4947 GB, free: 8.652 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.427e-05/0.6189, allocations: 8 kB / 0.4947 GB, free: 8.645 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001339/0.6191, allocations: 310.8 kB / 0.495 GB, free: 8.332 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.6192, allocations: 39.98 kB / 0.495 GB, free: 8.293 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.6194, allocations: 67.81 kB / 0.4951 GB, free: 8.223 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.6195, allocations: 35.98 kB / 0.4951 GB, free: 8.188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.6195, allocations: 0.5625 kB / 0.4951 GB, free: 8.188 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003766/0.6199, allocations: 145.5 kB / 0.4953 GB, free: 8.039 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.6199, allocations: 7.984 kB / 0.4953 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.62, allocations: 0 / 0.4953 GB, free: 8.031 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.62, allocations: 4 kB / 0.4953 GB, free: 8.027 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002098/0.6202, allocations: 23.98 kB / 0.4953 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.6202, allocations: 7.969 kB / 0.4953 GB, free: 7.996 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.6203, allocations: 11.95 kB / 0.4953 GB, free: 7.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.804e-05/0.6204, allocations: 4 kB / 0.4953 GB, free: 7.98 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 (15): * Single equations (assignments): 15 * 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.0001058/0.6205, allocations: 116 kB / 0.4955 GB, free: 7.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.6205, allocations: 11.81 kB / 0.4955 GB, free: 7.852 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005472/0.6211, allocations: 187.2 kB / 0.4956 GB, free: 7.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.6211, allocations: 4 kB / 0.4956 GB, free: 7.656 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6211, allocations: 4 kB / 0.4957 GB, free: 7.652 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.6212, allocations: 3.984 kB / 0.4957 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/0.6221, allocations: 0.5118 MB / 0.4962 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.6222, allocations: 0 / 0.4962 GB, free: 7.074 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001634/0.6223, allocations: 27.92 kB / 0.4962 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.6224, allocations: 0 / 0.4962 GB, free: 7.047 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.6224, allocations: 4 kB / 0.4962 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.6224, allocations: 8.016 kB / 0.4962 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.6224, allocations: 0 / 0.4962 GB, free: 7.035 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004831/0.6229, allocations: 293.8 kB / 0.4965 GB, free: 6.715 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.184e-05/0.623, allocations: 96.95 kB / 0.4966 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.31e-05/0.6231, allocations: 8 kB / 0.4966 GB, free: 6.594 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.6232, allocations: 11.98 kB / 0.4966 GB, free: 6.582 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.6233, allocations: 11.98 kB / 0.4966 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.081e-05/0.6233, allocations: 4 kB / 0.4966 GB, free: 6.566 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001958/0.6235, allocations: 147.5 kB / 0.4967 GB, free: 6.426 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6235, allocations: 0 / 0.4967 GB, free: 6.426 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004145/0.624, allocations: 47.94 kB / 0.4968 GB, free: 6.379 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.002299/0.6263, allocations: 1.377 MB / 0.4981 GB, free: 5.129 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003844/0.6267, allocations: 111.9 kB / 0.4982 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6267, allocations: 0 / 0.4982 GB, free: 5.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001613/0.6269, allocations: 59.98 kB / 0.4983 GB, free: 4.961 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004233/0.6273, allocations: 23.98 kB / 0.4983 GB, free: 4.938 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000963/0.6283, allocations: 303.6 kB / 0.4986 GB, free: 4.598 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003581/0.6287, allocations: 0.7202 MB / 0.4993 GB, free: 3.852 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.6289, allocations: 47.55 kB / 0.4994 GB, free: 3.805 MB / 426.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6289, allocations: 0 / 0.4994 GB, free: 3.805 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_Test76CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test76CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test76CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test76Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp8.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_Test76CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test76FMU.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_Test76CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test76CalcHelperMain.o] Error 1