Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test15.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.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test15,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15",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.002225/0.002224, allocations: 177.8 kB / 8.36 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.203/2.203, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.00114/0.001139, allocations: 89 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.3106/0.3106, allocations: 43.49 MB / 353.6 MB, free: 2.258 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.227e-05/3.2e-05, allocations: 4.219 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4328/0.4328, allocations: 58.86 MB / 477.2 MB, free: 5.16 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.599, allocations: 85.47 MB / 0.5495 GB, free: 13.73 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.5994, allocations: 75.95 kB / 0.5495 GB, free: 13.66 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01132/0.6107, allocations: 2.859 MB / 0.5523 GB, free: 10.78 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6108, allocations: 0 / 0.5523 GB, free: 10.78 MB / 395.1 MB Notification: Performance of Transformations before backend: time 9.858e-06/0.6108, allocations: 0 / 0.5523 GB, free: 10.78 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004257/0.6112, allocations: 361.2 kB / 0.5527 GB, free: 10.39 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.543e-05/0.6113, allocations: 16.03 kB / 0.5527 GB, free: 10.37 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/0.6114, allocations: 12.2 kB / 0.5527 GB, free: 10.36 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.6116, allocations: 174 kB / 0.5529 GB, free: 10.15 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.6116, allocations: 0 / 0.5529 GB, free: 10.15 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.36e-05/0.6116, allocations: 4 kB / 0.5529 GB, free: 10.15 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001408/0.6118, allocations: 39.92 kB / 0.5529 GB, free: 10.11 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.6121, allocations: 167.4 kB / 0.5531 GB, free: 9.891 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.6121, allocations: 7.938 kB / 0.5531 GB, free: 9.883 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.025e-05/0.6121, allocations: 3.953 kB / 0.5531 GB, free: 9.879 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.931e-05/0.6122, allocations: 15.98 kB / 0.5531 GB, free: 9.863 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.6135, allocations: 1.678 MB / 0.5547 GB, free: 8.09 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001235/0.6137, allocations: 173.1 kB / 0.5549 GB, free: 7.91 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.601e-05/0.6138, allocations: 80.14 kB / 0.555 GB, free: 7.828 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.6138, allocations: 75.28 kB / 0.555 GB, free: 7.754 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.85e-05/0.6139, allocations: 113.8 kB / 0.5551 GB, free: 7.633 MB / 395.1 MB Notification: Performance of pre-optimization done (n=0): time 3.306e-06/0.6139, allocations: 0 / 0.5551 GB, free: 7.633 MB / 395.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001208/0.6141, allocations: 33.61 kB / 0.5552 GB, free: 7.594 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.6141, allocations: 51.41 kB / 0.5552 GB, free: 7.531 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002512/0.6144, allocations: 168.1 kB / 0.5554 GB, free: 7.363 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.6144, allocations: 29.64 kB / 0.5554 GB, free: 7.328 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001636/0.6146, allocations: 217.5 kB / 0.5556 GB, free: 7.113 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.6146, allocations: 7.984 kB / 0.5556 GB, free: 7.105 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.6146, allocations: 0 / 0.5556 GB, free: 7.105 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6148, allocations: 318.8 kB / 0.5559 GB, free: 6.785 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.961e-05/0.6149, allocations: 31.98 kB / 0.556 GB, free: 6.754 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001738/0.615, allocations: 144.4 kB / 0.5561 GB, free: 6.555 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001424/0.6152, allocations: 67.92 kB / 0.5562 GB, free: 6.488 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.6152, allocations: 0 / 0.5562 GB, free: 6.488 MB / 395.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004228/0.6156, allocations: 169.2 kB / 0.5563 GB, free: 6.316 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.53e-05/0.6157, allocations: 13.11 kB / 0.5563 GB, free: 6.305 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.6157, allocations: 7.953 kB / 0.5563 GB, free: 6.297 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.983e-05/0.6158, allocations: 8 kB / 0.5564 GB, free: 6.289 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.616, allocations: 39.92 kB / 0.5564 GB, free: 6.25 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.616, allocations: 4 kB / 0.5564 GB, free: 6.246 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00015/0.6162, allocations: 19.78 kB / 0.5564 GB, free: 6.227 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.6162, allocations: 11.98 kB / 0.5564 GB, free: 6.215 MB / 395.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001277/0.6164, allocations: 192.1 kB / 0.5566 GB, free: 6.02 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001143/0.6165, allocations: 146.5 kB / 0.5568 GB, free: 5.863 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.089e-05/0.6166, allocations: 120.8 kB / 0.5569 GB, free: 5.738 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.211e-05/0.6167, allocations: 115.6 kB / 0.557 GB, free: 5.617 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.306e-05/0.6168, allocations: 184.2 kB / 0.5572 GB, free: 5.43 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.13e-05/0.6168, allocations: 176.3 kB / 0.5573 GB, free: 5.25 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.296e-05/0.6169, allocations: 184.2 kB / 0.5575 GB, free: 5.062 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002854/0.6172, allocations: 405.7 kB / 0.5579 GB, free: 4.621 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.262e-05/0.6173, allocations: 105 kB / 0.558 GB, free: 4.512 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.025e-05/0.6173, allocations: 101 kB / 0.5581 GB, free: 4.406 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.426e-05/0.6174, allocations: 180.2 kB / 0.5583 GB, free: 4.223 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.197e-05/0.6175, allocations: 180.2 kB / 0.5584 GB, free: 4.039 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.563e-05/0.6176, allocations: 184.2 kB / 0.5586 GB, free: 3.852 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.196e-05/0.6177, allocations: 184.2 kB / 0.5588 GB, free: 3.664 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.6179, allocations: 307.7 kB / 0.5591 GB, free: 3.34 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.618, allocations: 193.9 kB / 0.5593 GB, free: 3.125 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.014e-05/0.6181, allocations: 180.2 kB / 0.5594 GB, free: 2.941 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.6182, allocations: 108.9 kB / 0.5595 GB, free: 2.828 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.6183, allocations: 184.2 kB / 0.5597 GB, free: 2.641 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.6184, allocations: 105 kB / 0.5598 GB, free: 2.531 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001581/0.6185, allocations: 128.1 kB / 0.5599 GB, free: 2.406 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6186, allocations: 0 / 0.5599 GB, free: 2.406 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004084/0.619, allocations: 12 kB / 0.5599 GB, free: 2.395 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 (0): * Single equations (assignments): 0 * 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.0009314/0.6199, allocations: 0.8944 MB / 0.5608 GB, free: 1.488 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002003/0.6201, allocations: 64.8 kB / 0.5609 GB, free: 1.426 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6201, allocations: 0 / 0.5609 GB, free: 1.426 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 2.464e-06/0.6202, allocations: 320 / 0.5609 GB, free: 1.426 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.6206, allocations: 0.5379 MB / 0.5614 GB, free: 0.8828 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006813/0.6213, allocations: 271.1 kB / 0.5617 GB, free: 0.5703 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.6216, allocations: 0.7006 MB / 0.5623 GB, free: 15.84 MB / 411.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001346/0.6218, allocations: 27.42 kB / 0.5624 GB, free: 15.82 MB / 411.1 MB Notification: Performance of SimCode: time 7.21e-07/0.6218, allocations: 4 kB / 0.5624 GB, free: 15.81 MB / 411.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_CombiTable2D_Test15CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15InitializeParameter.cpp:27:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp8; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15InitializeParameter.cpp:28: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_v4.mat", tmp8); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:96:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp4; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:97: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_v4.mat", tmp4); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:377:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp6; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15Initialize.cpp:378:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp6); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15.cpp:606:16: error: use of undeclared identifier 'tmp0' _fileName_ = tmp0; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15FMU.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_CombiTable2D_Test15CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable2D_Test15CalcHelperMain.o] Error 1