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.Test18.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test18,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.788e-05/1.795e-05, allocations: 0 / 303.3 MB, free: 13.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3646/0.3647, allocations: 54.86 MB / 358.1 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2033/0.5681, allocations: 80.57 MB / 438.7 MB, free: 14.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/0.5684, allocations: 75.89 kB / 438.8 MB, free: 14.07 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.5837, allocations: 3.509 MB / 442.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.5838, allocations: 0 / 442.3 MB, free: 10.56 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.5838, allocations: 0 / 442.3 MB, free: 10.56 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005461/0.5844, allocations: 398.2 kB / 442.7 MB, free: 10.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.5844, allocations: 8.031 kB / 442.7 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.107e-05/0.5845, allocations: 15.86 kB / 442.7 MB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.5848, allocations: 194.8 kB / 442.9 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.5848, allocations: 4 kB / 442.9 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.833e-05/0.5848, allocations: 0 / 442.9 MB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001184/0.585, allocations: 24 kB / 442.9 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001985/0.5852, allocations: 76.19 kB / 443 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.5852, allocations: 0 / 443 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.5852, allocations: 0 / 443 MB, free: 9.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-06/0.5853, allocations: 15.89 kB / 443 MB, free: 9.734 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.5858, allocations: 357.6 kB / 443.4 MB, free: 9.344 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003427/0.5862, allocations: 81.08 kB / 443.4 MB, free: 9.246 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.479e-05/0.5863, allocations: 29.89 kB / 443.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.5863, allocations: 0 / 443.5 MB, free: 9.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.744e-05/0.5864, allocations: 30.56 kB / 443.5 MB, free: 9.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.5864, allocations: 3.938 kB / 443.5 MB, free: 9.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0007459/0.5871, allocations: 177.4 kB / 443.7 MB, free: 8.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.713e-05/0.5872, allocations: 106.8 kB / 443.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001544/0.5874, allocations: 113 kB / 443.9 MB, free: 8.742 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.5874, allocations: 25.7 kB / 443.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.521e-05/0.5876, allocations: 162.5 kB / 444.1 MB, free: 8.551 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.554e-05/0.5876, allocations: 31.55 kB / 444.1 MB, free: 8.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.885e-06/0.5876, allocations: 0 / 444.1 MB, free: 8.52 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5878, allocations: 310.8 kB / 444.4 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.041e-05/0.5879, allocations: 31.98 kB / 444.4 MB, free: 8.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.387e-05/0.588, allocations: 37.72 kB / 444.5 MB, free: 8.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.842e-05/0.5881, allocations: 35.97 kB / 444.5 MB, free: 8.098 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5881, allocations: 0 / 444.5 MB, free: 8.098 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000282/0.5884, allocations: 109.4 kB / 444.6 MB, free: 7.984 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.542e-05/0.5885, allocations: 29.7 kB / 444.6 MB, free: 7.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.5885, allocations: 3.953 kB / 444.6 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.5885, allocations: 0 / 444.6 MB, free: 7.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.5887, allocations: 23.98 kB / 444.7 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.5887, allocations: 4.031 kB / 444.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001002/0.5888, allocations: 8 kB / 444.7 MB, free: 7.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.5889, allocations: 3.984 kB / 444.7 MB, free: 7.906 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 (11): * Single equations (assignments): 10 * 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.0001168/0.589, allocations: 113 kB / 444.8 MB, free: 7.789 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003054/0.5893, allocations: 97.66 kB / 444.9 MB, free: 7.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.152e-05/0.5894, allocations: 15.84 kB / 444.9 MB, free: 7.672 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003518/0.5898, allocations: 121.9 kB / 445 MB, free: 7.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.5898, allocations: 4 kB / 445 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.5898, allocations: 0 / 445 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.932e-06/0.5898, allocations: 0 / 445 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008067/0.5906, allocations: 455.1 kB / 445.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.5907, allocations: 0 / 445.5 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.5909, allocations: 27.92 kB / 445.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.814e-06/0.5909, allocations: 4.031 kB / 445.5 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/0.5909, allocations: 4 kB / 445.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.5909, allocations: 0 / 445.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.5909, allocations: 0 / 445.5 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003609/0.5913, allocations: 306.8 kB / 445.8 MB, free: 6.684 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.36e-05/0.5914, allocations: 96.94 kB / 445.9 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.718e-05/0.5914, allocations: 0 / 445.9 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.5916, allocations: 4 kB / 445.9 MB, free: 6.566 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.829e-05/0.5917, allocations: 7.984 kB / 445.9 MB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.5917, allocations: 4 kB / 445.9 MB, free: 6.555 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.5918, allocations: 104 kB / 446 MB, free: 6.453 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5918, allocations: 0 / 446 MB, free: 6.453 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004423/0.5923, allocations: 32 kB / 446.1 MB, free: 6.422 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001724/0.594, allocations: 1.194 MB / 447.2 MB, free: 5.238 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000303/0.5944, allocations: 123.4 kB / 447.4 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.5944, allocations: 0 / 447.4 MB, free: 5.105 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.896e-05/0.5945, allocations: 35.94 kB / 447.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003462/0.5949, allocations: 15.92 kB / 447.4 MB, free: 5.055 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008112/0.5957, allocations: 233 kB / 447.6 MB, free: 4.777 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.5961, allocations: 0.7002 MB / 448.3 MB, free: 4.051 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001217/0.5962, allocations: 31.42 kB / 448.4 MB, free: 4.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5962, allocations: 0 / 448.4 MB, free: 4.02 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=7 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:36:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18InitializeParameter.cpp:37:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test.txt", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test.txt", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:315:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18Initialize.cpp:316:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18.cpp:765:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18FMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1D_Test18CalcHelperMain.o] Error 1