Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test11,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11",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.00214/0.00214, allocations: 185.3 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.097/2.097, allocations: 205.4 MB / 222.5 MB, free: 9.125 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.00116/0.001159, allocations: 100.4 kB / 270.9 MB, free: 8.383 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.5442/0.5442, allocations: 43.55 MB / 362.7 MB, free: 52.15 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004797/0.0004797, allocations: 16 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1297, allocations: 58.84 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4856/0.6154, allocations: 87.48 MB / 0.5643 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004065/0.6159, allocations: 71.97 kB / 0.5643 GB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02795/0.6438, allocations: 4.598 MB / 0.5688 GB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.938e-06/0.6439, allocations: 0 / 0.5688 GB, free: 10.57 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.169e-05/0.644, allocations: 4 kB / 0.5688 GB, free: 10.57 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.0008948/0.6449, allocations: 403.5 kB / 0.5692 GB, free: 10.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.446e-05/0.645, allocations: 12.91 kB / 0.5692 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.741e-05/0.6451, allocations: 34.56 kB / 0.5692 GB, free: 10.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.938e-05/0.6451, allocations: 11.34 kB / 0.5693 GB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.6456, allocations: 202.9 kB / 0.5695 GB, free: 9.832 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.6456, allocations: 4 kB / 0.5695 GB, free: 9.828 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.973e-05/0.6457, allocations: 7.984 kB / 0.5695 GB, free: 9.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004215/0.6461, allocations: 75.33 kB / 0.5695 GB, free: 9.734 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.401e-05/0.6462, allocations: 3.938 kB / 0.5695 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.666e-05/0.6462, allocations: 1.031 kB / 0.5695 GB, free: 9.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.6462, allocations: 4.656 kB / 0.5695 GB, free: 9.727 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004224/0.6467, allocations: 51.95 kB / 0.5696 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007229/0.6475, allocations: 304.8 kB / 0.5699 GB, free: 9.328 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002058/0.6477, allocations: 50.56 kB / 0.5699 GB, free: 9.27 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.6477, allocations: 8.016 kB / 0.5699 GB, free: 9.262 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.6478, allocations: 30.56 kB / 0.57 GB, free: 9.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 2.705e-06/0.6478, allocations: 0 / 0.57 GB, free: 9.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001414/0.6492, allocations: 277.2 kB / 0.5702 GB, free: 8.949 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/0.6494, allocations: 77.11 kB / 0.5703 GB, free: 8.855 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002652/0.6496, allocations: 132.3 kB / 0.5704 GB, free: 8.719 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.6497, allocations: 33.7 kB / 0.5705 GB, free: 8.68 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001392/0.6498, allocations: 158.5 kB / 0.5706 GB, free: 8.523 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.055e-05/0.6499, allocations: 23.66 kB / 0.5706 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.021e-05/0.65, allocations: 0 / 0.5706 GB, free: 8.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.6502, allocations: 319.1 kB / 0.5709 GB, free: 8.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003085/0.6505, allocations: 43.97 kB / 0.571 GB, free: 8.137 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.6508, allocations: 57.77 kB / 0.571 GB, free: 8.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.6511, allocations: 56.14 kB / 0.5711 GB, free: 8.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.6512, allocations: 0 / 0.5711 GB, free: 8.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007285/0.6519, allocations: 141.6 kB / 0.5712 GB, free: 7.875 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.663e-05/0.652, allocations: 4 kB / 0.5712 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.652, allocations: 0 / 0.5712 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.215e-05/0.652, allocations: 3.953 kB / 0.5712 GB, free: 7.867 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002655/0.6523, allocations: 23.98 kB / 0.5713 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.096e-06/0.6523, allocations: 0 / 0.5713 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.6525, allocations: 15.98 kB / 0.5713 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.6525, allocations: 8 kB / 0.5713 GB, free: 7.82 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.0001733/0.6527, allocations: 125.8 kB / 0.5714 GB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.854e-05/0.6528, allocations: 7.906 kB / 0.5714 GB, free: 7.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007571/0.6536, allocations: 162.2 kB / 0.5716 GB, free: 7.516 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.6536, allocations: 3.953 kB / 0.5716 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.6536, allocations: 0 / 0.5716 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.6536, allocations: 0 / 0.5716 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009579/0.6546, allocations: 430.3 kB / 0.572 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.6546, allocations: 0 / 0.572 GB, free: 7.035 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000176/0.6548, allocations: 31.91 kB / 0.572 GB, free: 7.004 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.6548, allocations: 7.953 kB / 0.572 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.6549, allocations: 0 / 0.572 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.6549, allocations: 0 / 0.572 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.6549, allocations: 0 / 0.572 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006165/0.6555, allocations: 235.4 kB / 0.5722 GB, free: 6.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/0.6556, allocations: 85.11 kB / 0.5723 GB, free: 6.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.253e-05/0.6556, allocations: 3.953 kB / 0.5723 GB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.6558, allocations: 12.73 kB / 0.5723 GB, free: 6.633 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.455e-05/0.6559, allocations: 7.984 kB / 0.5723 GB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.409e-05/0.6559, allocations: 12 kB / 0.5724 GB, free: 6.613 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001474/0.6561, allocations: 115.2 kB / 0.5725 GB, free: 6.5 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.6561, allocations: 0 / 0.5725 GB, free: 6.5 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003979/0.6565, allocations: 35.94 kB / 0.5725 GB, free: 6.465 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.002224/0.6587, allocations: 1.116 MB / 0.5736 GB, free: 5.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005893/0.6594, allocations: 111.8 kB / 0.5737 GB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6594, allocations: 4 kB / 0.5737 GB, free: 5.316 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002546/0.6597, allocations: 55.97 kB / 0.5738 GB, free: 5.262 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003075/0.66, allocations: 15.94 kB / 0.5738 GB, free: 5.246 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.662, allocations: 0.7252 MB / 0.5745 GB, free: 4.473 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.6625, allocations: 0.7004 MB / 0.5752 GB, free: 3.746 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001372/0.6626, allocations: 35.42 kB / 0.5752 GB, free: 3.711 MB / 394.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6626, allocations: 0 / 0.5752 GB, free: 3.711 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11InitializeParameter.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_v6.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11Initialize.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_v6.mat", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11Initialize.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_Test11CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11.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_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11FMU.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_Test11CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test11CalcHelperMain.o] Error 1