Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.359/2.359, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.364e-05/4.378e-05, allocations: 8 kB / 309.8 MB, free: 1.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4128/0.4128, allocations: 54.85 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1556/0.5685, allocations: 81.13 MB / 445.8 MB, free: 15.38 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.5688, allocations: 75.95 kB / 445.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0143/0.5832, allocations: 3.315 MB / 449.2 MB, free: 12.01 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.5832, allocations: 0 / 449.2 MB, free: 12.01 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.631e-05/0.5832, allocations: 4.75 kB / 449.2 MB, free: 12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005247/0.5838, allocations: 396.6 kB / 449.5 MB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/0.5838, allocations: 8.031 kB / 449.5 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.991e-05/0.5839, allocations: 34.55 kB / 449.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.5839, allocations: 11.86 kB / 449.6 MB, free: 11.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.5842, allocations: 184.5 kB / 449.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.5843, allocations: 3.25 kB / 449.8 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.999e-05/0.5843, allocations: 8 kB / 449.8 MB, free: 11.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/0.5845, allocations: 55.34 kB / 449.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.256e-05/0.5845, allocations: 0 / 449.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.5845, allocations: 0 / 449.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.5845, allocations: 7.953 kB / 449.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.612e-05/0.5846, allocations: 12 kB / 449.9 MB, free: 11.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.5851, allocations: 269 kB / 450.1 MB, free: 10.88 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002548/0.5853, allocations: 46.5 kB / 450.2 MB, free: 10.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.278e-05/0.5854, allocations: 8.859 kB / 450.2 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/0.5854, allocations: 0 / 450.2 MB, free: 10.81 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5855, allocations: 38.52 kB / 450.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.5855, allocations: 4 kB / 450.2 MB, free: 10.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005426/0.586, allocations: 113.4 kB / 450.3 MB, free: 10.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.986e-05/0.5861, allocations: 77.77 kB / 450.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001534/0.5863, allocations: 109.6 kB / 450.5 MB, free: 10.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.5863, allocations: 25.7 kB / 450.5 MB, free: 10.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.6e-05/0.5864, allocations: 162.5 kB / 450.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.5865, allocations: 15.66 kB / 450.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.336e-06/0.5865, allocations: 8 kB / 450.7 MB, free: 10.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001419/0.5866, allocations: 310.8 kB / 451 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.21e-05/0.5867, allocations: 12.75 kB / 451 MB, free: 9.898 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.163e-05/0.5868, allocations: 33.64 kB / 451.1 MB, free: 9.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.538e-05/0.5869, allocations: 41.7 kB / 451.1 MB, free: 9.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5869, allocations: 0 / 451.1 MB, free: 9.812 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002281/0.5872, allocations: 95.33 kB / 451.2 MB, free: 9.707 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.794e-05/0.5872, allocations: 33.66 kB / 451.2 MB, free: 9.668 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5872, allocations: 8.031 kB / 451.2 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5873, allocations: 0 / 451.2 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.5874, allocations: 17.2 kB / 451.3 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5875, allocations: 0.875 kB / 451.3 MB, free: 9.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.5876, allocations: 4 kB / 451.3 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.5876, allocations: 4 kB / 451.3 MB, free: 9.637 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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 9.599e-05/0.5877, allocations: 109 kB / 451.4 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.082e-05/0.5877, allocations: 8 kB / 451.4 MB, free: 9.516 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.588, allocations: 77.58 kB / 451.5 MB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.588, allocations: 4.312 kB / 451.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.588, allocations: 0 / 451.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.588, allocations: 0 / 451.5 MB, free: 9.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004907/0.5885, allocations: 322.6 kB / 451.8 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5886, allocations: 0 / 451.8 MB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/0.5887, allocations: 19.94 kB / 451.8 MB, free: 9.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.5887, allocations: 8.594 kB / 451.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.5887, allocations: 0 / 451.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5887, allocations: 0 / 451.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5888, allocations: 0 / 451.8 MB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.589, allocations: 155.5 kB / 452 MB, free: 8.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.5891, allocations: 81.16 kB / 452 MB, free: 8.758 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/0.5891, allocations: 7.953 kB / 452 MB, free: 8.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.5892, allocations: 15.92 kB / 452.1 MB, free: 8.734 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.483e-05/0.5893, allocations: 11.98 kB / 452.1 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.5893, allocations: 0 / 452.1 MB, free: 8.723 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.5895, allocations: 96.91 kB / 452.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5895, allocations: 0 / 452.2 MB, free: 8.629 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.5898, allocations: 27.94 kB / 452.2 MB, free: 8.602 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 (5): * Single equations (assignments): 5 * 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.001531/0.5914, allocations: 0.9503 MB / 453.1 MB, free: 7.711 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002401/0.5917, allocations: 95.33 kB / 453.2 MB, free: 7.605 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5917, allocations: 4 kB / 453.2 MB, free: 7.602 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.591e-05/0.5918, allocations: 16 kB / 453.3 MB, free: 7.586 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002625/0.592, allocations: 7.953 kB / 453.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006399/0.5927, allocations: 176.2 kB / 453.4 MB, free: 7.359 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.5931, allocations: 0.6887 MB / 454.1 MB, free: 6.645 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001002/0.5932, allocations: 23.42 kB / 454.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of SimCode: time 8.81e-07/0.5932, allocations: 0 / 454.1 MB, free: 6.621 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_CombiTable1Ds_Test19CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19InitializeParameter.cpp:36: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", tmp22); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.cpp:96: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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.cpp:262:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp16); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19FMU.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_CombiTable1Ds_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.o] Error 1