Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test87,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test87",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.615/2.615, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.556e-05/4.563e-05, allocations: 12 kB / 347.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4353, allocations: 61.86 MB / 408.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.6025, allocations: 89.96 MB / 498.9 MB, free: 0.6953 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002919/0.6028, allocations: 71.97 kB / 499 MB, free: 0.625 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06709/0.6699, allocations: 12.71 MB / 0.4997 GB, free: 3.895 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.67, allocations: 0 / 0.4997 GB, free: 3.895 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.927e-05/0.6701, allocations: 12 kB / 0.4997 GB, free: 3.883 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.002131/0.6722, allocations: 0.7094 MB / 0.5004 GB, free: 3.121 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/0.6723, allocations: 16.03 kB / 0.5004 GB, free: 3.105 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001254/0.6725, allocations: 46.55 kB / 0.5004 GB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003494/0.6728, allocations: 71.16 kB / 0.5005 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.6748, allocations: 463.4 kB / 0.5009 GB, free: 2.484 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.84e-05/0.6749, allocations: 11.98 kB / 0.501 GB, free: 2.473 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.436e-05/0.675, allocations: 16 kB / 0.501 GB, free: 2.457 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007014/0.6757, allocations: 192.9 kB / 0.5012 GB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.6758, allocations: 0 / 0.5012 GB, free: 2.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.013e-05/0.6758, allocations: 8 kB / 0.5012 GB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.6759, allocations: 4 kB / 0.5012 GB, free: 2.238 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000443/0.6763, allocations: 91.89 kB / 0.5013 GB, free: 2.148 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.6789, allocations: 0.8718 MB / 0.5021 GB, free: 1.215 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.6801, allocations: 234.5 kB / 0.5023 GB, free: 0.9492 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003757/0.6806, allocations: 83.55 kB / 0.5024 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.1e-05/0.6806, allocations: 8 kB / 0.5024 GB, free: 0.8477 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007015/0.6813, allocations: 197.8 kB / 0.5026 GB, free: 0.625 MB / 426.7 MB Notification: Performance of pre-optimization done (n=28): time 5.07e-06/0.6814, allocations: 0 / 0.5026 GB, free: 0.625 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.004258/0.6857, allocations: 1.019 MB / 0.5036 GB, free: 15.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001331/0.6858, allocations: 136.5 kB / 0.5037 GB, free: 15.43 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002746/0.6886, allocations: 0.816 MB / 0.5045 GB, free: 14.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001413/0.6888, allocations: 45.69 kB / 0.5046 GB, free: 14.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.6892, allocations: 271.5 kB / 0.5048 GB, free: 14.28 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.6894, allocations: 138.1 kB / 0.505 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-05/0.6895, allocations: 4 kB / 0.505 GB, free: 14.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.6897, allocations: 334.6 kB / 0.5053 GB, free: 13.81 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/0.6902, allocations: 104.9 kB / 0.5054 GB, free: 13.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000572/0.6908, allocations: 182.2 kB / 0.5056 GB, free: 13.5 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005572/0.6914, allocations: 124.3 kB / 0.5057 GB, free: 13.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.6914, allocations: 0 / 0.5057 GB, free: 13.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001533/0.6929, allocations: 377.2 kB / 0.506 GB, free: 13.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.693, allocations: 8.031 kB / 0.506 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.693, allocations: 4 kB / 0.5061 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.109e-05/0.6931, allocations: 4 kB / 0.5061 GB, free: 12.99 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008973/0.694, allocations: 91.83 kB / 0.5061 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.448e-05/0.6941, allocations: 4.469 kB / 0.5061 GB, free: 12.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006715/0.6947, allocations: 23.89 kB / 0.5062 GB, free: 12.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.926e-05/0.6948, allocations: 16 kB / 0.5062 GB, free: 12.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition4,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition3,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition2,$PRE.t_new_3.nextTimeEvent,t_new_3.nextTimeEvent,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEventScaled,$whenCondition1,$PRE.t_new_4.nextTimeEvent,t_new_4.nextTimeEvent,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0002903/0.6952, allocations: 147.1 kB / 0.5063 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003063/0.6955, allocations: 71.16 kB / 0.5064 GB, free: 12.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002419/0.6979, allocations: 0.5068 MB / 0.5069 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.698, allocations: 11.98 kB / 0.5069 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.461e-05/0.698, allocations: 4 kB / 0.5069 GB, free: 12.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/0.6981, allocations: 7.922 kB / 0.5069 GB, free: 12.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004953/0.703, allocations: 1.455 MB / 0.5083 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/0.7031, allocations: 4 kB / 0.5083 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/0.7035, allocations: 67.91 kB / 0.5084 GB, free: 10.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/0.7035, allocations: 4 kB / 0.5084 GB, free: 10.48 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.173e-05/0.7036, allocations: 15.98 kB / 0.5084 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.081e-05/0.7036, allocations: 4 kB / 0.5084 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.275e-06/0.7036, allocations: 7.938 kB / 0.5084 GB, free: 10.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.7054, allocations: 0.9243 MB / 0.5093 GB, free: 9.418 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007364/0.7062, allocations: 240 kB / 0.5096 GB, free: 9.164 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/0.7064, allocations: 20 kB / 0.5096 GB, free: 9.145 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007975/0.7072, allocations: 15.98 kB / 0.5096 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001751/0.7074, allocations: 43.95 kB / 0.5096 GB, free: 9.086 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.49e-05/0.7075, allocations: 19.98 kB / 0.5097 GB, free: 9.066 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002217/0.7097, allocations: 0.6631 MB / 0.5103 GB, free: 8.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.162e-06/0.7098, allocations: 0 / 0.5103 GB, free: 8.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001692/0.7115, allocations: 127.9 kB / 0.5104 GB, free: 8.285 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.005534/0.7171, allocations: 2.66 MB / 0.513 GB, free: 5.707 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001432/0.7186, allocations: 302.8 kB / 0.5133 GB, free: 5.41 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/0.7186, allocations: 0 / 0.5133 GB, free: 5.41 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007392/0.7194, allocations: 159.8 kB / 0.5135 GB, free: 5.254 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/0.7214, allocations: 115 kB / 0.5136 GB, free: 5.145 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00572/0.7272, allocations: 1.205 MB / 0.5148 GB, free: 3.859 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.7283, allocations: 0.9295 MB / 0.5157 GB, free: 2.906 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007349/0.7291, allocations: 211.3 kB / 0.5159 GB, free: 2.703 MB / 442.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7291, allocations: 0 / 0.5159 GB, free: 2.703 MB / 442.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_Test87CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test87CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test87CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test87Functions.cpp:282:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp24.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_Test87CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test87FMU.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_Test87CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test87CalcHelperMain.o] Error 1