Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.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.CombiTable1D.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test33,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33",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.001546/0.001545, allocations: 180.6 kB / 13.66 MB, free: 1.656 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.105/2.105, allocations: 205.2 MB / 219.4 MB, free: 14.27 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.001111/0.001111, allocations: 86.64 kB / 267.5 MB, free: 14.11 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.3203/0.3203, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.572e-05/4.587e-05, allocations: 7.938 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1222/0.1222, allocations: 58.86 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4838/0.6061, allocations: 86.64 MB / 0.5575 GB, free: 0.8242 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.6064, allocations: 82.75 kB / 0.5576 GB, free: 0.7773 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01706/0.6235, allocations: 4.142 MB / 0.5616 GB, free: 13.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6235, allocations: 0 / 0.5616 GB, free: 13.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.6236, allocations: 0 / 0.5616 GB, free: 13.53 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004956/0.6241, allocations: 378 kB / 0.562 GB, free: 13.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.6241, allocations: 8.031 kB / 0.562 GB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.6242, allocations: 38.19 kB / 0.562 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.6242, allocations: 4.531 kB / 0.562 GB, free: 13.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002709/0.6245, allocations: 190.6 kB / 0.5622 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.6245, allocations: 0 / 0.5622 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.831e-05/0.6246, allocations: 0 / 0.5622 GB, free: 12.84 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/0.6247, allocations: 62.72 kB / 0.5623 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.6248, allocations: 0 / 0.5623 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.6248, allocations: 0 / 0.5623 GB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/0.6248, allocations: 4 kB / 0.5623 GB, free: 12.77 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.979e-05/0.6249, allocations: 19.55 kB / 0.5623 GB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004794/0.6254, allocations: 282.7 kB / 0.5626 GB, free: 12.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.6256, allocations: 42.25 kB / 0.5626 GB, free: 12.4 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.386e-05/0.6257, allocations: 16.48 kB / 0.5626 GB, free: 12.39 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.6257, allocations: 3.938 kB / 0.5626 GB, free: 12.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.6258, allocations: 34.56 kB / 0.5627 GB, free: 12.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.874e-06/0.6258, allocations: 0 / 0.5627 GB, free: 12.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005202/0.6263, allocations: 108.2 kB / 0.5628 GB, free: 12.24 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.436e-05/0.6264, allocations: 89 kB / 0.5629 GB, free: 12.14 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.6266, allocations: 121 kB / 0.563 GB, free: 12.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/0.6266, allocations: 33.27 kB / 0.563 GB, free: 11.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.713e-05/0.6267, allocations: 158.1 kB / 0.5632 GB, free: 11.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.869e-05/0.6267, allocations: 15.73 kB / 0.5632 GB, free: 11.82 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-06/0.6267, allocations: 0 / 0.5632 GB, free: 11.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.6269, allocations: 314.6 kB / 0.5635 GB, free: 11.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.329e-05/0.627, allocations: 11.62 kB / 0.5635 GB, free: 11.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.616e-05/0.627, allocations: 33.53 kB / 0.5635 GB, free: 11.46 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.61e-05/0.6271, allocations: 19.23 kB / 0.5635 GB, free: 11.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.6271, allocations: 0 / 0.5635 GB, free: 11.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001525/0.6273, allocations: 56.88 kB / 0.5636 GB, free: 11.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6273, allocations: 4 kB / 0.5636 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.6273, allocations: 3.938 kB / 0.5636 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.6274, allocations: 4 kB / 0.5636 GB, free: 11.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.6275, allocations: 15.92 kB / 0.5636 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.045e-05/0.6275, allocations: 4.031 kB / 0.5636 GB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.695e-05/0.6276, allocations: 15.39 kB / 0.5636 GB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.6277, allocations: 0 / 0.5636 GB, free: 11.36 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 (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 8.824e-05/0.6278, allocations: 109 kB / 0.5637 GB, free: 11.24 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.6278, allocations: 7.906 kB / 0.5637 GB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000219/0.628, allocations: 79.19 kB / 0.5638 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.6281, allocations: 4 kB / 0.5638 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.6281, allocations: 4.078 kB / 0.5638 GB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.6281, allocations: 7.984 kB / 0.5638 GB, free: 11.15 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004887/0.6286, allocations: 331.7 kB / 0.5641 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.6286, allocations: 0 / 0.5641 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.6287, allocations: 15.98 kB / 0.5642 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.6288, allocations: 0 / 0.5642 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.6288, allocations: 4 kB / 0.5642 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6288, allocations: 320 / 0.5642 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6288, allocations: 3.953 kB / 0.5642 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.629, allocations: 177.6 kB / 0.5643 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.478e-05/0.6291, allocations: 85.02 kB / 0.5644 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.6291, allocations: 3.562 kB / 0.5644 GB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.6293, allocations: 7.984 kB / 0.5644 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.877e-05/0.6293, allocations: 7.953 kB / 0.5644 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.274e-06/0.6293, allocations: 3.938 kB / 0.5644 GB, free: 10.47 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.6295, allocations: 110.3 kB / 0.5645 GB, free: 10.38 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6295, allocations: 4 kB / 0.5645 GB, free: 10.37 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003452/0.6298, allocations: 27.06 kB / 0.5646 GB, free: 10.35 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 (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.001646/0.6315, allocations: 0.9967 MB / 0.5655 GB, free: 9.398 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.6317, allocations: 29.69 kB / 0.5656 GB, free: 9.379 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.6317, allocations: 0 / 0.5656 GB, free: 9.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.416e-05/0.6318, allocations: 23.05 kB / 0.5656 GB, free: 9.359 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.6321, allocations: 11.5 kB / 0.5656 GB, free: 9.352 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006526/0.6328, allocations: 195.6 kB / 0.5658 GB, free: 9.129 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.6331, allocations: 0.6965 MB / 0.5665 GB, free: 8.406 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.68e-05/0.6332, allocations: 22.55 kB / 0.5665 GB, free: 8.391 MB / 378.7 MB Notification: Performance of SimCode: time 1.262e-06/0.6333, allocations: 0 / 0.5665 GB, free: 8.391 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_CombiTable1D_Test33CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33InitializeParameter.cpp:39: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", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33Initialize.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_CombiTable1D_Test33CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33.cpp:714:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33FMU.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_CombiTable1D_Test33CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test33CalcHelperMain.o] Error 1