Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test14.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test14,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002284/0.002284, allocations: 186.2 kB / 16.41 MB, free: 5.723 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 222.5 MB, free: 9.117 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 84.44 kB / 270.9 MB, free: 8.375 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5229/0.5229, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006431/0.0006429, allocations: 16 kB / 431.5 MB, free: 6.066 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1674, allocations: 58.84 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4746/0.642, allocations: 87.47 MB / 0.5642 GB, free: 15.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.6424, allocations: 75.95 kB / 0.5643 GB, free: 15.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0196/0.662, allocations: 4.608 MB / 0.5688 GB, free: 10.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6621, allocations: 0 / 0.5688 GB, free: 10.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.6621, allocations: 0 / 0.5688 GB, free: 10.52 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006981/0.6628, allocations: 410.7 kB / 0.5692 GB, free: 10.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/0.6629, allocations: 8.031 kB / 0.5692 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.56e-05/0.663, allocations: 38.56 kB / 0.5693 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.153e-05/0.663, allocations: 7.344 kB / 0.5693 GB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002864/0.6633, allocations: 194.8 kB / 0.5694 GB, free: 9.785 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.6633, allocations: 12 kB / 0.5695 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.17e-05/0.6634, allocations: 0 / 0.5695 GB, free: 9.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000292/0.6637, allocations: 87.3 kB / 0.5695 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.6637, allocations: 0 / 0.5695 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.6637, allocations: 1.031 kB / 0.5695 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6637, allocations: 0.8125 kB / 0.5695 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.664, allocations: 51.97 kB / 0.5696 GB, free: 9.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006141/0.6646, allocations: 304.8 kB / 0.5699 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002037/0.6649, allocations: 58.48 kB / 0.5699 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.6649, allocations: 4 kB / 0.5699 GB, free: 9.207 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.6649, allocations: 30.56 kB / 0.57 GB, free: 9.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.6649, allocations: 0 / 0.57 GB, free: 9.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001341/0.6663, allocations: 269.3 kB / 0.5702 GB, free: 8.898 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.6664, allocations: 77.11 kB / 0.5703 GB, free: 8.805 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.6666, allocations: 130.9 kB / 0.5704 GB, free: 8.668 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.376e-05/0.6666, allocations: 29.7 kB / 0.5705 GB, free: 8.633 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.6667, allocations: 166.5 kB / 0.5706 GB, free: 8.469 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.404e-05/0.6668, allocations: 27.64 kB / 0.5706 GB, free: 8.441 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.965e-06/0.6668, allocations: 0 / 0.5706 GB, free: 8.441 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.667, allocations: 311.2 kB / 0.5709 GB, free: 8.129 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.6672, allocations: 43.97 kB / 0.571 GB, free: 8.086 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.6675, allocations: 65.67 kB / 0.571 GB, free: 8.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.6677, allocations: 56.03 kB / 0.5711 GB, free: 7.961 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6678, allocations: 4.031 kB / 0.5711 GB, free: 7.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005495/0.6683, allocations: 125.6 kB / 0.5712 GB, free: 7.828 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6684, allocations: 8 kB / 0.5712 GB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.6684, allocations: 4 kB / 0.5712 GB, free: 7.816 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.6684, allocations: 7.938 kB / 0.5712 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002104/0.6686, allocations: 23.98 kB / 0.5713 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.6687, allocations: 4 kB / 0.5713 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001462/0.6688, allocations: 11.98 kB / 0.5713 GB, free: 7.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.6688, allocations: 4 kB / 0.5713 GB, free: 7.766 MB / 394.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 (7): * Single equations (assignments): 7 * 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 prepare postOptimizeDAE: time 0.0001388/0.669, allocations: 125.8 kB / 0.5714 GB, free: 7.633 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-05/0.669, allocations: 7.906 kB / 0.5714 GB, free: 7.625 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006389/0.6697, allocations: 154.3 kB / 0.5716 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.6697, allocations: 11.89 kB / 0.5716 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6697, allocations: 0 / 0.5716 GB, free: 7.457 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.6697, allocations: 3.938 kB / 0.5716 GB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009322/0.6707, allocations: 426.8 kB / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6707, allocations: 0 / 0.572 GB, free: 6.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002225/0.6709, allocations: 27.92 kB / 0.572 GB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/0.671, allocations: 3.953 kB / 0.572 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.671, allocations: 4 kB / 0.572 GB, free: 6.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.671, allocations: 4.078 kB / 0.572 GB, free: 6.941 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.671, allocations: 3.984 kB / 0.572 GB, free: 6.938 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.6716, allocations: 231.4 kB / 0.5722 GB, free: 6.695 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.537e-05/0.6717, allocations: 89.09 kB / 0.5723 GB, free: 6.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.6718, allocations: 3.953 kB / 0.5723 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.6719, allocations: 15.98 kB / 0.5723 GB, free: 6.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.672, allocations: 7.984 kB / 0.5723 GB, free: 6.562 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.672, allocations: 11.98 kB / 0.5724 GB, free: 6.551 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001486/0.6722, allocations: 112.4 kB / 0.5725 GB, free: 6.441 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.765e-06/0.6722, allocations: 0 / 0.5725 GB, free: 6.441 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003968/0.6726, allocations: 43.86 kB / 0.5725 GB, free: 6.398 MB / 394.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 (7): * Single equations (assignments): 7 * 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.002241/0.6749, allocations: 1.115 MB / 0.5736 GB, free: 5.363 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005935/0.6755, allocations: 99.88 kB / 0.5737 GB, free: 5.266 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.6755, allocations: 4 kB / 0.5737 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002591/0.6758, allocations: 55.97 kB / 0.5738 GB, free: 5.207 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.6761, allocations: 15.94 kB / 0.5738 GB, free: 5.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.6782, allocations: 0.7291 MB / 0.5745 GB, free: 4.414 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003411/0.6786, allocations: 0.6965 MB / 0.5752 GB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001499/0.6788, allocations: 39.41 kB / 0.5752 GB, free: 3.652 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6788, allocations: 0 / 0.5752 GB, free: 3.652 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14InitializeParameter.cpp:42:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test.txt", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables/test.txt", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14Initialize.cpp:279:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp20); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14.cpp:763:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14FMU.cpp:11: /var/lib/jenkins1/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_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test14CalcHelperMain.o] Error 1