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.001549/0.001548, allocations: 182.1 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.088/2.088, allocations: 205.2 MB / 219.4 MB, free: 14.22 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.001067/0.001066, allocations: 86.72 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.2849/0.2849, allocations: 43.48 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.509e-05/3.527e-05, allocations: 4 kB / 425.4 MB, free: 23.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1528, allocations: 58.85 MB / 484.2 MB, free: 12.38 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4923/0.6452, allocations: 87.38 MB / 0.5582 GB, free: 140 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.6455, allocations: 73.06 kB / 0.5583 GB, free: 104 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01893/0.6645, allocations: 4.426 MB / 0.5626 GB, free: 12.58 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.6645, allocations: 4 kB / 0.5626 GB, free: 12.58 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.528e-05/0.6645, allocations: 0 / 0.5626 GB, free: 12.58 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.0005447/0.6651, allocations: 386.3 kB / 0.563 GB, free: 12.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.6652, allocations: 8.031 kB / 0.563 GB, free: 12.15 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.11e-05/0.6652, allocations: 38 kB / 0.563 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.6653, allocations: 3.953 kB / 0.563 GB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.6656, allocations: 199.1 kB / 0.5632 GB, free: 11.88 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.428e-05/0.6657, allocations: 8 kB / 0.5632 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.6657, allocations: 0 / 0.5632 GB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.6659, allocations: 74.36 kB / 0.5633 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.6659, allocations: 0 / 0.5633 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.6659, allocations: 3.938 kB / 0.5633 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.666, allocations: 0 / 0.5633 GB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.12e-05/0.666, allocations: 22.56 kB / 0.5633 GB, free: 11.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006173/0.6667, allocations: 317.8 kB / 0.5636 GB, free: 11.44 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.6668, allocations: 41.12 kB / 0.5637 GB, free: 11.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.346e-05/0.6669, allocations: 20.78 kB / 0.5637 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.717e-05/0.6669, allocations: 0 / 0.5637 GB, free: 11.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.839e-05/0.667, allocations: 41.75 kB / 0.5637 GB, free: 11.33 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.667, allocations: 0 / 0.5637 GB, free: 11.33 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007553/0.6677, allocations: 158.4 kB / 0.5639 GB, free: 11.19 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.822e-05/0.6678, allocations: 77.11 kB / 0.564 GB, free: 11.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.668, allocations: 130.7 kB / 0.5641 GB, free: 10.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.6681, allocations: 25.7 kB / 0.5641 GB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.954e-05/0.6682, allocations: 165.4 kB / 0.5643 GB, free: 10.79 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.739e-05/0.6682, allocations: 27.36 kB / 0.5643 GB, free: 10.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.6682, allocations: 0 / 0.5643 GB, free: 10.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6684, allocations: 314.8 kB / 0.5646 GB, free: 10.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.97e-05/0.6685, allocations: 22.42 kB / 0.5646 GB, free: 10.43 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-05/0.6686, allocations: 32.34 kB / 0.5646 GB, free: 10.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.526e-05/0.6686, allocations: 22.23 kB / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6687, allocations: 0 / 0.5647 GB, free: 10.39 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002223/0.6689, allocations: 94.27 kB / 0.5648 GB, free: 10.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.6689, allocations: 8 kB / 0.5648 GB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.6689, allocations: 3.953 kB / 0.5648 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.669, allocations: 0 / 0.5648 GB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002262/0.6692, allocations: 19.98 kB / 0.5648 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.6692, allocations: 4 kB / 0.5648 GB, free: 10.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000148/0.6694, allocations: 19.98 kB / 0.5648 GB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.6694, allocations: 7.5 kB / 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 9.365e-05/0.6695, allocations: 106.5 kB / 0.5649 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.941e-05/0.6696, allocations: 7.906 kB / 0.5649 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003019/0.6699, allocations: 110.6 kB / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.6699, allocations: 3.953 kB / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6699, allocations: 0 / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.6699, allocations: 0 / 0.565 GB, free: 10.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006013/0.6705, allocations: 380 kB / 0.5654 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.6706, allocations: 0 / 0.5654 GB, free: 9.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.6708, allocations: 31.86 kB / 0.5654 GB, free: 9.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.6708, allocations: 3.953 kB / 0.5654 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.6708, allocations: 3.438 kB / 0.5654 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6708, allocations: 0 / 0.5654 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.6708, allocations: 0 / 0.5654 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000268/0.6711, allocations: 184.5 kB / 0.5656 GB, free: 9.434 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.637e-05/0.6712, allocations: 92.81 kB / 0.5657 GB, free: 9.328 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.018e-05/0.6713, allocations: 3.953 kB / 0.5657 GB, free: 9.324 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001694/0.6714, allocations: 15.98 kB / 0.5657 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.6715, allocations: 4 kB / 0.5657 GB, free: 9.305 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.044e-05/0.6715, allocations: 0 / 0.5657 GB, free: 9.305 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001369/0.6717, allocations: 112.6 kB / 0.5658 GB, free: 9.207 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6717, allocations: 7.938 kB / 0.5658 GB, free: 9.199 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003709/0.6721, allocations: 34.92 kB / 0.5659 GB, free: 9.168 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.001735/0.6738, allocations: 1.024 MB / 0.5669 GB, free: 8.195 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002676/0.6741, allocations: 57.48 kB / 0.5669 GB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6742, allocations: 0 / 0.5669 GB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.6743, allocations: 30.16 kB / 0.5669 GB, free: 8.133 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003167/0.6746, allocations: 19.72 kB / 0.567 GB, free: 8.117 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008161/0.6754, allocations: 229.1 kB / 0.5672 GB, free: 7.871 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000359/0.6758, allocations: 0.7042 MB / 0.5679 GB, free: 7.145 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.6759, allocations: 26.86 kB / 0.5679 GB, free: 7.125 MB / 378.7 MB Notification: Performance of SimCode: time 9.81e-07/0.6759, allocations: 0 / 0.5679 GB, free: 7.125 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_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