Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test23,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.593/2.593, allocations: 270 MB / 282.7 MB, free: 1.824 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.891e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4031/0.4032, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/0.5796, allocations: 89.24 MB / 498.2 MB, free: 1.281 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/0.5799, allocations: 71.97 kB / 498.2 MB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02502/0.6049, allocations: 5.453 MB / 0.4919 GB, free: 11.75 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.605, allocations: 0 / 0.4919 GB, free: 11.75 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.593e-05/0.605, allocations: 0 / 0.4919 GB, free: 11.75 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.0006197/0.6056, allocations: 402.2 kB / 0.4923 GB, free: 11.31 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.6057, allocations: 19.97 kB / 0.4923 GB, free: 11.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.082e-05/0.6058, allocations: 30.56 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.296e-05/0.6058, allocations: 7.906 kB / 0.4923 GB, free: 11.24 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.6063, allocations: 213.6 kB / 0.4925 GB, free: 10.99 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.424e-05/0.6063, allocations: 11.95 kB / 0.4925 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.6064, allocations: 0 / 0.4925 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001557/0.6065, allocations: 53.67 kB / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.6066, allocations: 4 kB / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.6066, allocations: 0 / 0.4926 GB, free: 10.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.6066, allocations: 7.875 kB / 0.4926 GB, free: 10.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.52e-05/0.6067, allocations: 23.94 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004981/0.6072, allocations: 292.9 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001726/0.6074, allocations: 54.69 kB / 0.493 GB, free: 10.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.013e-05/0.6075, allocations: 16.98 kB / 0.493 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.6075, allocations: 4 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001825/0.6077, allocations: 75.33 kB / 0.493 GB, free: 10.38 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.475e-06/0.6077, allocations: 0 / 0.493 GB, free: 10.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006348/0.6084, allocations: 153.2 kB / 0.4932 GB, free: 10.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.676e-05/0.6084, allocations: 55.39 kB / 0.4932 GB, free: 10.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.6087, allocations: 185.6 kB / 0.4934 GB, free: 9.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.6088, allocations: 25.7 kB / 0.4935 GB, free: 9.934 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.773e-05/0.6089, allocations: 166.5 kB / 0.4936 GB, free: 9.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.6089, allocations: 27.73 kB / 0.4936 GB, free: 9.742 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.166e-05/0.609, allocations: 4 kB / 0.4936 GB, free: 9.738 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001353/0.6091, allocations: 318.7 kB / 0.4939 GB, free: 9.418 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.493e-05/0.6092, allocations: 20 kB / 0.494 GB, free: 9.398 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.619e-05/0.6093, allocations: 33.7 kB / 0.494 GB, free: 9.359 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.904e-05/0.6094, allocations: 24.06 kB / 0.494 GB, free: 9.336 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.6094, allocations: 0 / 0.494 GB, free: 9.336 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002517/0.6096, allocations: 101.5 kB / 0.4941 GB, free: 9.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.993e-05/0.6097, allocations: 4 kB / 0.4941 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.6097, allocations: 0 / 0.4941 GB, free: 9.227 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.6097, allocations: 4 kB / 0.4941 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.6099, allocations: 15.98 kB / 0.4941 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.021e-05/0.6099, allocations: 0 / 0.4941 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.356e-05/0.61, allocations: 4 kB / 0.4941 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.6101, allocations: 4 kB / 0.4941 GB, free: 9.199 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.761e-05/0.6102, allocations: 110.9 kB / 0.4943 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.422e-05/0.6102, allocations: 15.94 kB / 0.4943 GB, free: 9.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.6106, allocations: 123 kB / 0.4944 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6106, allocations: 288 / 0.4944 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6106, allocations: 0 / 0.4944 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.6106, allocations: 0 / 0.4944 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006482/0.6113, allocations: 411.2 kB / 0.4948 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.6113, allocations: 7.984 kB / 0.4948 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.922e-05/0.6114, allocations: 11.97 kB / 0.4948 GB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.6114, allocations: 4 kB / 0.4948 GB, free: 8.461 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.6114, allocations: 4 kB / 0.4948 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.6114, allocations: 0 / 0.4948 GB, free: 8.457 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.6114, allocations: 3.938 kB / 0.4948 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003169/0.6118, allocations: 214 kB / 0.495 GB, free: 8.219 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.026e-05/0.6119, allocations: 100.9 kB / 0.4951 GB, free: 8.102 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.6119, allocations: 4 kB / 0.4951 GB, free: 8.098 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.6121, allocations: 4 kB / 0.4951 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.438e-05/0.6121, allocations: 19.86 kB / 0.4951 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.6121, allocations: 4 kB / 0.4951 GB, free: 8.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002094/0.6124, allocations: 151.5 kB / 0.4953 GB, free: 7.926 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6124, allocations: 0 / 0.4953 GB, free: 7.926 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000397/0.6128, allocations: 31.94 kB / 0.4953 GB, free: 7.895 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.001981/0.6148, allocations: 1.174 MB / 0.4965 GB, free: 6.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.6151, allocations: 59.94 kB / 0.4965 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.021e-06/0.6151, allocations: 0 / 0.4965 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.51e-05/0.6152, allocations: 35.92 kB / 0.4965 GB, free: 6.746 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004061/0.6156, allocations: 23.94 kB / 0.4966 GB, free: 6.723 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008262/0.6164, allocations: 274 kB / 0.4968 GB, free: 6.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.6168, allocations: 0.7123 MB / 0.4975 GB, free: 5.676 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.617, allocations: 35.42 kB / 0.4976 GB, free: 5.641 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/0.617, allocations: 0 / 0.4976 GB, free: 5.641 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_Test23CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test23CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test23Functions.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_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test23FMU.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_Test23CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test23CalcHelperMain.o] Error 1