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.001521/0.001526, allocations: 186.2 kB / 16.41 MB, free: 5.727 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.05/2.05, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001175/0.001175, allocations: 92.36 kB / 270.9 MB, free: 8.406 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5399/0.5399, allocations: 43.56 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006407/0.0006406, allocations: 12 kB / 431.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1409, allocations: 58.85 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4919/0.6329, allocations: 86.63 MB / 0.5634 GB, free: 15.9 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.6332, allocations: 79.95 kB / 0.5635 GB, free: 15.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0185/0.6518, allocations: 4.309 MB / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6518, allocations: 0 / 0.5677 GB, free: 11.55 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.6518, allocations: 0 / 0.5677 GB, free: 11.55 MB / 394.7 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.0005616/0.6524, allocations: 380 kB / 0.5681 GB, free: 11.14 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.6525, allocations: 15.95 kB / 0.5681 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.293e-05/0.6525, allocations: 34.56 kB / 0.5681 GB, free: 11.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.6526, allocations: 11.34 kB / 0.5681 GB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002713/0.6529, allocations: 194.9 kB / 0.5683 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.6529, allocations: 4 kB / 0.5683 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.6529, allocations: 0 / 0.5683 GB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.6531, allocations: 70.84 kB / 0.5684 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.6532, allocations: 0 / 0.5684 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.6532, allocations: 0 / 0.5684 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.6532, allocations: 1.031 kB / 0.5684 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.6534, allocations: 31.97 kB / 0.5684 GB, free: 10.73 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004282/0.6538, allocations: 264.9 kB / 0.5687 GB, free: 10.42 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.6541, allocations: 50.48 kB / 0.5687 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.559e-05/0.6542, allocations: 4 kB / 0.5687 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.6542, allocations: 34.56 kB / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.6542, allocations: 0 / 0.5688 GB, free: 10.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008745/0.6551, allocations: 153.7 kB / 0.5689 GB, free: 10.16 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/0.6552, allocations: 89 kB / 0.569 GB, free: 10.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.6554, allocations: 118.1 kB / 0.5691 GB, free: 9.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.6554, allocations: 29.69 kB / 0.5691 GB, free: 9.895 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.071e-05/0.6555, allocations: 154.6 kB / 0.5693 GB, free: 9.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.6555, allocations: 19.75 kB / 0.5693 GB, free: 9.723 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.49e-06/0.6555, allocations: 0 / 0.5693 GB, free: 9.723 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.6557, allocations: 314.8 kB / 0.5696 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/0.6558, allocations: 23.98 kB / 0.5696 GB, free: 9.383 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001391/0.656, allocations: 33.7 kB / 0.5697 GB, free: 9.344 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001358/0.6561, allocations: 35.95 kB / 0.5697 GB, free: 9.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6562, allocations: 0 / 0.5697 GB, free: 9.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003275/0.6565, allocations: 81.66 kB / 0.5698 GB, free: 9.223 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6565, allocations: 4 kB / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.6565, allocations: 0 / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.6566, allocations: 0 / 0.5698 GB, free: 9.219 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001254/0.6567, allocations: 16.28 kB / 0.5698 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.6567, allocations: 0 / 0.5698 GB, free: 9.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.445e-05/0.6568, allocations: 11.94 kB / 0.5698 GB, free: 9.191 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.639e-06/0.6569, allocations: 4 kB / 0.5698 GB, free: 9.188 MB / 394.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 () * Number of clocked 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 0.0001164/0.657, allocations: 117.8 kB / 0.5699 GB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.683e-05/0.657, allocations: 7.906 kB / 0.5699 GB, free: 9.055 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003889/0.6574, allocations: 106.4 kB / 0.57 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.6575, allocations: 0 / 0.57 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6575, allocations: 0 / 0.57 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.6575, allocations: 0 / 0.57 GB, free: 8.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006413/0.6581, allocations: 362.8 kB / 0.5704 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.6582, allocations: 4 kB / 0.5704 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.6583, allocations: 15.98 kB / 0.5704 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.6583, allocations: 0 / 0.5704 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.6583, allocations: 0 / 0.5704 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.6583, allocations: 0 / 0.5704 GB, free: 8.516 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6583, allocations: 3.953 kB / 0.5704 GB, free: 8.512 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003657/0.6587, allocations: 187.4 kB / 0.5706 GB, free: 8.312 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-05/0.6588, allocations: 93 kB / 0.5707 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.621e-05/0.6588, allocations: 0 / 0.5707 GB, free: 8.203 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001172/0.659, allocations: 11.92 kB / 0.5707 GB, free: 8.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.221e-05/0.659, allocations: 15.89 kB / 0.5707 GB, free: 8.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.659, allocations: 0 / 0.5707 GB, free: 8.176 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000124/0.6592, allocations: 110.5 kB / 0.5708 GB, free: 8.07 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.6592, allocations: 0 / 0.5708 GB, free: 8.07 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004018/0.6596, allocations: 27.98 kB / 0.5708 GB, free: 8.043 MB / 394.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 () * Number of clocked 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.001925/0.6615, allocations: 1.053 MB / 0.5718 GB, free: 7.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.662, allocations: 59.91 kB / 0.5719 GB, free: 7.012 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.662, allocations: 0 / 0.5719 GB, free: 7.012 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001438/0.6622, allocations: 31.97 kB / 0.5719 GB, free: 6.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003221/0.6625, allocations: 8 kB / 0.5719 GB, free: 6.973 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001623/0.6641, allocations: 0.5686 MB / 0.5725 GB, free: 6.352 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003423/0.6645, allocations: 0.6887 MB / 0.5732 GB, free: 5.637 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.6647, allocations: 27.48 kB / 0.5732 GB, free: 5.613 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6647, allocations: 0 / 0.5732 GB, free: 5.613 MB / 394.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_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/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_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTable1Ds_Test19CalcHelperMain.o] Error 1