Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31",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.002386/0.002386, 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.432/2.432, allocations: 205.2 MB / 219.4 MB, free: 14.29 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.001798/0.001797, allocations: 82.64 kB / 267.5 MB, free: 14.12 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.2866/0.2866, allocations: 43.49 MB / 359.1 MB, free: 12.25 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.784e-05/3.795e-05, allocations: 4 kB / 425.4 MB, free: 23.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1165/0.1166, allocations: 58.85 MB / 484.2 MB, free: 12.39 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6282/0.7449, allocations: 87.38 MB / 0.5582 GB, free: 15.79 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/0.7452, allocations: 77.25 kB / 0.5583 GB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01904/0.7643, allocations: 4.422 MB / 0.5626 GB, free: 12.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.501e-05/0.7643, allocations: 0 / 0.5626 GB, free: 12.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.7644, allocations: 0 / 0.5626 GB, free: 12.23 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.0005412/0.7649, allocations: 389.4 kB / 0.563 GB, free: 11.81 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.765, allocations: 8.031 kB / 0.563 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.316e-05/0.765, allocations: 34.56 kB / 0.563 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.7651, allocations: 11.95 kB / 0.563 GB, free: 11.75 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002985/0.7654, allocations: 193.1 kB / 0.5632 GB, free: 11.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.7654, allocations: 6.5 kB / 0.5632 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.336e-05/0.7655, allocations: 3.938 kB / 0.5632 GB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001807/0.7657, allocations: 64.06 kB / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.838e-05/0.7657, allocations: 0 / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.7657, allocations: 10.75 kB / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.7657, allocations: 0 / 0.5633 GB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001022/0.7659, allocations: 25.98 kB / 0.5633 GB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.7665, allocations: 316.2 kB / 0.5636 GB, free: 11.09 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.7666, allocations: 37.83 kB / 0.5637 GB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.407e-05/0.7667, allocations: 20.11 kB / 0.5637 GB, free: 11.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.7668, allocations: 12.08 kB / 0.5637 GB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.7668, allocations: 30.56 kB / 0.5637 GB, free: 10.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.813e-06/0.7668, allocations: 0 / 0.5637 GB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007342/0.7676, allocations: 154.6 kB / 0.5639 GB, free: 10.85 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.142e-05/0.7676, allocations: 77.11 kB / 0.5639 GB, free: 10.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.7678, allocations: 139.8 kB / 0.5641 GB, free: 10.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.7679, allocations: 25.7 kB / 0.5641 GB, free: 10.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.768, allocations: 161.8 kB / 0.5643 GB, free: 10.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.826e-05/0.768, allocations: 27.38 kB / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/0.7681, allocations: 0 / 0.5643 GB, free: 10.41 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.7682, allocations: 318.8 kB / 0.5646 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.652e-05/0.7683, allocations: 19.25 kB / 0.5646 GB, free: 10.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.355e-05/0.7685, allocations: 33.16 kB / 0.5646 GB, free: 10.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.774e-05/0.7685, allocations: 27.33 kB / 0.5647 GB, free: 10.03 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.7686, allocations: 0 / 0.5647 GB, free: 10.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002246/0.7688, allocations: 87.92 kB / 0.5648 GB, free: 9.957 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.7688, allocations: 8 kB / 0.5648 GB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/0.7688, allocations: 3.953 kB / 0.5648 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/0.7689, allocations: 0 / 0.5648 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002149/0.7691, allocations: 19.98 kB / 0.5648 GB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.7691, allocations: 4 kB / 0.5648 GB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.7693, allocations: 15.98 kB / 0.5648 GB, free: 9.906 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.7693, allocations: 4 kB / 0.5648 GB, free: 9.902 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.0001013/0.7694, allocations: 108.6 kB / 0.5649 GB, free: 9.793 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/0.7695, allocations: 7.906 kB / 0.5649 GB, free: 9.785 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002944/0.7698, allocations: 103.8 kB / 0.565 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.7698, allocations: 3.953 kB / 0.565 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7698, allocations: 0 / 0.565 GB, free: 9.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.7698, allocations: 4.141 kB / 0.565 GB, free: 9.695 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006238/0.7705, allocations: 378.3 kB / 0.5654 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.7705, allocations: 0 / 0.5654 GB, free: 9.309 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001811/0.7707, allocations: 31.91 kB / 0.5654 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.156e-06/0.7707, allocations: 3.953 kB / 0.5654 GB, free: 9.273 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.7707, allocations: 3.938 kB / 0.5654 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.7707, allocations: 0 / 0.5654 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.7707, allocations: 8 kB / 0.5654 GB, free: 9.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.771, allocations: 186 kB / 0.5656 GB, free: 9.082 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.009e-05/0.7711, allocations: 92.69 kB / 0.5657 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.984e-05/0.7712, allocations: 3.953 kB / 0.5657 GB, free: 8.973 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001648/0.7714, allocations: 15.98 kB / 0.5657 GB, free: 8.957 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.7714, allocations: 11.67 kB / 0.5657 GB, free: 8.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.7714, allocations: 4 kB / 0.5657 GB, free: 8.945 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001263/0.7716, allocations: 112.6 kB / 0.5658 GB, free: 8.848 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7716, allocations: 0 / 0.5658 GB, free: 8.848 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000433/0.772, allocations: 31.44 kB / 0.5659 GB, free: 8.82 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.001712/0.7738, allocations: 1.018 MB / 0.5669 GB, free: 7.848 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002262/0.774, allocations: 57.86 kB / 0.5669 GB, free: 7.809 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.774, allocations: 0 / 0.5669 GB, free: 7.809 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.739e-05/0.7741, allocations: 27.06 kB / 0.5669 GB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.7744, allocations: 19.31 kB / 0.567 GB, free: 7.773 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007497/0.7752, allocations: 233.7 kB / 0.5672 GB, free: 7.523 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.7756, allocations: 0.6996 MB / 0.5679 GB, free: 6.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.7757, allocations: 33.66 kB / 0.5679 GB, free: 6.777 MB / 378.7 MB Notification: Performance of SimCode: time 7.82e-07/0.7757, allocations: 0 / 0.5679 GB, free: 6.777 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_Test31CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31InitializeParameter.cpp:42:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/Resources/Data/Tables/test_utf8.txt", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31Initialize.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_Test31CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31.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_Test31CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31FMU.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_Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test31CalcHelperMain.o] Error 1