Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test19.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.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test19,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19",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.002273/0.002273, allocations: 176.9 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.258/2.258, allocations: 205.3 MB / 214.1 MB, free: 14.08 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.001164/0.001164, allocations: 94.34 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.3187/0.3187, allocations: 43.49 MB / 353.6 MB, free: 2.266 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.042e-05, allocations: 4.219 kB / 418.3 MB, free: 40.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4093/0.4094, allocations: 58.85 MB / 477.2 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1626/0.5721, allocations: 85.88 MB / 0.5499 GB, free: 13.4 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/0.5724, allocations: 79.94 kB / 0.5499 GB, free: 13.32 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.01739/0.5898, allocations: 3.994 MB / 0.5538 GB, free: 9.332 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5899, allocations: 0 / 0.5538 GB, free: 9.332 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.5899, allocations: 4 kB / 0.5538 GB, free: 9.328 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.0004997/0.5904, allocations: 370.3 kB / 0.5542 GB, free: 8.922 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/0.5905, allocations: 12.03 kB / 0.5542 GB, free: 8.91 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.552e-05/0.5906, allocations: 4.531 kB / 0.5542 GB, free: 8.906 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.5909, allocations: 192.3 kB / 0.5544 GB, free: 8.68 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.27e-05/0.5909, allocations: 0 / 0.5544 GB, free: 8.68 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.5909, allocations: 0 / 0.5544 GB, free: 8.68 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.73e-05/0.591, allocations: 12 kB / 0.5544 GB, free: 8.668 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.5912, allocations: 63.34 kB / 0.5545 GB, free: 8.594 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.5912, allocations: 4 kB / 0.5545 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.5912, allocations: 0 / 0.5545 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5912, allocations: 0 / 0.5545 GB, free: 8.59 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.5916, allocations: 257.4 kB / 0.5547 GB, free: 8.301 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.5919, allocations: 38.52 kB / 0.5548 GB, free: 8.254 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.592, allocations: 12.86 kB / 0.5548 GB, free: 8.238 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.592, allocations: 0 / 0.5548 GB, free: 8.238 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.592, allocations: 42.58 kB / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of pre-optimization done (n=3): time 1.523e-06/0.5921, allocations: 0 / 0.5548 GB, free: 8.188 MB / 395.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005137/0.5926, allocations: 93.39 kB / 0.5549 GB, free: 8.09 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.319e-05/0.5926, allocations: 77.11 kB / 0.555 GB, free: 7.996 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.5928, allocations: 117.9 kB / 0.5551 GB, free: 7.875 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.5928, allocations: 29.7 kB / 0.5551 GB, free: 7.84 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.686e-05/0.5929, allocations: 158.5 kB / 0.5553 GB, free: 7.684 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.107e-05/0.593, allocations: 15.75 kB / 0.5553 GB, free: 7.668 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.284e-06/0.593, allocations: 4 kB / 0.5553 GB, free: 7.664 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.5931, allocations: 322.9 kB / 0.5556 GB, free: 7.34 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.148e-05/0.5932, allocations: 8 kB / 0.5556 GB, free: 7.332 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.655e-05/0.5932, allocations: 21.72 kB / 0.5556 GB, free: 7.305 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.205e-05/0.5933, allocations: 12.03 kB / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5933, allocations: 0 / 0.5556 GB, free: 7.293 MB / 395.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001342/0.5935, allocations: 53.69 kB / 0.5557 GB, free: 7.234 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.5935, allocations: 8 kB / 0.5557 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5935, allocations: 0 / 0.5557 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5935, allocations: 0 / 0.5557 GB, free: 7.227 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.5937, allocations: 15.98 kB / 0.5557 GB, free: 7.211 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.331e-06/0.5937, allocations: 0 / 0.5557 GB, free: 7.211 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.769e-05/0.5938, allocations: 8 kB / 0.5557 GB, free: 7.203 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.868e-06/0.5938, allocations: 0 / 0.5557 GB, free: 7.203 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.757e-05/0.5939, allocations: 112.9 kB / 0.5558 GB, free: 7.086 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001553/0.5941, allocations: 61.59 kB / 0.5559 GB, free: 7.02 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.695e-05/0.5941, allocations: 3.906 kB / 0.5559 GB, free: 7.016 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002021/0.5943, allocations: 66.39 kB / 0.5559 GB, free: 6.945 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5944, allocations: 0 / 0.5559 GB, free: 6.945 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.5944, allocations: 4.062 kB / 0.5559 GB, free: 6.941 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.5944, allocations: 8.094 kB / 0.556 GB, free: 6.934 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004493/0.5949, allocations: 303.1 kB / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.5949, allocations: 0 / 0.5562 GB, free: 6.594 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001207/0.595, allocations: 15.98 kB / 0.5563 GB, free: 6.578 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.492e-06/0.595, allocations: 0 / 0.5563 GB, free: 6.578 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5951, allocations: 3.984 kB / 0.5563 GB, free: 6.574 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.5951, allocations: 0 / 0.5563 GB, free: 6.574 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.5951, allocations: 3.953 kB / 0.5563 GB, free: 6.57 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001902/0.5953, allocations: 163.4 kB / 0.5564 GB, free: 6.395 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.5954, allocations: 89.02 kB / 0.5565 GB, free: 6.289 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.277e-05/0.5954, allocations: 0 / 0.5565 GB, free: 6.289 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.5955, allocations: 11.92 kB / 0.5565 GB, free: 6.277 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.048e-05/0.5956, allocations: 4 kB / 0.5565 GB, free: 6.273 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.5956, allocations: 3.953 kB / 0.5565 GB, free: 6.27 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001093/0.5957, allocations: 111.7 kB / 0.5566 GB, free: 6.16 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5957, allocations: 4 kB / 0.5566 GB, free: 6.156 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004001/0.5962, allocations: 28 kB / 0.5567 GB, free: 6.129 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.001497/0.5977, allocations: 0.9514 MB / 0.5576 GB, free: 5.199 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.5979, allocations: 27.98 kB / 0.5576 GB, free: 5.172 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.5979, allocations: 0 / 0.5576 GB, free: 5.172 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 4.456e-05/0.5979, allocations: 12 kB / 0.5576 GB, free: 5.16 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.5983, allocations: 19.8 kB / 0.5576 GB, free: 5.141 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006411/0.5989, allocations: 175.5 kB / 0.5578 GB, free: 4.922 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003156/0.5993, allocations: 0.6962 MB / 0.5585 GB, free: 4.199 MB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.78e-05/0.5994, allocations: 23.42 kB / 0.5585 GB, free: 4.176 MB / 395.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5994, allocations: 3.938 kB / 0.5585 GB, free: 4.172 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_CombiTable1Ds_Test19CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19InitializeParameter.cpp:38:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp24; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19InitializeParameter.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_v4.mat", tmp24); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.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_v4.mat", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.cpp:244:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19Initialize.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_CombiTable1Ds_Test19CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19.cpp:712:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19FMU.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_CombiTable1Ds_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.o] Error 1