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.421/2.421, allocations: 234.9 MB / 250.5 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000435/0.0004349, allocations: 15.98 kB / 314.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3541, allocations: 54.87 MB / 369.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1726/0.5268, allocations: 81.23 MB / 450.6 MB, free: 9.391 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003568/0.5272, allocations: 75.97 kB / 450.7 MB, free: 9.316 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02004/0.5473, allocations: 3.496 MB / 454.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5473, allocations: 0 / 454.2 MB, free: 5.812 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.873e-05/0.5474, allocations: 4 kB / 454.2 MB, free: 5.809 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.0006869/0.5481, allocations: 410.9 kB / 454.6 MB, free: 5.355 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.5481, allocations: 8.031 kB / 454.6 MB, free: 5.348 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.569e-05/0.5482, allocations: 34.56 kB / 454.6 MB, free: 5.305 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.365e-05/0.5483, allocations: 11.86 kB / 454.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003177/0.5486, allocations: 179 kB / 454.8 MB, free: 5.078 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.5486, allocations: 4 kB / 454.8 MB, free: 5.074 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.016e-05/0.5487, allocations: 4 kB / 454.8 MB, free: 5.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.549, allocations: 59.41 kB / 454.9 MB, free: 5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.71e-05/0.549, allocations: 4 kB / 454.9 MB, free: 4.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.5491, allocations: 7.922 kB / 454.9 MB, free: 4.988 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.5491, allocations: 3.953 kB / 454.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002166/0.5493, allocations: 27.98 kB / 454.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005515/0.5499, allocations: 272.8 kB / 455.2 MB, free: 4.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003315/0.5502, allocations: 42.56 kB / 455.2 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.5503, allocations: 3.938 kB / 455.2 MB, free: 4.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.5504, allocations: 38.56 kB / 455.2 MB, free: 4.539 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 3.336e-06/0.5504, allocations: 0 / 455.2 MB, free: 4.539 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.001134/0.5515, allocations: 157.4 kB / 455.4 MB, free: 4.379 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.195e-05/0.5516, allocations: 81.11 kB / 455.5 MB, free: 4.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001945/0.5518, allocations: 109 kB / 455.6 MB, free: 4.168 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.5519, allocations: 25.7 kB / 455.6 MB, free: 4.137 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001007/0.552, allocations: 162.5 kB / 455.8 MB, free: 3.977 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.776e-05/0.5521, allocations: 15.75 kB / 455.8 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.5521, allocations: 0 / 455.8 MB, free: 3.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.5523, allocations: 318.8 kB / 456.1 MB, free: 3.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001896/0.5525, allocations: 27.92 kB / 456.1 MB, free: 3.613 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002091/0.5527, allocations: 41.69 kB / 456.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002219/0.5529, allocations: 49.73 kB / 456.2 MB, free: 3.512 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.553, allocations: 0 / 456.2 MB, free: 3.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0005442/0.5535, allocations: 123.3 kB / 456.3 MB, free: 3.379 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.614e-05/0.5536, allocations: 35.73 kB / 456.4 MB, free: 3.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.5536, allocations: 7.891 kB / 456.4 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.5537, allocations: 0 / 456.4 MB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.5538, allocations: 19.98 kB / 456.4 MB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.5539, allocations: 4 kB / 456.4 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.554, allocations: 4 kB / 456.4 MB, free: 3.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.554, allocations: 0 / 456.4 MB, free: 3.305 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.0001613/0.5542, allocations: 117.8 kB / 456.5 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.941e-05/0.5543, allocations: 8.156 kB / 456.5 MB, free: 3.172 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005283/0.5548, allocations: 105.6 kB / 456.6 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.5549, allocations: 3.953 kB / 456.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.5549, allocations: 0 / 456.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.5549, allocations: 0 / 456.6 MB, free: 3.051 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009525/0.5559, allocations: 354.6 kB / 457 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.5559, allocations: 0 / 457 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.5561, allocations: 15.98 kB / 457 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.033e-05/0.5561, allocations: 3.953 kB / 457 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.5561, allocations: 0 / 457 MB, free: 2.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.853e-06/0.5561, allocations: 3.938 kB / 457 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5561, allocations: 0 / 457 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004841/0.5566, allocations: 183.7 kB / 457.2 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.723e-05/0.5567, allocations: 89 kB / 457.3 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.545e-05/0.5568, allocations: 3.953 kB / 457.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001931/0.557, allocations: 11.98 kB / 457.3 MB, free: 2.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.5571, allocations: 11.98 kB / 457.3 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.5571, allocations: 0 / 457.3 MB, free: 2.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000135/0.5572, allocations: 95.27 kB / 457.4 MB, free: 2.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.186e-06/0.5573, allocations: 0 / 457.4 MB, free: 2.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006059/0.5579, allocations: 27.94 kB / 457.4 MB, free: 2.176 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.00238/0.5603, allocations: 1.013 MB / 458.4 MB, free: 1.215 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005238/0.5609, allocations: 107.4 kB / 458.5 MB, free: 1.098 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.5609, allocations: 3.938 kB / 458.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.5611, allocations: 35.92 kB / 458.6 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/0.5615, allocations: 15.94 kB / 458.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.5627, allocations: 400.4 kB / 459 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.5631, allocations: 0.6926 MB / 459.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.5632, allocations: 27.42 kB / 459.7 MB, free: 15.85 MB / 394.7 MB Notification: Performance of SimCode: time 1.383e-06/0.5633, allocations: 0 / 459.7 MB, free: 15.85 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_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