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.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006405/0.0006405, allocations: 20 kB / 314.5 MB, free: 9.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/0.352, allocations: 54.85 MB / 369.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.5025, allocations: 81.27 MB / 450.6 MB, free: 9.238 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004268/0.503, allocations: 79.95 kB / 450.7 MB, free: 9.16 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02167/0.5247, allocations: 3.775 MB / 454.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.596e-06/0.5248, allocations: 0 / 454.5 MB, free: 5.375 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.5248, allocations: 4 kB / 454.5 MB, free: 5.371 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000727/0.5256, allocations: 408.9 kB / 454.9 MB, free: 4.918 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.913e-05/0.5257, allocations: 16.03 kB / 454.9 MB, free: 4.902 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.83e-05/0.5257, allocations: 30.56 kB / 454.9 MB, free: 4.863 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.97e-05/0.5258, allocations: 11.86 kB / 454.9 MB, free: 4.852 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003321/0.5262, allocations: 190.8 kB / 455.1 MB, free: 4.625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.632e-05/0.5262, allocations: 8 kB / 455.1 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.5263, allocations: 0 / 455.1 MB, free: 4.617 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003093/0.5266, allocations: 71.39 kB / 455.2 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.5266, allocations: 7.984 kB / 455.2 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.041e-05/0.5267, allocations: 4 kB / 455.2 MB, free: 4.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.5267, allocations: 7.953 kB / 455.2 MB, free: 4.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.5269, allocations: 31.97 kB / 455.3 MB, free: 4.484 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006506/0.5276, allocations: 288.8 kB / 455.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002504/0.5279, allocations: 66.48 kB / 455.6 MB, free: 4.078 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.428e-05/0.528, allocations: 4 kB / 455.6 MB, free: 4.074 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.528, allocations: 34.52 kB / 455.6 MB, free: 4.031 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.927e-06/0.528, allocations: 0 / 455.6 MB, free: 4.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001334/0.5294, allocations: 197.3 kB / 455.8 MB, free: 3.832 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.5295, allocations: 81.09 kB / 455.9 MB, free: 3.734 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00021/0.5297, allocations: 120.9 kB / 456 MB, free: 3.609 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.674e-05/0.5298, allocations: 25.7 kB / 456.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.5299, allocations: 158.8 kB / 456.2 MB, free: 3.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.53, allocations: 35.48 kB / 456.2 MB, free: 3.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.53, allocations: 0 / 456.2 MB, free: 3.383 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.5302, allocations: 314.8 kB / 456.6 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.5304, allocations: 27.98 kB / 456.6 MB, free: 3.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.5307, allocations: 57.62 kB / 456.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.5309, allocations: 61.69 kB / 456.7 MB, free: 2.91 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.531, allocations: 0 / 456.7 MB, free: 2.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006473/0.5316, allocations: 147.3 kB / 456.8 MB, free: 2.754 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.92e-05/0.5317, allocations: 35.69 kB / 456.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.5317, allocations: 0 / 456.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.5318, allocations: 4 kB / 456.9 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.532, allocations: 19.98 kB / 456.9 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.5321, allocations: 0 / 456.9 MB, free: 2.691 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001347/0.5322, allocations: 4 kB / 456.9 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.5323, allocations: 4 kB / 456.9 MB, free: 2.684 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 (9): * Single equations (assignments): 8 * 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.0001837/0.5325, allocations: 125.8 kB / 457 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.627e-05/0.5326, allocations: 7.906 kB / 457 MB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006718/0.5333, allocations: 134.1 kB / 457.2 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-05/0.5333, allocations: 0 / 457.2 MB, free: 2.402 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.5333, allocations: 7.938 kB / 457.2 MB, free: 2.395 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.5334, allocations: 4 kB / 457.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/0.5345, allocations: 394.3 kB / 457.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.5345, allocations: 384 / 457.6 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.5347, allocations: 19.98 kB / 457.6 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.746e-06/0.5347, allocations: 4 kB / 457.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.5348, allocations: 4 kB / 457.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.5348, allocations: 0 / 457.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.387e-06/0.5348, allocations: 4 kB / 457.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000773/0.5356, allocations: 207.6 kB / 457.8 MB, free: 1.699 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.25e-05/0.5357, allocations: 85.06 kB / 457.9 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.5357, allocations: 3.984 kB / 457.9 MB, free: 1.594 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.5359, allocations: 15.94 kB / 457.9 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.79e-05/0.5359, allocations: 3.984 kB / 457.9 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.536, allocations: 4 kB / 457.9 MB, free: 1.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001474/0.5361, allocations: 99.27 kB / 458 MB, free: 1.473 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5361, allocations: 0 / 458 MB, free: 1.473 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004012/0.5365, allocations: 35.94 kB / 458 MB, free: 1.438 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 (8): * Single equations (assignments): 8 * 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.001769/0.5383, allocations: 1.025 MB / 459.1 MB, free: 472 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00044/0.5388, allocations: 135.3 kB / 459.2 MB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5388, allocations: 0 / 459.2 MB, free: 324 kB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.539, allocations: 39.92 kB / 459.2 MB, free: 284 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000263/0.5393, allocations: 15.97 kB / 459.3 MB, free: 268 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009912/0.5403, allocations: 448.8 kB / 459.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.5406, allocations: 0.6887 MB / 460.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.5407, allocations: 27.42 kB / 460.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5407, allocations: 0 / 460.4 MB, free: 15.02 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_CombiTable1Ds_Test18CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:36:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp26; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:37: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.txt", tmp26); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.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.txt", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:295:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:296: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_CombiTable1Ds_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.cpp:745:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18FMU.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_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o] Error 1