Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test19,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.603/2.603, allocations: 234.9 MB / 250.5 MB, free: 9.684 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006592/0.0006595, allocations: 12 kB / 314.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.4079, allocations: 54.86 MB / 369.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.5742, allocations: 81.22 MB / 450.6 MB, free: 11.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/0.5746, allocations: 75.8 kB / 450.7 MB, free: 11.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01462/0.5892, allocations: 3.523 MB / 454.2 MB, free: 7.832 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5893, allocations: 0 / 454.2 MB, free: 7.832 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.5893, allocations: 0 / 454.2 MB, free: 7.832 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.0005657/0.5899, allocations: 408.6 kB / 454.6 MB, free: 7.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.5899, allocations: 12.03 kB / 454.6 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.59, allocations: 42.55 kB / 454.6 MB, free: 7.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.242e-05/0.5901, allocations: 11.86 kB / 454.6 MB, free: 7.309 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.5903, allocations: 175.1 kB / 454.8 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.5903, allocations: 0 / 454.8 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.5904, allocations: 4 kB / 454.8 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000222/0.5906, allocations: 71.33 kB / 454.9 MB, free: 7.012 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.5906, allocations: 4 kB / 454.9 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.329e-05/0.5907, allocations: 0 / 454.9 MB, free: 7.008 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.5907, allocations: 7.938 kB / 454.9 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.5908, allocations: 23.98 kB / 454.9 MB, free: 6.977 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.5914, allocations: 288.8 kB / 455.2 MB, free: 6.645 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.5917, allocations: 54.5 kB / 455.3 MB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.5917, allocations: 4 kB / 455.3 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.5918, allocations: 30.56 kB / 455.3 MB, free: 6.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.543e-06/0.5918, allocations: 0 / 455.3 MB, free: 6.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009122/0.5927, allocations: 169.4 kB / 455.5 MB, free: 6.367 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/0.5928, allocations: 77.11 kB / 455.5 MB, free: 6.273 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.5929, allocations: 113 kB / 455.6 MB, free: 6.156 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.593, allocations: 25.7 kB / 455.7 MB, free: 6.125 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.162e-05/0.5931, allocations: 158.6 kB / 455.8 MB, free: 5.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.5931, allocations: 19.73 kB / 455.8 MB, free: 5.949 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-06/0.5931, allocations: 4 kB / 455.8 MB, free: 5.945 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5933, allocations: 310.8 kB / 456.1 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.5934, allocations: 27.98 kB / 456.2 MB, free: 5.605 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.5936, allocations: 45.69 kB / 456.2 MB, free: 5.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.5938, allocations: 57.69 kB / 456.3 MB, free: 5.492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5938, allocations: 7.875 kB / 456.3 MB, free: 5.484 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003801/0.5942, allocations: 127.3 kB / 456.4 MB, free: 5.348 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.5943, allocations: 33.7 kB / 456.4 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.5943, allocations: 3.953 kB / 456.4 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5943, allocations: 0 / 456.4 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.5944, allocations: 15.98 kB / 456.5 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.5945, allocations: 0 / 456.5 MB, free: 5.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.199e-05/0.5946, allocations: 4 kB / 456.5 MB, free: 5.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.5946, allocations: 4 kB / 456.5 MB, free: 5.281 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 () * Number of clocked 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 0.0001213/0.5947, allocations: 121.8 kB / 456.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.175e-05/0.5948, allocations: 7.906 kB / 456.6 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004047/0.5952, allocations: 105.9 kB / 456.7 MB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/0.5952, allocations: 7.953 kB / 456.7 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5952, allocations: 0 / 456.7 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.5952, allocations: 8 kB / 456.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006616/0.5959, allocations: 346.6 kB / 457 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5959, allocations: 0 / 457 MB, free: 4.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001169/0.5961, allocations: 15.98 kB / 457.1 MB, free: 4.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.683e-06/0.5961, allocations: 11.89 kB / 457.1 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.237e-05/0.5961, allocations: 4 kB / 457.1 MB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.5961, allocations: 4 kB / 457.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5961, allocations: 0 / 457.1 MB, free: 4.582 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.5965, allocations: 187.4 kB / 457.3 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.28e-05/0.5966, allocations: 85.02 kB / 457.4 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.951e-05/0.5966, allocations: 7.953 kB / 457.4 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.5968, allocations: 7.984 kB / 457.4 MB, free: 4.266 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.774e-05/0.5968, allocations: 4 kB / 457.4 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-06/0.5968, allocations: 0 / 457.4 MB, free: 4.262 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001066/0.597, allocations: 95.7 kB / 457.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.597, allocations: 0 / 457.5 MB, free: 4.168 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003704/0.5973, allocations: 31.92 kB / 457.5 MB, free: 4.137 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 () * Number of clocked 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.001791/0.5992, allocations: 1.017 MB / 458.5 MB, free: 3.176 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004135/0.5996, allocations: 119.4 kB / 458.6 MB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.5996, allocations: 0 / 458.6 MB, free: 3.047 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.5998, allocations: 31.92 kB / 458.7 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.6001, allocations: 19.88 kB / 458.7 MB, free: 2.996 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009073/0.601, allocations: 416.4 kB / 459.1 MB, free: 2.531 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003334/0.6013, allocations: 0.6926 MB / 459.8 MB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.617e-05/0.6014, allocations: 19.42 kB / 459.8 MB, free: 1.793 MB / 378.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6015, allocations: 3.938 kB / 459.8 MB, free: 1.789 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_CombiTable1D_Test19CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19InitializeParameter.cpp:35:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp22; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test19CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test19Initialize.cpp:261:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp16; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test19CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test19CalcHelperMain.o] Error 1