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.454/2.454, allocations: 235 MB / 248 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.359e-05, allocations: 4 kB / 309.8 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.3926, allocations: 54.85 MB / 364.6 MB, free: 5.402 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.5559, allocations: 81.22 MB / 445.8 MB, free: 15.19 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002915/0.5562, allocations: 75.95 kB / 445.9 MB, free: 15.11 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009986/0.5662, allocations: 2.659 MB / 448.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.5663, allocations: 0 / 448.6 MB, free: 12.46 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.5663, allocations: 0 / 448.6 MB, free: 12.46 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.0004461/0.5668, allocations: 354.8 kB / 448.9 MB, free: 12.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.723e-05/0.5668, allocations: 12.03 kB / 448.9 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.044e-05/0.5669, allocations: 42.55 kB / 449 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.567, allocations: 7.859 kB / 449 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002128/0.5672, allocations: 172 kB / 449.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.5672, allocations: 4 kB / 449.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.5672, allocations: 8 kB / 449.2 MB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003296/0.5676, allocations: 191.2 kB / 449.4 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5676, allocations: 4 kB / 449.4 MB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.5676, allocations: 7.953 kB / 449.4 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/0.5677, allocations: 15.56 kB / 449.4 MB, free: 11.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.5678, allocations: 55.8 kB / 449.4 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001378/0.5692, allocations: 1.698 MB / 451.1 MB, free: 9.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/0.5694, allocations: 176.4 kB / 451.3 MB, free: 9.473 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.5694, allocations: 83.31 kB / 451.4 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.319e-05/0.5695, allocations: 79.22 kB / 451.5 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.361e-05/0.5696, allocations: 109.8 kB / 451.6 MB, free: 9.195 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.815e-06/0.5696, allocations: 0 / 451.6 MB, free: 9.195 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0001079/0.5697, allocations: 41.5 kB / 451.6 MB, free: 9.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.98e-05/0.5698, allocations: 134.7 kB / 451.7 MB, free: 9.004 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002681/0.5701, allocations: 169.2 kB / 451.9 MB, free: 8.832 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.5701, allocations: 25.7 kB / 451.9 MB, free: 8.801 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001532/0.5703, allocations: 217.6 kB / 452.1 MB, free: 8.586 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.237e-06/0.5703, allocations: 4 kB / 452.2 MB, free: 8.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.5703, allocations: 0 / 452.2 MB, free: 8.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.5705, allocations: 322.8 kB / 452.5 MB, free: 8.258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.483e-05/0.5706, allocations: 35.98 kB / 452.5 MB, free: 8.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001985/0.5708, allocations: 153.1 kB / 452.7 MB, free: 8.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.571, allocations: 63.91 kB / 452.7 MB, free: 7.949 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.274e-06/0.571, allocations: 3.953 kB / 452.7 MB, free: 7.945 MB / 378.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004949/0.5715, allocations: 193.2 kB / 452.9 MB, free: 7.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.838e-05/0.5715, allocations: 8.625 kB / 452.9 MB, free: 7.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5716, allocations: 8 kB / 452.9 MB, free: 7.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.5716, allocations: 8 kB / 452.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.5718, allocations: 35.92 kB / 453 MB, free: 7.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/0.5719, allocations: 11.94 kB / 453 MB, free: 7.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000145/0.572, allocations: 19.84 kB / 453 MB, free: 7.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.97e-05/0.572, allocations: 8 kB / 453 MB, free: 7.652 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 () * 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.0001273/0.5722, allocations: 195.2 kB / 453.2 MB, free: 7.457 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.531e-05/0.5723, allocations: 120.8 kB / 453.3 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.039e-05/0.5724, allocations: 116.6 kB / 453.4 MB, free: 7.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-05/0.5725, allocations: 180.3 kB / 453.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.91e-05/0.5726, allocations: 180.2 kB / 453.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.237e-05/0.5727, allocations: 188.1 kB / 454 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.573, allocations: 421.2 kB / 454.4 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.375e-05/0.573, allocations: 108.9 kB / 454.5 MB, free: 6.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/0.5731, allocations: 104.9 kB / 454.6 MB, free: 5.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.529e-05/0.5732, allocations: 184.2 kB / 454.8 MB, free: 5.77 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.136e-05/0.5733, allocations: 176.3 kB / 454.9 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-05/0.5734, allocations: 176.3 kB / 455.1 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.262e-05/0.5735, allocations: 184.2 kB / 455.3 MB, free: 5.223 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001873/0.5737, allocations: 323.6 kB / 455.6 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.5738, allocations: 186 kB / 455.8 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.5739, allocations: 188.2 kB / 456 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.574, allocations: 104.9 kB / 456.1 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.5741, allocations: 184.3 kB / 456.3 MB, free: 4.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-05/0.5742, allocations: 105.8 kB / 456.4 MB, free: 4.078 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001822/0.5744, allocations: 132.1 kB / 456.5 MB, free: 3.949 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5744, allocations: 0 / 456.5 MB, free: 3.949 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.5748, allocations: 16 kB / 456.5 MB, free: 3.934 MB / 378.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 () * 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.0009571/0.5758, allocations: 0.8955 MB / 457.4 MB, free: 3.055 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002368/0.576, allocations: 68.98 kB / 457.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.576, allocations: 0 / 457.5 MB, free: 2.988 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.5761, allocations: 4 kB / 457.5 MB, free: 2.984 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003752/0.5764, allocations: 0.5302 MB / 458 MB, free: 2.449 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006975/0.5772, allocations: 276.6 kB / 458.3 MB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003615/0.5775, allocations: 0.7009 MB / 459 MB, free: 1.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.078e-05/0.5776, allocations: 27.42 kB / 459 MB, free: 1.379 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.5777, allocations: 4 kB / 459 MB, free: 1.375 MB / 378.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:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15InitializeParameter.cpp:28:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v4.mat", tmp8); ~~~~~~~~~~ ^ 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:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:97:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test_v4.mat", tmp4); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:378:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp6); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable2D_Test15.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ 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 7 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