Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test10,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_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.001706/0.001706, allocations: 181.3 kB / 13.66 MB, free: 1.664 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.215/2.215, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001091/0.001091, allocations: 90.64 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.291/0.291, allocations: 43.5 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.467e-05/4.48e-05, allocations: 0 / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5115/0.6397, allocations: 87.39 MB / 0.5582 GB, free: 124 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.6401, allocations: 73.94 kB / 0.5583 GB, free: 88 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01898/0.6591, allocations: 4.413 MB / 0.5626 GB, free: 12.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.6591, allocations: 4 kB / 0.5626 GB, free: 12.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.6592, allocations: 4 kB / 0.5626 GB, free: 12.57 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006142/0.6598, allocations: 385.9 kB / 0.563 GB, free: 12.15 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.331e-05/0.6599, allocations: 8.031 kB / 0.563 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.637e-05/0.6599, allocations: 37.86 kB / 0.563 GB, free: 12.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.66, allocations: 11.95 kB / 0.563 GB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003061/0.6603, allocations: 193.7 kB / 0.5632 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.6603, allocations: 8 kB / 0.5632 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.6604, allocations: 3.938 kB / 0.5632 GB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.6606, allocations: 65.12 kB / 0.5633 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.6606, allocations: 0 / 0.5633 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.6606, allocations: 3.938 kB / 0.5633 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6606, allocations: 0 / 0.5633 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.6607, allocations: 31.16 kB / 0.5633 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006083/0.6614, allocations: 319.9 kB / 0.5636 GB, free: 11.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.6615, allocations: 37.19 kB / 0.5637 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.248e-05/0.6616, allocations: 16.17 kB / 0.5637 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.6616, allocations: 0 / 0.5637 GB, free: 11.37 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.6617, allocations: 38.56 kB / 0.5637 GB, free: 11.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.6617, allocations: 0 / 0.5637 GB, free: 11.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007216/0.6624, allocations: 160.6 kB / 0.5639 GB, free: 11.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.6625, allocations: 77.11 kB / 0.564 GB, free: 11.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001901/0.6627, allocations: 131.1 kB / 0.5641 GB, free: 10.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.6627, allocations: 29.02 kB / 0.5641 GB, free: 10.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.426e-05/0.6628, allocations: 161.4 kB / 0.5643 GB, free: 10.78 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/0.6629, allocations: 27.44 kB / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.6629, allocations: 0 / 0.5643 GB, free: 10.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.663, allocations: 318 kB / 0.5646 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.897e-05/0.6631, allocations: 19.69 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.923e-05/0.6632, allocations: 40.64 kB / 0.5646 GB, free: 10.39 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.806e-05/0.6633, allocations: 22.98 kB / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6634, allocations: 0 / 0.5647 GB, free: 10.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002243/0.6636, allocations: 87.03 kB / 0.5648 GB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.6636, allocations: 4 kB / 0.5648 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/0.6637, allocations: 3.953 kB / 0.5648 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.6637, allocations: 4 kB / 0.5648 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.6639, allocations: 23.97 kB / 0.5648 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.664, allocations: 0 / 0.5648 GB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000154/0.6641, allocations: 16 kB / 0.5648 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.6641, allocations: 0 / 0.5648 GB, free: 10.25 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 () * 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.0001072/0.6643, allocations: 120.5 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.825e-05/0.6643, allocations: 7.906 kB / 0.5649 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003049/0.6646, allocations: 100.3 kB / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.6647, allocations: 11.92 kB / 0.565 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6647, allocations: 0 / 0.565 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6647, allocations: 0 / 0.565 GB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006388/0.6653, allocations: 381.7 kB / 0.5654 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.6654, allocations: 0 / 0.5654 GB, free: 9.637 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.6656, allocations: 23.98 kB / 0.5654 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.6656, allocations: 7.938 kB / 0.5654 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.6656, allocations: 0 / 0.5654 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.6656, allocations: 0 / 0.5654 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.6656, allocations: 0 / 0.5654 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000295/0.6659, allocations: 197.2 kB / 0.5656 GB, free: 9.418 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.573e-05/0.666, allocations: 85.02 kB / 0.5657 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.6661, allocations: 3.953 kB / 0.5657 GB, free: 9.312 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001701/0.6662, allocations: 23.61 kB / 0.5657 GB, free: 9.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.014e-05/0.6663, allocations: 7.984 kB / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.899e-06/0.6663, allocations: 0 / 0.5657 GB, free: 9.285 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001326/0.6665, allocations: 112.5 kB / 0.5658 GB, free: 9.188 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6665, allocations: 4 kB / 0.5658 GB, free: 9.184 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003732/0.6669, allocations: 31.88 kB / 0.5659 GB, free: 9.156 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 () * 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.001718/0.6686, allocations: 1.013 MB / 0.5669 GB, free: 8.191 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002458/0.6689, allocations: 54.3 kB / 0.5669 GB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.6689, allocations: 0 / 0.5669 GB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.509e-05/0.669, allocations: 34.61 kB / 0.5669 GB, free: 8.129 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002991/0.6693, allocations: 15.89 kB / 0.567 GB, free: 8.113 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007701/0.6701, allocations: 229.5 kB / 0.5672 GB, free: 7.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003657/0.6705, allocations: 0.7082 MB / 0.5679 GB, free: 7.137 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001174/0.6706, allocations: 29.98 kB / 0.5679 GB, free: 7.117 MB / 378.7 MB Notification: Performance of SimCode: time 9.71e-07/0.6707, allocations: 0 / 0.5679 GB, free: 7.117 MB / 378.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_Test10CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10InitializeParameter.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_v4.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test10Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10Initialize.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_Test10CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10.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_Test10CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test10CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test10CalcHelperMain.o] Error 1