Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001624/0.001629, allocations: 186.3 kB / 16.4 MB, free: 5.75 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.189/2.189, 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.001157/0.001157, allocations: 96.36 kB / 270.9 MB, free: 8.371 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.6157/0.6157, allocations: 43.55 MB / 362.7 MB, free: 52.16 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001595, allocations: 16 kB / 431.5 MB, free: 6.078 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1352, allocations: 58.85 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.6175, allocations: 86.63 MB / 0.5634 GB, free: 15.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003606/0.6179, allocations: 75.95 kB / 0.5635 GB, free: 15.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02365/0.6416, allocations: 4.31 MB / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.6417, allocations: 0 / 0.5677 GB, free: 11.59 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.107e-05/0.6417, allocations: 4 kB / 0.5677 GB, free: 11.58 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000652/0.6424, allocations: 384.5 kB / 0.5681 GB, free: 11.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.891e-05/0.6425, allocations: 11.97 kB / 0.5681 GB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.827e-05/0.6425, allocations: 38.55 kB / 0.5681 GB, free: 11.11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.6426, allocations: 11.34 kB / 0.5681 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003627/0.643, allocations: 190.9 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.643, allocations: 4 kB / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.131e-05/0.6431, allocations: 0 / 0.5683 GB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002676/0.6434, allocations: 63.34 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.6434, allocations: 0 / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.913e-05/0.6434, allocations: 4 kB / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.6434, allocations: 0 / 0.5684 GB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001904/0.6436, allocations: 33 kB / 0.5684 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000565/0.6442, allocations: 268.9 kB / 0.5687 GB, free: 10.45 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00033/0.6446, allocations: 46.48 kB / 0.5687 GB, free: 10.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.391e-05/0.6446, allocations: 8 kB / 0.5687 GB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/0.6447, allocations: 30.56 kB / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 3.237e-06/0.6447, allocations: 0 / 0.5688 GB, free: 10.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.001066/0.6458, allocations: 158.2 kB / 0.5689 GB, free: 10.18 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.149e-05/0.6459, allocations: 81.06 kB / 0.569 GB, free: 10.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002274/0.6461, allocations: 122.1 kB / 0.5691 GB, free: 9.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.6462, allocations: 29.64 kB / 0.5691 GB, free: 9.926 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.924e-05/0.6463, allocations: 162.5 kB / 0.5693 GB, free: 9.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.419e-05/0.6463, allocations: 15.75 kB / 0.5693 GB, free: 9.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.837e-06/0.6464, allocations: 0 / 0.5693 GB, free: 9.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.6465, allocations: 318.8 kB / 0.5696 GB, free: 9.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001566/0.6467, allocations: 19.98 kB / 0.5696 GB, free: 9.41 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001984/0.6469, allocations: 33.7 kB / 0.5697 GB, free: 9.371 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.6471, allocations: 33.33 kB / 0.5697 GB, free: 9.34 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.6471, allocations: 0 / 0.5697 GB, free: 9.34 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004177/0.6476, allocations: 81.67 kB / 0.5698 GB, free: 9.254 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.6476, allocations: 7.984 kB / 0.5698 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.6476, allocations: 0 / 0.5698 GB, free: 9.246 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/0.6477, allocations: 4 kB / 0.5698 GB, free: 9.242 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001459/0.6478, allocations: 12 kB / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.6478, allocations: 0 / 0.5698 GB, free: 9.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.648, allocations: 15.94 kB / 0.5698 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.648, allocations: 3.938 kB / 0.5698 GB, free: 9.215 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 (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 prepare postOptimizeDAE: time 0.0001562/0.6482, allocations: 117.8 kB / 0.5699 GB, free: 9.09 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.778e-05/0.6483, allocations: 7.906 kB / 0.5699 GB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004877/0.6488, allocations: 97.56 kB / 0.57 GB, free: 8.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.119e-05/0.6488, allocations: 4 kB / 0.57 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6488, allocations: 0 / 0.57 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.6488, allocations: 0 / 0.57 GB, free: 8.977 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008966/0.6498, allocations: 366.4 kB / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.478e-06/0.6498, allocations: 0 / 0.5704 GB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.65, allocations: 15.98 kB / 0.5704 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.855e-06/0.65, allocations: 0 / 0.5704 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.65, allocations: 0 / 0.5704 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.65, allocations: 4 kB / 0.5704 GB, free: 8.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.65, allocations: 3.953 kB / 0.5704 GB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005092/0.6506, allocations: 183.4 kB / 0.5706 GB, free: 8.344 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.6507, allocations: 93 kB / 0.5707 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.538e-05/0.6508, allocations: 0 / 0.5707 GB, free: 8.234 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002529/0.651, allocations: 15.98 kB / 0.5707 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.629e-05/0.6511, allocations: 3.938 kB / 0.5707 GB, free: 8.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.6511, allocations: 11.89 kB / 0.5707 GB, free: 8.203 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000154/0.6513, allocations: 102.5 kB / 0.5708 GB, free: 8.105 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6513, allocations: 0 / 0.5708 GB, free: 8.105 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005676/0.6519, allocations: 31.98 kB / 0.5708 GB, free: 8.074 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 (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.002543/0.6545, allocations: 1.065 MB / 0.5719 GB, free: 7.086 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004572/0.655, allocations: 55.91 kB / 0.5719 GB, free: 7.031 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.655, allocations: 0 / 0.5719 GB, free: 7.031 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001852/0.6552, allocations: 31.97 kB / 0.5719 GB, free: 7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.6556, allocations: 8 kB / 0.5719 GB, free: 6.992 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/0.6576, allocations: 0.5669 MB / 0.5725 GB, free: 6.375 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.658, allocations: 0.6887 MB / 0.5732 GB, free: 5.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001263/0.6581, allocations: 23.48 kB / 0.5732 GB, free: 5.637 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6581, allocations: 0 / 0.5732 GB, free: 5.637 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_CombiTable1Ds_Test21CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21InitializeParameter.cpp:39: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_v7.mat", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.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_v7.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21Initialize.cpp:245:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp15); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21FMU.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_CombiTable1Ds_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test21CalcHelperMain.o] Error 1