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.Test16.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.Test16,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001081/0.001082, allocations: 12 kB / 314.5 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.383, allocations: 54.85 MB / 369.4 MB, free: 12.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1487/0.5318, allocations: 81.31 MB / 450.7 MB, free: 11.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.5322, allocations: 83.94 kB / 450.7 MB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.5422, allocations: 2.826 MB / 453.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5423, allocations: 0 / 453.6 MB, free: 8.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.5423, allocations: 4 kB / 453.6 MB, free: 8.312 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.0004726/0.5428, allocations: 367.5 kB / 453.9 MB, free: 7.906 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.5428, allocations: 12.02 kB / 453.9 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.844e-05/0.5429, allocations: 42.56 kB / 454 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.831e-05/0.543, allocations: 11.86 kB / 454 MB, free: 7.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001586/0.5431, allocations: 175 kB / 454.2 MB, free: 7.621 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.307e-05/0.5432, allocations: 7.938 kB / 454.2 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.043e-05/0.5432, allocations: 8 kB / 454.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002964/0.5435, allocations: 181.1 kB / 454.4 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.5435, allocations: 3.938 kB / 454.4 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.5436, allocations: 7.953 kB / 454.4 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.5436, allocations: 8 kB / 454.4 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.5437, allocations: 63.72 kB / 454.4 MB, free: 7.293 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.545, allocations: 1.705 MB / 456.2 MB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.666e-05/0.5451, allocations: 165.1 kB / 456.3 MB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.443e-05/0.5451, allocations: 75.28 kB / 456.4 MB, free: 5.234 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/0.5452, allocations: 113.8 kB / 456.5 MB, free: 5.113 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.335e-06/0.5452, allocations: 3.938 kB / 456.5 MB, free: 5.109 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 9.645e-05/0.5453, allocations: 39.06 kB / 456.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.5454, allocations: 130.7 kB / 456.7 MB, free: 4.926 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002367/0.5457, allocations: 169.3 kB / 456.8 MB, free: 4.754 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.321e-05/0.5457, allocations: 25.7 kB / 456.9 MB, free: 4.723 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001432/0.5458, allocations: 217.6 kB / 457.1 MB, free: 4.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.5459, allocations: 0 / 457.1 MB, free: 4.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.597e-05/0.5459, allocations: 8 kB / 457.1 MB, free: 4.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001324/0.546, allocations: 318.8 kB / 457.4 MB, free: 4.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.936e-05/0.5461, allocations: 35.97 kB / 457.4 MB, free: 4.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.5463, allocations: 153.6 kB / 457.6 MB, free: 3.934 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.5465, allocations: 63.92 kB / 457.6 MB, free: 3.871 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5465, allocations: 0 / 457.6 MB, free: 3.871 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004935/0.547, allocations: 197.1 kB / 457.8 MB, free: 3.672 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.547, allocations: 12.56 kB / 457.8 MB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.547, allocations: 4 kB / 457.8 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/0.5471, allocations: 8 kB / 457.9 MB, free: 3.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002291/0.5473, allocations: 43.92 kB / 457.9 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.5474, allocations: 4 kB / 457.9 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000129/0.5475, allocations: 23.73 kB / 457.9 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.575e-05/0.5475, allocations: 16 kB / 457.9 MB, free: 3.562 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.0001652/0.5477, allocations: 209 kB / 458.1 MB, free: 3.348 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/0.5478, allocations: 116.8 kB / 458.3 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.062e-05/0.5479, allocations: 124.6 kB / 458.4 MB, free: 3.098 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.939e-05/0.548, allocations: 188.3 kB / 458.6 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-05/0.5481, allocations: 180.2 kB / 458.7 MB, free: 2.723 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.056e-05/0.5482, allocations: 180.2 kB / 458.9 MB, free: 2.539 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003038/0.5485, allocations: 417.2 kB / 459.3 MB, free: 2.074 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-05/0.5485, allocations: 108.9 kB / 459.4 MB, free: 1.961 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.356e-05/0.5486, allocations: 105 kB / 459.5 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.662e-05/0.5487, allocations: 192.2 kB / 459.7 MB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/0.5488, allocations: 176.3 kB / 459.9 MB, free: 1.477 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.279e-05/0.5488, allocations: 184.2 kB / 460.1 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.352e-05/0.5489, allocations: 176.3 kB / 460.2 MB, free: 1.109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.5491, allocations: 317 kB / 460.6 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.5492, allocations: 190 kB / 460.7 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.5493, allocations: 188.1 kB / 460.9 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.5495, allocations: 104.9 kB / 461 MB, free: 272 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.949e-05/0.5496, allocations: 184.3 kB / 461.2 MB, free: 80 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.34e-05/0.5497, allocations: 109 kB / 461.3 MB, free: 15.96 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000173/0.5498, allocations: 131.2 kB / 461.4 MB, free: 15.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5498, allocations: 0 / 461.4 MB, free: 15.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003779/0.5502, allocations: 12 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.0009776/0.5512, allocations: 0.9114 MB / 462.4 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.5515, allocations: 72.14 kB / 462.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.5515, allocations: 1.25 kB / 462.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-06/0.5515, allocations: 7.938 kB / 462.4 MB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.5519, allocations: 0.5301 MB / 463 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.5545, allocations: 3.668 MB / 466.6 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.555, allocations: 0.7009 MB / 467.3 MB, free: 9.773 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001047/0.5551, allocations: 27.42 kB / 467.4 MB, free: 9.746 MB / 394.7 MB Notification: Performance of SimCode: time 3.717e-06/0.5551, allocations: 0 / 467.4 MB, free: 9.746 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_Test16CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.cpp:374:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16Initialize.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_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16FMU.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_Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test16CalcHelperMain.o] Error 1