Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.726/2.726, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.133e-05/4.15e-05, allocations: 8 kB / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.399/0.3991, allocations: 61.88 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.5812, allocations: 89.24 MB / 498.2 MB, free: 1.375 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.5817, allocations: 75.95 kB / 498.2 MB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02758/0.6093, allocations: 5.402 MB / 0.4918 GB, free: 11.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6093, allocations: 0 / 0.4918 GB, free: 11.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.506e-05/0.6093, allocations: 0 / 0.4918 GB, free: 11.89 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.0005793/0.6099, allocations: 402.2 kB / 0.4922 GB, free: 11.45 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.61, allocations: 8.031 kB / 0.4922 GB, free: 11.44 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.328e-05/0.61, allocations: 38.56 kB / 0.4923 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.6101, allocations: 7.906 kB / 0.4923 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003905/0.6105, allocations: 219.6 kB / 0.4925 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.6105, allocations: 3.953 kB / 0.4925 GB, free: 11.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.127e-05/0.6106, allocations: 7.938 kB / 0.4925 GB, free: 11.12 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.6108, allocations: 53.67 kB / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6108, allocations: 4 kB / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.6108, allocations: 0 / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.6108, allocations: 0 / 0.4926 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.155e-05/0.6109, allocations: 16 kB / 0.4926 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.6114, allocations: 296.9 kB / 0.4929 GB, free: 10.7 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.6116, allocations: 54.62 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.392e-05/0.6117, allocations: 24.98 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.329e-05/0.6117, allocations: 0 / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001691/0.6119, allocations: 63.39 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.294e-06/0.6119, allocations: 3.938 kB / 0.493 GB, free: 10.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006238/0.6125, allocations: 157.2 kB / 0.4931 GB, free: 10.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.6126, allocations: 51.41 kB / 0.4932 GB, free: 10.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002592/0.6129, allocations: 172.9 kB / 0.4934 GB, free: 10.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.338e-05/0.6129, allocations: 33.7 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.613, allocations: 162.6 kB / 0.4935 GB, free: 9.941 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.891e-05/0.613, allocations: 19.72 kB / 0.4936 GB, free: 9.922 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.913e-06/0.6131, allocations: 0 / 0.4936 GB, free: 9.922 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.6132, allocations: 322.8 kB / 0.4939 GB, free: 9.598 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.6133, allocations: 16 kB / 0.4939 GB, free: 9.582 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.698e-05/0.6134, allocations: 33.72 kB / 0.4939 GB, free: 9.543 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.871e-05/0.6135, allocations: 31.91 kB / 0.4939 GB, free: 9.512 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6135, allocations: 4 kB / 0.494 GB, free: 9.508 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002259/0.6137, allocations: 81.69 kB / 0.494 GB, free: 9.422 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6137, allocations: 4 kB / 0.494 GB, free: 9.418 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.6138, allocations: 4 kB / 0.494 GB, free: 9.414 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.6138, allocations: 3.984 kB / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.614, allocations: 16.12 kB / 0.4941 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.614, allocations: 0 / 0.4941 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-05/0.6141, allocations: 15.84 kB / 0.4941 GB, free: 9.379 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.6141, allocations: 12.03 kB / 0.4941 GB, free: 9.367 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.0001022/0.6142, allocations: 118.7 kB / 0.4942 GB, free: 9.246 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.314e-05/0.6143, allocations: 7.906 kB / 0.4942 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.6147, allocations: 118.2 kB / 0.4943 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.6147, allocations: 0 / 0.4943 GB, free: 9.121 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6147, allocations: 3.938 kB / 0.4943 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6147, allocations: 0 / 0.4943 GB, free: 9.117 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006484/0.6154, allocations: 411.3 kB / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.6154, allocations: 0 / 0.4947 GB, free: 8.656 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.6155, allocations: 8 kB / 0.4947 GB, free: 8.648 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.6155, allocations: 4 kB / 0.4947 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.6155, allocations: 288 / 0.4947 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/0.6155, allocations: 0 / 0.4947 GB, free: 8.645 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/0.6156, allocations: 7.984 kB / 0.4947 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003216/0.6159, allocations: 225.8 kB / 0.4949 GB, free: 8.391 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.9e-05/0.616, allocations: 93.02 kB / 0.495 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.616, allocations: 0 / 0.495 GB, free: 8.281 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.6162, allocations: 7.984 kB / 0.495 GB, free: 8.273 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.147e-05/0.6162, allocations: 7.953 kB / 0.4951 GB, free: 8.266 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.6163, allocations: 8 kB / 0.4951 GB, free: 8.258 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002013/0.6165, allocations: 136.6 kB / 0.4952 GB, free: 8.125 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6165, allocations: 0 / 0.4952 GB, free: 8.125 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004002/0.6169, allocations: 35.98 kB / 0.4952 GB, free: 8.09 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.00199/0.6189, allocations: 1.183 MB / 0.4964 GB, free: 7.023 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.6192, allocations: 55.98 kB / 0.4964 GB, free: 6.969 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.6193, allocations: 0 / 0.4964 GB, free: 6.969 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.835e-05/0.6194, allocations: 31.92 kB / 0.4965 GB, free: 6.938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.6198, allocations: 31.88 kB / 0.4965 GB, free: 6.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008048/0.6206, allocations: 254.5 kB / 0.4967 GB, free: 6.605 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003397/0.621, allocations: 0.7045 MB / 0.4974 GB, free: 5.875 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.6211, allocations: 35.42 kB / 0.4975 GB, free: 5.84 MB / 426.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6211, allocations: 0 / 0.4975 GB, free: 5.84 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_Test20CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test20CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test20Functions.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_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test20FMU.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_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test20CalcHelperMain.o] Error 1