Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.697/2.697, allocations: 270 MB / 282.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.238e-05/4.259e-05, allocations: 4 kB / 347.1 MB, free: 3.121 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4482/0.4482, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1671/0.6154, allocations: 90.04 MB / 499 MB, free: 0.5039 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.6157, allocations: 71.97 kB / 499 MB, free: 444 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03262/0.6484, allocations: 7.106 MB / 0.4943 GB, free: 9.312 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.674e-06/0.6484, allocations: 0 / 0.4943 GB, free: 9.312 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.365e-05/0.6485, allocations: 8 kB / 0.4943 GB, free: 9.305 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008368/0.6493, allocations: 499.7 kB / 0.4948 GB, free: 8.766 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.6494, allocations: 12.03 kB / 0.4948 GB, free: 8.754 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.814e-05/0.6495, allocations: 42.55 kB / 0.4948 GB, free: 8.703 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.97e-05/0.6495, allocations: 19.72 kB / 0.4948 GB, free: 8.684 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006968/0.6503, allocations: 290.5 kB / 0.4951 GB, free: 8.359 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.6503, allocations: 4 kB / 0.4951 GB, free: 8.355 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.628e-05/0.6504, allocations: 7.953 kB / 0.4951 GB, free: 8.348 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.6507, allocations: 100.2 kB / 0.4952 GB, free: 8.234 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.151e-05/0.6507, allocations: 4 kB / 0.4952 GB, free: 8.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.6507, allocations: 0 / 0.4952 GB, free: 8.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.6508, allocations: 7.938 kB / 0.4952 GB, free: 8.223 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.6509, allocations: 39.92 kB / 0.4953 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008486/0.6518, allocations: 389.6 kB / 0.4956 GB, free: 7.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.6521, allocations: 113.4 kB / 0.4957 GB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.6523, allocations: 45.8 kB / 0.4958 GB, free: 7.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.6523, allocations: 3.984 kB / 0.4958 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.6526, allocations: 113 kB / 0.4959 GB, free: 7.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 2.805e-06/0.6526, allocations: 4 kB / 0.4959 GB, free: 7.434 MB / 426.7 MB Notification: Performance of matching and sorting (n=11): time 0.0005297/0.6532, allocations: 141.4 kB / 0.496 GB, free: 7.289 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.053e-05/0.6533, allocations: 102.8 kB / 0.4961 GB, free: 7.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000616/0.6539, allocations: 311.3 kB / 0.4964 GB, free: 6.855 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.6539, allocations: 25.7 kB / 0.4965 GB, free: 6.824 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.6541, allocations: 182.6 kB / 0.4966 GB, free: 6.645 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.6541, allocations: 35.72 kB / 0.4967 GB, free: 6.609 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.729e-06/0.6542, allocations: 7.938 kB / 0.4967 GB, free: 6.602 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.6543, allocations: 322.8 kB / 0.497 GB, free: 6.277 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.6545, allocations: 28 kB / 0.497 GB, free: 6.25 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.6546, allocations: 74.69 kB / 0.4971 GB, free: 6.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000122/0.6548, allocations: 36.02 kB / 0.4971 GB, free: 6.125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6548, allocations: 0 / 0.4971 GB, free: 6.125 MB / 426.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000348/0.6551, allocations: 133.6 kB / 0.4972 GB, free: 5.988 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.6552, allocations: 4 kB / 0.4972 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.6552, allocations: 4 kB / 0.4972 GB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6552, allocations: 0 / 0.4972 GB, free: 5.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002221/0.6554, allocations: 27.92 kB / 0.4973 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.6555, allocations: 0 / 0.4973 GB, free: 5.953 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002024/0.6557, allocations: 15.97 kB / 0.4973 GB, free: 5.938 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.6557, allocations: 11.94 kB / 0.4973 GB, free: 5.926 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: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001239/0.6558, allocations: 124.8 kB / 0.4974 GB, free: 5.797 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.637e-05/0.6559, allocations: 23.72 kB / 0.4974 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004779/0.6564, allocations: 163.4 kB / 0.4976 GB, free: 5.605 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.887e-06/0.6564, allocations: 11.92 kB / 0.4976 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6564, allocations: 0 / 0.4976 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.6565, allocations: 0 / 0.4976 GB, free: 5.594 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003358/0.6568, allocations: 269.5 kB / 0.4979 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.6568, allocations: 0 / 0.4979 GB, free: 5.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.735e-05/0.6569, allocations: 15.94 kB / 0.4979 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.6569, allocations: 0 / 0.4979 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.657, allocations: 4 kB / 0.4979 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.657, allocations: 0 / 0.4979 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.657, allocations: 3.984 kB / 0.4979 GB, free: 5.258 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004091/0.6574, allocations: 203.3 kB / 0.4981 GB, free: 5.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.6575, allocations: 112.8 kB / 0.4982 GB, free: 4.902 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.974e-05/0.6576, allocations: 4.188 kB / 0.4982 GB, free: 4.898 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.6578, allocations: 15.98 kB / 0.4982 GB, free: 4.883 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.067e-05/0.6579, allocations: 11.98 kB / 0.4982 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.6579, allocations: 4 kB / 0.4982 GB, free: 4.867 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004198/0.6583, allocations: 243.1 kB / 0.4985 GB, free: 4.629 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6583, allocations: 3.938 kB / 0.4985 GB, free: 4.625 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000404/0.6587, allocations: 55.92 kB / 0.4985 GB, free: 4.57 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * 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.001864/0.6606, allocations: 1.123 MB / 0.4996 GB, free: 3.551 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000334/0.661, allocations: 87.97 kB / 0.4997 GB, free: 3.465 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.661, allocations: 0 / 0.4997 GB, free: 3.465 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.6611, allocations: 47.94 kB / 0.4997 GB, free: 3.418 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.6617, allocations: 60.42 kB / 0.4998 GB, free: 3.359 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.6628, allocations: 411.4 kB / 0.5002 GB, free: 2.914 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.6632, allocations: 0.7443 MB / 0.5009 GB, free: 2.145 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.6634, allocations: 71.41 kB / 0.501 GB, free: 2.074 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.6634, allocations: 4 kB / 0.501 GB, free: 2.07 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_Test83CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test83CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test83CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test83Functions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp17.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_Test83CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test83FMU.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_Test83CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTimeTable_Test83CalcHelperMain.o] Error 1