Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test12,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12",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.001483/0.001483, allocations: 177.7 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.159/2.159, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 92.12 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.302/0.302, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.143e-05/3.152e-05, allocations: 4 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4578, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.6219, allocations: 86.72 MB / 0.5507 GB, free: 12.5 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.6223, allocations: 75.47 kB / 0.5508 GB, free: 12.43 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.0193/0.6416, allocations: 4.297 MB / 0.5549 GB, free: 8.117 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6417, allocations: 0 / 0.5549 GB, free: 8.117 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.6417, allocations: 0 / 0.5549 GB, free: 8.117 MB / 395.1 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.0005613/0.6423, allocations: 382.9 kB / 0.5553 GB, free: 7.699 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.6423, allocations: 16.02 kB / 0.5553 GB, free: 7.684 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.324e-05/0.6424, allocations: 7.953 kB / 0.5553 GB, free: 7.676 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.6427, allocations: 198.8 kB / 0.5555 GB, free: 7.441 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.643e-05/0.6427, allocations: 4 kB / 0.5555 GB, free: 7.438 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.6428, allocations: 0 / 0.5555 GB, free: 7.438 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001387/0.6429, allocations: 16 kB / 0.5555 GB, free: 7.422 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.6431, allocations: 63.39 kB / 0.5556 GB, free: 7.348 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.6431, allocations: 3.938 kB / 0.5556 GB, free: 7.344 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.6432, allocations: 7.984 kB / 0.5556 GB, free: 7.336 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.6432, allocations: 0 / 0.5556 GB, free: 7.336 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005862/0.6438, allocations: 301.2 kB / 0.5559 GB, free: 7.004 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.6439, allocations: 30.58 kB / 0.5559 GB, free: 6.965 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.644, allocations: 12.86 kB / 0.5559 GB, free: 6.949 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.92e-05/0.644, allocations: 8 kB / 0.556 GB, free: 6.941 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.644, allocations: 38.64 kB / 0.556 GB, free: 6.895 MB / 395.1 MB Notification: Performance of pre-optimization done (n=4): time 2.344e-06/0.6441, allocations: 0 / 0.556 GB, free: 6.895 MB / 395.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006983/0.6448, allocations: 145.2 kB / 0.5561 GB, free: 6.746 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.6448, allocations: 77.11 kB / 0.5562 GB, free: 6.652 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.645, allocations: 129.2 kB / 0.5563 GB, free: 6.516 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.6451, allocations: 25.7 kB / 0.5563 GB, free: 6.484 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.24e-05/0.6452, allocations: 162.5 kB / 0.5565 GB, free: 6.324 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.6452, allocations: 23.61 kB / 0.5565 GB, free: 6.301 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/0.6452, allocations: 0 / 0.5565 GB, free: 6.301 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.6454, allocations: 318.8 kB / 0.5568 GB, free: 5.98 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.272e-05/0.6454, allocations: 16.23 kB / 0.5568 GB, free: 5.965 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.736e-05/0.6455, allocations: 33.72 kB / 0.5569 GB, free: 5.926 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.609e-05/0.6456, allocations: 24.02 kB / 0.5569 GB, free: 5.902 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.6456, allocations: 0 / 0.5569 GB, free: 5.902 MB / 395.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002255/0.6459, allocations: 89.67 kB / 0.557 GB, free: 5.809 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.6459, allocations: 6.188 kB / 0.557 GB, free: 5.805 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6459, allocations: 0 / 0.557 GB, free: 5.805 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.646, allocations: 0 / 0.557 GB, free: 5.805 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000235/0.6462, allocations: 23.98 kB / 0.557 GB, free: 5.781 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.6462, allocations: 3.953 kB / 0.557 GB, free: 5.777 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001452/0.6464, allocations: 19.98 kB / 0.557 GB, free: 5.758 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.6464, allocations: 0 / 0.557 GB, free: 5.758 MB / 395.1 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.0001036/0.6465, allocations: 104.9 kB / 0.5571 GB, free: 5.648 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002265/0.6468, allocations: 93.52 kB / 0.5572 GB, free: 5.551 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.6468, allocations: 7.906 kB / 0.5572 GB, free: 5.543 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.6471, allocations: 98.62 kB / 0.5573 GB, free: 5.445 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.6472, allocations: 0 / 0.5573 GB, free: 5.445 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6472, allocations: 4 kB / 0.5573 GB, free: 5.441 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.6472, allocations: 3.984 kB / 0.5573 GB, free: 5.438 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005731/0.6478, allocations: 351.1 kB / 0.5577 GB, free: 5.051 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.6478, allocations: 0 / 0.5577 GB, free: 5.051 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/0.648, allocations: 19.98 kB / 0.5577 GB, free: 5.031 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/0.648, allocations: 3.953 kB / 0.5577 GB, free: 5.027 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.648, allocations: 4 kB / 0.5577 GB, free: 5.023 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6481, allocations: 4 kB / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.6481, allocations: 0 / 0.5577 GB, free: 5.02 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.6483, allocations: 183.6 kB / 0.5579 GB, free: 4.824 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.653e-05/0.6484, allocations: 92.98 kB / 0.558 GB, free: 4.715 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.259e-05/0.6485, allocations: 7.891 kB / 0.558 GB, free: 4.707 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.6487, allocations: 19.92 kB / 0.558 GB, free: 4.688 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.531e-05/0.6487, allocations: 4 kB / 0.558 GB, free: 4.684 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.456e-05/0.6488, allocations: 7.984 kB / 0.558 GB, free: 4.676 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001199/0.6489, allocations: 103.3 kB / 0.5581 GB, free: 4.574 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.5e-07/0.6489, allocations: 0 / 0.5581 GB, free: 4.574 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004/0.6493, allocations: 31.98 kB / 0.5581 GB, free: 4.543 MB / 395.1 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.001635/0.651, allocations: 0.9871 MB / 0.5591 GB, free: 3.574 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002339/0.6512, allocations: 55.97 kB / 0.5592 GB, free: 3.52 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6512, allocations: 4 kB / 0.5592 GB, free: 3.516 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.223e-05/0.6513, allocations: 24 kB / 0.5592 GB, free: 3.492 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003285/0.6517, allocations: 23.8 kB / 0.5592 GB, free: 3.469 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007563/0.6524, allocations: 223.2 kB / 0.5594 GB, free: 3.207 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.6528, allocations: 0.6963 MB / 0.5601 GB, free: 2.484 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.6529, allocations: 35.36 kB / 0.5601 GB, free: 2.449 MB / 395.1 MB Notification: Performance of SimCode: time 1.744e-06/0.6529, allocations: 4 kB / 0.5601 GB, free: 2.445 MB / 395.1 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/OMCompiler/build/include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12InitializeParameter.cpp:41:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp30; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12InitializeParameter.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_v7.mat", tmp30); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp12; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12Initialize.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", tmp12); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp20; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12Initialize.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_Test12CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12.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_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12FMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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_Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2Dv_Test12CalcHelperMain.o] Error 1