Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test21.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.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test21,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21",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.002613/0.002613, allocations: 181.2 kB / 8.366 MB, free: 0.7109 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.112/2.112, allocations: 205.3 MB / 214.1 MB, free: 14.07 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.00113/0.001129, allocations: 82.56 kB / 262.1 MB, free: 13.86 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.303/0.303, allocations: 43.48 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.928e-05/1.938e-05, allocations: 4.219 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4779/0.4779, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.6424, allocations: 85.99 MB / 0.55 GB, free: 13.2 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.6427, allocations: 67.97 kB / 0.55 GB, free: 13.14 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01817/0.6609, allocations: 4.01 MB / 0.554 GB, free: 9.129 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6609, allocations: 0 / 0.554 GB, free: 9.129 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.661, allocations: 0 / 0.554 GB, free: 9.129 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005243/0.6615, allocations: 374.3 kB / 0.5543 GB, free: 8.719 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.6616, allocations: 8.031 kB / 0.5543 GB, free: 8.711 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.947e-05/0.6616, allocations: 12.53 kB / 0.5543 GB, free: 8.699 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003003/0.6619, allocations: 192.3 kB / 0.5545 GB, free: 8.473 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.662, allocations: 0 / 0.5545 GB, free: 8.473 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.662, allocations: 0 / 0.5545 GB, free: 8.473 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.897e-05/0.6621, allocations: 15.98 kB / 0.5545 GB, free: 8.457 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.6623, allocations: 59.41 kB / 0.5546 GB, free: 8.387 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6623, allocations: 0 / 0.5546 GB, free: 8.387 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.536e-05/0.6623, allocations: 4 kB / 0.5546 GB, free: 8.383 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6623, allocations: 3.938 kB / 0.5546 GB, free: 8.379 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004946/0.6628, allocations: 257.4 kB / 0.5548 GB, free: 8.09 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.6631, allocations: 42.5 kB / 0.5549 GB, free: 8.039 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.647e-05/0.6631, allocations: 8.859 kB / 0.5549 GB, free: 8.027 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.549e-05/0.6632, allocations: 8 kB / 0.5549 GB, free: 8.02 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.6632, allocations: 30.56 kB / 0.5549 GB, free: 7.98 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.904e-06/0.6632, allocations: 0 / 0.5549 GB, free: 7.98 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005367/0.6638, allocations: 109.4 kB / 0.555 GB, free: 7.867 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.033e-05/0.6639, allocations: 77.11 kB / 0.5551 GB, free: 7.773 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.664, allocations: 117.9 kB / 0.5552 GB, free: 7.652 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.6641, allocations: 29.7 kB / 0.5552 GB, free: 7.617 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.423e-05/0.6642, allocations: 162.5 kB / 0.5554 GB, free: 7.457 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.6642, allocations: 15.75 kB / 0.5554 GB, free: 7.441 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-06/0.6642, allocations: 0 / 0.5554 GB, free: 7.441 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.6644, allocations: 319 kB / 0.5557 GB, free: 7.121 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.034e-05/0.6644, allocations: 12 kB / 0.5557 GB, free: 7.109 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.217e-05/0.6645, allocations: 29.66 kB / 0.5558 GB, free: 7.074 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.419e-05/0.6646, allocations: 15.98 kB / 0.5558 GB, free: 7.059 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.6646, allocations: 4.031 kB / 0.5558 GB, free: 7.055 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001621/0.6648, allocations: 57.69 kB / 0.5558 GB, free: 6.992 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.6648, allocations: 4 kB / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.6648, allocations: 144 / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.849e-05/0.6649, allocations: 0 / 0.5558 GB, free: 6.988 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.665, allocations: 19.97 kB / 0.5559 GB, free: 6.969 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.665, allocations: 0 / 0.5559 GB, free: 6.969 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.961e-05/0.6651, allocations: 4 kB / 0.5559 GB, free: 6.965 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.458e-05/0.6652, allocations: 4 kB / 0.5559 GB, free: 6.961 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 (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 9.799e-05/0.6653, allocations: 108.9 kB / 0.556 GB, free: 6.848 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001793/0.6655, allocations: 69.53 kB / 0.556 GB, free: 6.773 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.799e-05/0.6655, allocations: 3.906 kB / 0.556 GB, free: 6.77 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.6658, allocations: 78.08 kB / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.6658, allocations: 0 / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.6658, allocations: 384 / 0.5561 GB, free: 6.688 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.213e-05/0.6658, allocations: 7.938 kB / 0.5561 GB, free: 6.68 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/0.6664, allocations: 319.1 kB / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.6665, allocations: 0 / 0.5564 GB, free: 6.324 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.6666, allocations: 15.98 kB / 0.5564 GB, free: 6.309 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.6667, allocations: 0 / 0.5564 GB, free: 6.309 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.6667, allocations: 0 / 0.5564 GB, free: 6.309 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.6667, allocations: 0 / 0.5564 GB, free: 6.309 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.6667, allocations: 7.938 kB / 0.5564 GB, free: 6.301 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002128/0.6669, allocations: 167.5 kB / 0.5566 GB, free: 6.121 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.596e-05/0.667, allocations: 92.94 kB / 0.5567 GB, free: 6.012 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.6671, allocations: 0 / 0.5567 GB, free: 6.012 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001233/0.6672, allocations: 7.938 kB / 0.5567 GB, free: 6.004 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.6672, allocations: 7.984 kB / 0.5567 GB, free: 5.996 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.241e-05/0.6673, allocations: 3.953 kB / 0.5567 GB, free: 5.992 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001071/0.6674, allocations: 111.7 kB / 0.5568 GB, free: 5.883 MB / 395.1 MB Notification: Performance of sort global known variables: time 4e-07/0.6674, allocations: 0 / 0.5568 GB, free: 5.883 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0003791/0.6678, allocations: 27.98 kB / 0.5568 GB, free: 5.855 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 (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.001627/0.6694, allocations: 0.9592 MB / 0.5578 GB, free: 4.918 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.6697, allocations: 31.98 kB / 0.5578 GB, free: 4.887 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.6697, allocations: 4 kB / 0.5578 GB, free: 4.883 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 5.361e-05/0.6697, allocations: 16 kB / 0.5578 GB, free: 4.867 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.6701, allocations: 15.84 kB / 0.5579 GB, free: 4.852 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006732/0.6708, allocations: 179.2 kB / 0.558 GB, free: 4.629 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.6712, allocations: 0.7041 MB / 0.5587 GB, free: 3.898 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.6713, allocations: 23.42 kB / 0.5587 GB, free: 3.875 MB / 395.1 MB Notification: Performance of SimCode: time 1.603e-06/0.6713, allocations: 3.938 kB / 0.5587 GB, free: 3.871 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_CombiTable1D_Test21CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21InitializeParameter.cpp:39: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", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21Initialize.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_Test21CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21.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_Test21CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21FMU.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_CombiTable1D_Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1D_Test21CalcHelperMain.o] Error 1