Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test72,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 270 MB / 282.6 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.763e-05/3.773e-05, allocations: 4 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4641/0.4642, allocations: 61.87 MB / 408.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2235/0.6877, allocations: 89.11 MB / 498 MB, free: 1.586 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/0.6881, allocations: 79.95 kB / 498.1 MB, free: 1.508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02901/0.7171, allocations: 6.641 MB / 0.4929 GB, free: 10.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7172, allocations: 0 / 0.4929 GB, free: 10.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.684e-05/0.7172, allocations: 12 kB / 0.4929 GB, free: 10.85 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001019/0.7183, allocations: 0.5948 MB / 0.4935 GB, free: 10.21 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.309e-05/0.7183, allocations: 16.02 kB / 0.4935 GB, free: 10.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.578e-05/0.7184, allocations: 34.56 kB / 0.4936 GB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001426/0.7186, allocations: 51.34 kB / 0.4936 GB, free: 10.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001246/0.7198, allocations: 483 kB / 0.4941 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.82e-05/0.7199, allocations: 0 / 0.4941 GB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.7199, allocations: 8 kB / 0.4941 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.7202, allocations: 83.31 kB / 0.4942 GB, free: 9.488 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.7202, allocations: 4 kB / 0.4942 GB, free: 9.484 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.7202, allocations: 7.984 kB / 0.4942 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.7202, allocations: 0 / 0.4942 GB, free: 9.477 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.7204, allocations: 27.98 kB / 0.4942 GB, free: 9.449 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006267/0.721, allocations: 382.3 kB / 0.4946 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002743/0.7213, allocations: 113.2 kB / 0.4947 GB, free: 8.895 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.7214, allocations: 37.8 kB / 0.4947 GB, free: 8.852 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.7215, allocations: 4 kB / 0.4947 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002515/0.7217, allocations: 101 kB / 0.4948 GB, free: 8.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=10): time 2.074e-06/0.7217, allocations: 0 / 0.4948 GB, free: 8.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005281/0.7223, allocations: 169 kB / 0.495 GB, free: 8.559 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.7224, allocations: 81.11 kB / 0.4951 GB, free: 8.461 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.7245, allocations: 0.9305 MB / 0.496 GB, free: 7.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.7246, allocations: 29.7 kB / 0.496 GB, free: 7.484 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.7248, allocations: 242.6 kB / 0.4962 GB, free: 7.246 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.7249, allocations: 35.64 kB / 0.4963 GB, free: 7.211 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-06/0.7249, allocations: 3.938 kB / 0.4963 GB, free: 7.207 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.7251, allocations: 314.8 kB / 0.4966 GB, free: 6.891 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.331e-05/0.7252, allocations: 31.98 kB / 0.4966 GB, free: 6.859 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.7253, allocations: 55.44 kB / 0.4966 GB, free: 6.793 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001135/0.7254, allocations: 32.11 kB / 0.4967 GB, free: 6.762 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.7254, allocations: 0 / 0.4967 GB, free: 6.762 MB / 426.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000336/0.7258, allocations: 121.5 kB / 0.4968 GB, free: 6.637 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.7258, allocations: 12.06 kB / 0.4968 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.7258, allocations: 0 / 0.4968 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.7259, allocations: 0 / 0.4968 GB, free: 6.625 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.7261, allocations: 39.8 kB / 0.4968 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7261, allocations: 0 / 0.4968 GB, free: 6.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.7264, allocations: 8 kB / 0.4968 GB, free: 6.578 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.7264, allocations: 4 kB / 0.4969 GB, free: 6.574 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEventScaled,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001146/0.7265, allocations: 112.2 kB / 0.497 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.7267, allocations: 67.28 kB / 0.497 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005408/0.7272, allocations: 189.6 kB / 0.4972 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.7272, allocations: 0 / 0.4972 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.7273, allocations: 0 / 0.4972 GB, free: 6.199 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.7273, allocations: 7.984 kB / 0.4972 GB, free: 6.191 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005681/0.7279, allocations: 389.2 kB / 0.4976 GB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.7279, allocations: 4 kB / 0.4976 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.26e-05/0.728, allocations: 8 kB / 0.4976 GB, free: 5.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.728, allocations: 3.953 kB / 0.4976 GB, free: 5.746 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.728, allocations: 8 kB / 0.4976 GB, free: 5.738 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.7281, allocations: 8.188 kB / 0.4976 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.7281, allocations: 0 / 0.4976 GB, free: 5.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005325/0.7286, allocations: 219 kB / 0.4978 GB, free: 5.488 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003961/0.729, allocations: 200.4 kB / 0.498 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.591e-05/0.7291, allocations: 4 kB / 0.498 GB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.7293, allocations: 12 kB / 0.498 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.7294, allocations: 7.984 kB / 0.498 GB, free: 5.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-05/0.7294, allocations: 4 kB / 0.498 GB, free: 5.246 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001504/0.7309, allocations: 0.7474 MB / 0.4988 GB, free: 4.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.731, allocations: 0 / 0.4988 GB, free: 4.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000507/0.7315, allocations: 76 kB / 0.4988 GB, free: 4.426 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002011/0.7335, allocations: 1.137 MB / 0.5 GB, free: 3.379 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003005/0.7338, allocations: 75.92 kB / 0.5 GB, free: 3.305 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7339, allocations: 0 / 0.5 GB, free: 3.305 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.734, allocations: 43.94 kB / 0.5001 GB, free: 3.262 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006293/0.7346, allocations: 72.55 kB / 0.5001 GB, free: 3.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.737, allocations: 0.9427 MB / 0.5011 GB, free: 2.203 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006205/0.7377, allocations: 0.8546 MB / 0.5019 GB, free: 1.324 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003877/0.7381, allocations: 163.4 kB / 0.502 GB, free: 1.164 MB / 426.7 MB Notification: Performance of SimCode: time 3.406e-06/0.7381, allocations: 0 / 0.502 GB, free: 1.164 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_Test72CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test72CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test72CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test72Functions.cpp:202:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp8.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_Test72CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test72FMU.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_Test72CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test72CalcHelperMain.o] Error 1