Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.857/2.857, allocations: 270 MB / 282.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.601e-05/5.611e-05, allocations: 8 kB / 347.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4092/0.4093, allocations: 61.86 MB / 408.9 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.5763, allocations: 89.28 MB / 498.2 MB, free: 1.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/0.5766, allocations: 75.95 kB / 498.3 MB, free: 1.246 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02567/0.6023, allocations: 5.515 MB / 0.492 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6023, allocations: 0 / 0.492 GB, free: 11.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/0.6024, allocations: 8 kB / 0.492 GB, free: 11.71 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.0005916/0.603, allocations: 394.3 kB / 0.4924 GB, free: 11.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.603, allocations: 8.031 kB / 0.4924 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.926e-05/0.6031, allocations: 34.5 kB / 0.4924 GB, free: 11.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.442e-05/0.6032, allocations: 11.91 kB / 0.4924 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.6036, allocations: 219.6 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.6036, allocations: 3.953 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.72e-05/0.6037, allocations: 4 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001688/0.6038, allocations: 57.67 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6039, allocations: 0 / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.6039, allocations: 3.938 kB / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.6039, allocations: 0 / 0.4927 GB, free: 10.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.917e-05/0.604, allocations: 20 kB / 0.4927 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.6045, allocations: 296.8 kB / 0.493 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.6047, allocations: 54.69 kB / 0.4931 GB, free: 10.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.584e-05/0.6048, allocations: 24.97 kB / 0.4931 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.6048, allocations: 0 / 0.4931 GB, free: 10.44 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.605, allocations: 67.33 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.605, allocations: 0 / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006285/0.6057, allocations: 157.2 kB / 0.4933 GB, free: 10.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.6057, allocations: 51.41 kB / 0.4933 GB, free: 10.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002564/0.606, allocations: 175.6 kB / 0.4935 GB, free: 9.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.614e-05/0.6061, allocations: 29.7 kB / 0.4935 GB, free: 9.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.045e-05/0.6061, allocations: 162.5 kB / 0.4937 GB, free: 9.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.6062, allocations: 19.72 kB / 0.4937 GB, free: 9.75 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.858e-06/0.6062, allocations: 4 kB / 0.4937 GB, free: 9.746 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6064, allocations: 322.8 kB / 0.494 GB, free: 9.422 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.624e-05/0.6065, allocations: 19.94 kB / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.966e-05/0.6066, allocations: 29.72 kB / 0.4941 GB, free: 9.367 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.6066, allocations: 27.98 kB / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.6067, allocations: 0 / 0.4941 GB, free: 9.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002286/0.6069, allocations: 85.69 kB / 0.4942 GB, free: 9.25 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.6069, allocations: 7.938 kB / 0.4942 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.6069, allocations: 0 / 0.4942 GB, free: 9.242 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.607, allocations: 4 kB / 0.4942 GB, free: 9.238 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.6071, allocations: 16.17 kB / 0.4942 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.6072, allocations: 0 / 0.4942 GB, free: 9.223 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.998e-05/0.6073, allocations: 23.88 kB / 0.4942 GB, free: 9.199 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.6073, allocations: 4 kB / 0.4942 GB, free: 9.195 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 8.794e-05/0.6074, allocations: 112.9 kB / 0.4943 GB, free: 9.078 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.241e-05/0.6074, allocations: 11.91 kB / 0.4943 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003265/0.6078, allocations: 114.4 kB / 0.4945 GB, free: 8.953 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.6078, allocations: 4 kB / 0.4945 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6078, allocations: 96 / 0.4945 GB, free: 8.949 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/0.6078, allocations: 3.938 kB / 0.4945 GB, free: 8.945 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006366/0.6085, allocations: 411.3 kB / 0.4949 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.6085, allocations: 0 / 0.4949 GB, free: 8.484 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.067e-05/0.6086, allocations: 8 kB / 0.4949 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.6086, allocations: 0 / 0.4949 GB, free: 8.477 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.641e-05/0.6086, allocations: 4 kB / 0.4949 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6086, allocations: 0 / 0.4949 GB, free: 8.473 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6087, allocations: 3.938 kB / 0.4949 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.609, allocations: 225.9 kB / 0.4951 GB, free: 8.223 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.913e-05/0.6091, allocations: 89.02 kB / 0.4952 GB, free: 8.117 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.313e-05/0.6091, allocations: 4 kB / 0.4952 GB, free: 8.113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.6093, allocations: 7.984 kB / 0.4952 GB, free: 8.105 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.6093, allocations: 15.89 kB / 0.4952 GB, free: 8.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.316e-05/0.6093, allocations: 0 / 0.4952 GB, free: 8.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001963/0.6096, allocations: 146.3 kB / 0.4953 GB, free: 7.949 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6096, allocations: 4 kB / 0.4953 GB, free: 7.945 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003871/0.61, allocations: 28 kB / 0.4954 GB, free: 7.918 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.001962/0.6119, allocations: 1.186 MB / 0.4965 GB, free: 6.852 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002374/0.6122, allocations: 55.94 kB / 0.4966 GB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.6122, allocations: 0 / 0.4966 GB, free: 6.797 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.73e-05/0.6123, allocations: 31.98 kB / 0.4966 GB, free: 6.766 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004012/0.6127, allocations: 26.78 kB / 0.4966 GB, free: 6.742 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/0.6136, allocations: 258.6 kB / 0.4969 GB, free: 6.438 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.6139, allocations: 0.7043 MB / 0.4976 GB, free: 5.707 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001007/0.614, allocations: 35.42 kB / 0.4976 GB, free: 5.672 MB / 426.7 MB Notification: Performance of SimCode: time 7.92e-07/0.614, allocations: 0 / 0.4976 GB, free: 5.672 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_Test33CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test33CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test33CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test33Functions.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_Test33CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test33FMU.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_Test33CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test33CalcHelperMain.o] Error 1