Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1Ds.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test18,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18",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.002459/0.002464, allocations: 181 kB / 13.66 MB, free: 1.664 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.248/2.248, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.00111/0.00111, allocations: 86.7 kB / 267.5 MB, free: 14.03 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.3116/0.3116, allocations: 43.49 MB / 359.1 MB, free: 12.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.641e-05, allocations: 4 kB / 425.4 MB, free: 23.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.153, allocations: 58.85 MB / 484.2 MB, free: 12.36 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4922/0.6454, allocations: 86.6 MB / 0.5575 GB, free: 0.5312 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/0.6457, allocations: 71.84 kB / 0.5575 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01868/0.6644, allocations: 4.405 MB / 0.5618 GB, free: 13.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6644, allocations: 0 / 0.5618 GB, free: 13.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.781e-05/0.6645, allocations: 4 kB / 0.5618 GB, free: 13.01 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005188/0.665, allocations: 366.8 kB / 0.5622 GB, free: 12.61 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.665, allocations: 8.031 kB / 0.5622 GB, free: 12.61 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.107e-05/0.6651, allocations: 38.44 kB / 0.5622 GB, free: 12.56 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.6652, allocations: 11.89 kB / 0.5622 GB, free: 12.55 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002948/0.6655, allocations: 199.9 kB / 0.5624 GB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.6655, allocations: 8 kB / 0.5624 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.6655, allocations: 7.812 kB / 0.5624 GB, free: 12.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.6657, allocations: 66.88 kB / 0.5625 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.6658, allocations: 3.984 kB / 0.5625 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.6658, allocations: 0 / 0.5625 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.6658, allocations: 4 kB / 0.5625 GB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.6659, allocations: 23.86 kB / 0.5625 GB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.6664, allocations: 299.8 kB / 0.5628 GB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.6666, allocations: 46.33 kB / 0.5629 GB, free: 11.84 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.6666, allocations: 16.8 kB / 0.5629 GB, free: 11.83 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.364e-05/0.6667, allocations: 8.047 kB / 0.5629 GB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.6667, allocations: 38.44 kB / 0.5629 GB, free: 11.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.964e-06/0.6667, allocations: 0 / 0.5629 GB, free: 11.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006293/0.6674, allocations: 136.1 kB / 0.5631 GB, free: 11.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.6675, allocations: 81.11 kB / 0.5631 GB, free: 11.56 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.6676, allocations: 124.7 kB / 0.5632 GB, free: 11.44 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/0.6677, allocations: 33.39 kB / 0.5633 GB, free: 11.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.13e-05/0.6678, allocations: 154.5 kB / 0.5634 GB, free: 11.26 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.411e-05/0.6678, allocations: 31.42 kB / 0.5635 GB, free: 11.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.6678, allocations: 0 / 0.5635 GB, free: 11.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.668, allocations: 314.8 kB / 0.5638 GB, free: 10.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.217e-05/0.6681, allocations: 15.5 kB / 0.5638 GB, free: 10.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.4e-05/0.6681, allocations: 29.59 kB / 0.5638 GB, free: 10.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.826e-05/0.6682, allocations: 23.77 kB / 0.5638 GB, free: 10.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.708e-06/0.6682, allocations: 0 / 0.5638 GB, free: 10.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000208/0.6685, allocations: 77.05 kB / 0.5639 GB, free: 10.79 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.6685, allocations: 8 kB / 0.5639 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.6685, allocations: 0 / 0.5639 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.6685, allocations: 0 / 0.5639 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.6687, allocations: 27.97 kB / 0.5639 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.236e-06/0.6688, allocations: 0 / 0.5639 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.425e-05/0.6689, allocations: 4 kB / 0.5639 GB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.6689, allocations: 7.875 kB / 0.5639 GB, free: 10.75 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 (8): * Single equations (assignments): 8 * 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.336e-05/0.669, allocations: 106.5 kB / 0.564 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.6691, allocations: 11.84 kB / 0.5641 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002832/0.6694, allocations: 97.55 kB / 0.5641 GB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.6694, allocations: 3.938 kB / 0.5642 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.6694, allocations: 3.953 kB / 0.5642 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.6694, allocations: 0 / 0.5642 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.67, allocations: 368.8 kB / 0.5645 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.67, allocations: 0 / 0.5645 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.6702, allocations: 27.8 kB / 0.5645 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.6702, allocations: 0 / 0.5645 GB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.6702, allocations: 7.953 kB / 0.5645 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.191e-06/0.6703, allocations: 4 kB / 0.5645 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.6703, allocations: 0 / 0.5645 GB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000247/0.6705, allocations: 180.3 kB / 0.5647 GB, free: 9.941 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.831e-05/0.6706, allocations: 83.98 kB / 0.5648 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.403e-05/0.6706, allocations: 0 / 0.5648 GB, free: 9.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.6708, allocations: 15.12 kB / 0.5648 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.455e-05/0.6708, allocations: 11.98 kB / 0.5648 GB, free: 9.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.186e-05/0.6709, allocations: 4.188 kB / 0.5648 GB, free: 9.816 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001245/0.671, allocations: 106.1 kB / 0.5649 GB, free: 9.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.671, allocations: 0 / 0.5649 GB, free: 9.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003683/0.6714, allocations: 46.08 kB / 0.565 GB, free: 9.684 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 (8): * Single equations (assignments): 8 * 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.001689/0.6731, allocations: 1.001 MB / 0.566 GB, free: 8.727 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.6733, allocations: 44.12 kB / 0.566 GB, free: 8.695 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6734, allocations: 0 / 0.566 GB, free: 8.695 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.249e-05/0.6734, allocations: 30.3 kB / 0.566 GB, free: 8.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.6738, allocations: 20.17 kB / 0.566 GB, free: 8.656 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007351/0.6745, allocations: 200.7 kB / 0.5662 GB, free: 8.434 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003522/0.6749, allocations: 0.699 MB / 0.5669 GB, free: 7.711 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.675, allocations: 31.55 kB / 0.5669 GB, free: 7.688 MB / 378.7 MB Notification: Performance of SimCode: time 9.01e-07/0.675, allocations: 0 / 0.5669 GB, free: 7.688 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_CombiTable1Ds_Test18CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:39:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp28; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18InitializeParameter.cpp:40: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.txt", tmp28); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp11; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.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.txt", tmp11); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:278:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp19; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18Initialize.cpp:279:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT0, tmp19); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18.cpp:745:24: error: use of undeclared identifier 'tmp6' _t_new_P_fileName_ = tmp6; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18FMU.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_CombiTable1Ds_Test18CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test18CalcHelperMain.o] Error 1