Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test10.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.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10",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.001523/0.001523, allocations: 188.4 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 1.991/1.991, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.00113/0.00113, allocations: 96.36 kB / 270.9 MB, free: 8.363 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.5475/0.5475, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004751/0.000475, allocations: 12 kB / 431.5 MB, free: 6.062 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.131, allocations: 58.85 MB / 490.3 MB, free: 11.13 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.604/0.735, allocations: 87.08 MB / 0.5639 GB, free: 15.45 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.7354, allocations: 79.95 kB / 0.5639 GB, free: 15.38 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01943/0.7549, allocations: 4.479 MB / 0.5683 GB, free: 10.92 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.7549, allocations: 0 / 0.5683 GB, free: 10.92 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/0.755, allocations: 4 kB / 0.5683 GB, free: 10.92 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.0006765/0.7556, allocations: 398.7 kB / 0.5687 GB, free: 10.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.7557, allocations: 8.031 kB / 0.5687 GB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.879e-05/0.7558, allocations: 38.56 kB / 0.5687 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.671e-05/0.7558, allocations: 11.34 kB / 0.5688 GB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.7562, allocations: 194.9 kB / 0.5689 GB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.7562, allocations: 7.844 kB / 0.569 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.489e-05/0.7562, allocations: 4 kB / 0.569 GB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002702/0.7565, allocations: 75.39 kB / 0.569 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.7566, allocations: 0 / 0.569 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.442e-05/0.7566, allocations: 1.031 kB / 0.569 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.521e-05/0.7566, allocations: 5.625 kB / 0.569 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002491/0.7569, allocations: 43.95 kB / 0.5691 GB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005295/0.7574, allocations: 296.7 kB / 0.5694 GB, free: 9.715 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001899/0.7576, allocations: 42.56 kB / 0.5694 GB, free: 9.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.7577, allocations: 4 kB / 0.5694 GB, free: 9.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.7577, allocations: 38.64 kB / 0.5694 GB, free: 9.613 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.234e-06/0.7577, allocations: 0 / 0.5694 GB, free: 9.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001314/0.759, allocations: 245.2 kB / 0.5697 GB, free: 9.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/0.7591, allocations: 77.11 kB / 0.5697 GB, free: 9.273 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.7594, allocations: 132.8 kB / 0.5699 GB, free: 9.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.7594, allocations: 25.7 kB / 0.5699 GB, free: 9.105 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.7595, allocations: 166.5 kB / 0.5701 GB, free: 8.941 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.486e-05/0.7596, allocations: 23.58 kB / 0.5701 GB, free: 8.918 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.229e-05/0.7596, allocations: 8 kB / 0.5701 GB, free: 8.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000155/0.7597, allocations: 311.2 kB / 0.5704 GB, free: 8.598 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/0.76, allocations: 39.97 kB / 0.5704 GB, free: 8.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.7602, allocations: 57.69 kB / 0.5705 GB, free: 8.496 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.7605, allocations: 43.97 kB / 0.5705 GB, free: 8.453 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.7605, allocations: 0 / 0.5705 GB, free: 8.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005295/0.761, allocations: 125.8 kB / 0.5706 GB, free: 8.324 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.761, allocations: 4 kB / 0.5706 GB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.7611, allocations: 7.953 kB / 0.5706 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.827e-05/0.7611, allocations: 0 / 0.5706 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002235/0.7613, allocations: 27.92 kB / 0.5707 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/0.7613, allocations: 0 / 0.5707 GB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.7615, allocations: 15.98 kB / 0.5707 GB, free: 8.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.873e-05/0.7615, allocations: 7.984 kB / 0.5707 GB, free: 8.262 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.0001396/0.7617, allocations: 121.8 kB / 0.5708 GB, free: 8.133 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.7617, allocations: 7.906 kB / 0.5708 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005731/0.7623, allocations: 134.3 kB / 0.571 GB, free: 7.992 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.7624, allocations: 7.953 kB / 0.571 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.7624, allocations: 0.875 kB / 0.571 GB, free: 7.984 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.7624, allocations: 4 kB / 0.571 GB, free: 7.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009221/0.7633, allocations: 410.4 kB / 0.5714 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.7633, allocations: 0 / 0.5714 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/0.7635, allocations: 19.98 kB / 0.5714 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.7635, allocations: 4.703 kB / 0.5714 GB, free: 7.5 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.7636, allocations: 8 kB / 0.5714 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.7636, allocations: 0 / 0.5714 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7636, allocations: 480 / 0.5714 GB, free: 7.492 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005691/0.7642, allocations: 231.3 kB / 0.5716 GB, free: 7.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.183e-05/0.7643, allocations: 89.02 kB / 0.5717 GB, free: 7.145 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.048e-05/0.7643, allocations: 7.953 kB / 0.5717 GB, free: 7.137 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001621/0.7645, allocations: 15.98 kB / 0.5717 GB, free: 7.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/0.7645, allocations: 7.922 kB / 0.5717 GB, free: 7.113 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.7646, allocations: 8 kB / 0.5717 GB, free: 7.105 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.7647, allocations: 111.2 kB / 0.5718 GB, free: 6.996 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.7648, allocations: 3.938 kB / 0.5718 GB, free: 6.992 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003749/0.7651, allocations: 31.94 kB / 0.5719 GB, free: 6.961 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.00223/0.7674, allocations: 1.1 MB / 0.5729 GB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005987/0.768, allocations: 91.94 kB / 0.573 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.7681, allocations: 0 / 0.573 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.7683, allocations: 55.84 kB / 0.5731 GB, free: 5.789 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00031/0.7686, allocations: 19.94 kB / 0.5731 GB, free: 5.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.7706, allocations: 0.6708 MB / 0.5738 GB, free: 5.055 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003822/0.7711, allocations: 0.7004 MB / 0.5744 GB, free: 4.328 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.7712, allocations: 27.42 kB / 0.5745 GB, free: 4.301 MB / 394.7 MB Notification: Performance of SimCode: time 1.603e-06/0.7713, allocations: 0 / 0.5745 GB, free: 4.301 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_CombiTable2D_Test10CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.cpp:40:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10InitializeParameter.cpp:41: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_v4.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.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_v4.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:277:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10Initialize.cpp:278: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_CombiTable2D_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10.cpp:758:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10FMU.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_CombiTable2D_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test10CalcHelperMain.o] Error 1