Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable2D.Test15.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.414/2.414, allocations: 234.9 MB / 250.5 MB, free: 9.668 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004419/0.0004419, allocations: 16 kB / 314.5 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3674/0.3679, allocations: 54.85 MB / 369.4 MB, free: 12.67 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1517/0.5196, allocations: 81.31 MB / 450.7 MB, free: 11.24 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.52, allocations: 75.97 kB / 450.7 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01009/0.5301, allocations: 2.834 MB / 453.6 MB, free: 8.305 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5301, allocations: 0 / 453.6 MB, free: 8.305 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.687e-06/0.5302, allocations: 0 / 453.6 MB, free: 8.305 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004223/0.5306, allocations: 369.3 kB / 453.9 MB, free: 7.898 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.5307, allocations: 8.031 kB / 453.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.946e-05/0.5307, allocations: 42.55 kB / 454 MB, free: 7.84 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.914e-05/0.5308, allocations: 15.86 kB / 454 MB, free: 7.824 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.5309, allocations: 171 kB / 454.2 MB, free: 7.617 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.531, allocations: 8 kB / 454.2 MB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.531, allocations: 11.94 kB / 454.2 MB, free: 7.598 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.5313, allocations: 179.3 kB / 454.4 MB, free: 7.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.5313, allocations: 3.938 kB / 454.4 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.5313, allocations: 7.953 kB / 454.4 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.493e-05/0.5314, allocations: 11.98 kB / 454.4 MB, free: 7.344 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.5315, allocations: 55.8 kB / 454.4 MB, free: 7.289 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/0.5328, allocations: 1.708 MB / 456.1 MB, free: 5.473 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.73e-05/0.5329, allocations: 169.1 kB / 456.3 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.764e-05/0.533, allocations: 79.27 kB / 456.4 MB, free: 5.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/0.533, allocations: 105.8 kB / 456.5 MB, free: 5.105 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 4.158e-06/0.533, allocations: 4 kB / 456.5 MB, free: 5.102 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001024/0.5331, allocations: 47 kB / 456.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.5332, allocations: 126.7 kB / 456.7 MB, free: 4.914 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.5335, allocations: 169.3 kB / 456.8 MB, free: 4.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.5335, allocations: 25.7 kB / 456.9 MB, free: 4.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.5336, allocations: 213.6 kB / 457.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.5337, allocations: 4 kB / 457.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.5337, allocations: 0 / 457.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.5338, allocations: 330.8 kB / 457.4 MB, free: 4.164 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.297e-05/0.5339, allocations: 27.98 kB / 457.4 MB, free: 4.137 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001759/0.5341, allocations: 153.6 kB / 457.6 MB, free: 3.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001496/0.5342, allocations: 71.91 kB / 457.6 MB, free: 3.855 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.5343, allocations: 0 / 457.6 MB, free: 3.855 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004506/0.5347, allocations: 193.1 kB / 457.8 MB, free: 3.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.5348, allocations: 4 kB / 457.8 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.5348, allocations: 11.94 kB / 457.8 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.5348, allocations: 4.625 kB / 457.9 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002285/0.535, allocations: 43.91 kB / 457.9 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.43e-05/0.5351, allocations: 8 kB / 457.9 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.5352, allocations: 23.75 kB / 457.9 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.5352, allocations: 8 kB / 457.9 MB, free: 3.559 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001683/0.5354, allocations: 217 kB / 458.1 MB, free: 3.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.857e-05/0.5355, allocations: 116.8 kB / 458.3 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.562e-05/0.5356, allocations: 120.6 kB / 458.4 MB, free: 3.09 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.96e-05/0.5357, allocations: 184.3 kB / 458.6 MB, free: 2.902 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-05/0.5358, allocations: 184.2 kB / 458.7 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-05/0.5359, allocations: 180.3 kB / 458.9 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002902/0.5362, allocations: 421.2 kB / 459.3 MB, free: 2.062 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.177e-05/0.5362, allocations: 104.9 kB / 459.4 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-05/0.5363, allocations: 105 kB / 459.5 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.306e-05/0.5363, allocations: 184.2 kB / 459.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.229e-05/0.5364, allocations: 180.3 kB / 459.9 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.975e-05/0.5365, allocations: 180.2 kB / 460.1 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.876e-05/0.5366, allocations: 184.2 kB / 460.2 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001745/0.5368, allocations: 313 kB / 460.5 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001479/0.537, allocations: 194 kB / 460.7 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001291/0.5371, allocations: 188.2 kB / 460.9 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001582/0.5373, allocations: 101 kB / 461 MB, free: 268 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.884e-05/0.5374, allocations: 180.2 kB / 461.2 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.045e-05/0.5375, allocations: 116.9 kB / 461.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001767/0.5376, allocations: 127.2 kB / 461.4 MB, free: 15.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5377, allocations: 0 / 461.4 MB, free: 15.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004091/0.5381, allocations: 16 kB / 461.4 MB, free: 15.82 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.000912/0.539, allocations: 0.9167 MB / 462.4 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0002297/0.5393, allocations: 72.14 kB / 462.4 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5393, allocations: 0 / 462.4 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.039e-06/0.5393, allocations: 5.188 kB / 462.4 MB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.5397, allocations: 0.5302 MB / 463 MB, free: 14.31 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002679/0.5424, allocations: 3.664 MB / 466.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.5428, allocations: 0.7009 MB / 467.3 MB, free: 9.77 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000108/0.5429, allocations: 27.42 kB / 467.4 MB, free: 9.742 MB / 394.7 MB Notification: Performance of SimCode: time 4.579e-06/0.5429, allocations: 0 / 467.4 MB, free: 9.742 MB / 394.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"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:374:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:375:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp4); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15FMU.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 2 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o] Error 1