Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test21,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test21",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.636/2.636, allocations: 270 MB / 282.6 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.18e-05/5.186e-05, allocations: 11.98 kB / 347.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4534, allocations: 61.88 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.6197, allocations: 89.28 MB / 498.2 MB, free: 1.285 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002851/0.6201, allocations: 75.95 kB / 498.3 MB, free: 1.211 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02447/0.6446, allocations: 5.496 MB / 0.492 GB, free: 11.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.6446, allocations: 0 / 0.492 GB, free: 11.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.697e-05/0.6446, allocations: 4 kB / 0.492 GB, free: 11.7 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.0006016/0.6453, allocations: 398.2 kB / 0.4924 GB, free: 11.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/0.6453, allocations: 12.03 kB / 0.4924 GB, free: 11.25 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.324e-05/0.6454, allocations: 38.5 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.436e-05/0.6454, allocations: 15.88 kB / 0.4924 GB, free: 11.19 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004204/0.6459, allocations: 207.6 kB / 0.4926 GB, free: 10.95 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.104e-05/0.6459, allocations: 15.89 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.646, allocations: 3.984 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.6461, allocations: 49.69 kB / 0.4927 GB, free: 10.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.6461, allocations: 4 kB / 0.4927 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.6462, allocations: 0 / 0.4927 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.6462, allocations: 4 kB / 0.4927 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.528e-05/0.6463, allocations: 19.98 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.6467, allocations: 288.9 kB / 0.493 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001642/0.6469, allocations: 54.62 kB / 0.493 GB, free: 10.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.19e-05/0.647, allocations: 28.97 kB / 0.4931 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.647, allocations: 0 / 0.4931 GB, free: 10.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.6472, allocations: 59.41 kB / 0.4931 GB, free: 10.35 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.004e-06/0.6472, allocations: 4 kB / 0.4931 GB, free: 10.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005992/0.6478, allocations: 161.1 kB / 0.4933 GB, free: 10.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.731e-05/0.6479, allocations: 55.41 kB / 0.4933 GB, free: 10.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.6482, allocations: 169.3 kB / 0.4935 GB, free: 9.949 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.6482, allocations: 33.7 kB / 0.4935 GB, free: 9.91 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.6483, allocations: 162.6 kB / 0.4937 GB, free: 9.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.071e-05/0.6484, allocations: 23.7 kB / 0.4937 GB, free: 9.727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-06/0.6484, allocations: 0 / 0.4937 GB, free: 9.727 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6485, allocations: 314.8 kB / 0.494 GB, free: 9.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/0.6486, allocations: 20 kB / 0.494 GB, free: 9.391 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.246e-05/0.6487, allocations: 37.7 kB / 0.4941 GB, free: 9.348 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.075e-05/0.6488, allocations: 31.92 kB / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.6488, allocations: 0 / 0.4941 GB, free: 9.316 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002186/0.649, allocations: 85.67 kB / 0.4942 GB, free: 9.227 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.649, allocations: 8 kB / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6491, allocations: 0 / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.6491, allocations: 0 / 0.4942 GB, free: 9.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001587/0.6493, allocations: 15.98 kB / 0.4942 GB, free: 9.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.6493, allocations: 7.938 kB / 0.4942 GB, free: 9.195 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.42e-05/0.6494, allocations: 8.031 kB / 0.4942 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.695e-05/0.6494, allocations: 12.03 kB / 0.4942 GB, free: 9.176 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.699e-05/0.6495, allocations: 112.9 kB / 0.4943 GB, free: 9.059 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/0.6495, allocations: 12.03 kB / 0.4943 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003359/0.6499, allocations: 118.2 kB / 0.4945 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.6499, allocations: 0 / 0.4945 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.6499, allocations: 0 / 0.4945 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.6499, allocations: 0 / 0.4945 GB, free: 8.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006247/0.6506, allocations: 411.3 kB / 0.4948 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.6506, allocations: 0 / 0.4948 GB, free: 8.469 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.416e-05/0.6507, allocations: 15.98 kB / 0.4949 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.6507, allocations: 0 / 0.4949 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.6507, allocations: 0 / 0.4949 GB, free: 8.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.55e-06/0.6507, allocations: 4 kB / 0.4949 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.6507, allocations: 0 / 0.4949 GB, free: 8.449 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.6511, allocations: 229.8 kB / 0.4951 GB, free: 8.199 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.6512, allocations: 89 kB / 0.4952 GB, free: 8.094 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.902e-05/0.6512, allocations: 8 kB / 0.4952 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.6513, allocations: 0 / 0.4952 GB, free: 8.086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.6514, allocations: 11.94 kB / 0.4952 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.6514, allocations: 7.984 kB / 0.4952 GB, free: 8.066 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000183/0.6516, allocations: 140.6 kB / 0.4953 GB, free: 7.93 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6516, allocations: 0 / 0.4953 GB, free: 7.93 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003807/0.652, allocations: 32 kB / 0.4954 GB, free: 7.898 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.00194/0.654, allocations: 1.189 MB / 0.4965 GB, free: 6.828 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00022/0.6542, allocations: 48 kB / 0.4966 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.6542, allocations: 0 / 0.4966 GB, free: 6.781 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.6543, allocations: 31.94 kB / 0.4966 GB, free: 6.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000419/0.6548, allocations: 27.92 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.0007969/0.6556, allocations: 250.5 kB / 0.4969 GB, free: 6.426 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.6559, allocations: 0.7161 MB / 0.4976 GB, free: 5.684 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.785e-05/0.656, allocations: 35.42 kB / 0.4976 GB, free: 5.648 MB / 426.7 MB Notification: Performance of SimCode: time 8.71e-07/0.656, allocations: 0 / 0.4976 GB, free: 5.648 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_Test21CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test21CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test21Functions.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_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test21FMU.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_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test21CalcHelperMain.o] Error 1