Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test59.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.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59",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.001618/0.001618, allocations: 186.5 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.117/2.117, allocations: 205.4 MB / 222.5 MB, free: 9.133 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.001142/0.001142, allocations: 88.52 kB / 270.9 MB, free: 8.395 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.5133/0.5133, allocations: 43.55 MB / 362.7 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004824, allocations: 20 kB / 431.5 MB, free: 5.855 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1277, allocations: 58.84 MB / 490.3 MB, free: 10.93 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5157/0.6435, allocations: 87.93 MB / 0.5647 GB, free: 14.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.6439, allocations: 80.45 kB / 0.5648 GB, free: 14.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02711/0.671, allocations: 5.965 MB / 0.5706 GB, free: 8.477 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.671, allocations: 0.5469 kB / 0.5706 GB, free: 8.477 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.6711, allocations: 0 / 0.5706 GB, free: 8.477 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007268/0.6718, allocations: 410 kB / 0.571 GB, free: 8.031 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.6719, allocations: 15.5 kB / 0.571 GB, free: 8.02 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.958e-05/0.6719, allocations: 35.42 kB / 0.571 GB, free: 7.977 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.672, allocations: 15.34 kB / 0.5711 GB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.6724, allocations: 210.7 kB / 0.5713 GB, free: 7.719 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.647e-05/0.6724, allocations: 8 kB / 0.5713 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.6725, allocations: 0 / 0.5713 GB, free: 7.711 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.6727, allocations: 71.39 kB / 0.5713 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.6727, allocations: 1.031 kB / 0.5713 GB, free: 7.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.6728, allocations: 7.984 kB / 0.5713 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.6728, allocations: 0 / 0.5713 GB, free: 7.621 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001221/0.6729, allocations: 27.88 kB / 0.5714 GB, free: 7.594 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.6734, allocations: 284.9 kB / 0.5716 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002606/0.6737, allocations: 58.67 kB / 0.5717 GB, free: 7.199 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.6737, allocations: 4 kB / 0.5717 GB, free: 7.195 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.674, allocations: 67.45 kB / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 3.066e-06/0.674, allocations: 0 / 0.5718 GB, free: 7.117 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008551/0.6748, allocations: 177.2 kB / 0.5719 GB, free: 6.938 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.814e-05/0.6749, allocations: 81.11 kB / 0.572 GB, free: 6.84 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.6752, allocations: 147.2 kB / 0.5722 GB, free: 6.691 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.6752, allocations: 29.7 kB / 0.5722 GB, free: 6.656 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.174e-05/0.6753, allocations: 162.6 kB / 0.5723 GB, free: 6.496 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.964e-05/0.6754, allocations: 19.72 kB / 0.5724 GB, free: 6.477 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.615e-06/0.6754, allocations: 0 / 0.5724 GB, free: 6.477 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.6755, allocations: 318.8 kB / 0.5727 GB, free: 6.156 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.666e-05/0.6756, allocations: 16 kB / 0.5727 GB, free: 6.141 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.6758, allocations: 50.55 kB / 0.5727 GB, free: 6.082 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001115/0.6759, allocations: 28.02 kB / 0.5728 GB, free: 6.055 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.6759, allocations: 0 / 0.5728 GB, free: 6.055 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003234/0.6763, allocations: 102.3 kB / 0.5728 GB, free: 5.949 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.422e-05/0.6763, allocations: 7.953 kB / 0.5729 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6763, allocations: 0 / 0.5729 GB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.6763, allocations: 4.75 kB / 0.5729 GB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.6765, allocations: 12 kB / 0.5729 GB, free: 5.926 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.6765, allocations: 3.938 kB / 0.5729 GB, free: 5.922 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.6766, allocations: 7.984 kB / 0.5729 GB, free: 5.914 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.6767, allocations: 8.656 kB / 0.5729 GB, free: 5.906 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001459/0.6768, allocations: 121.8 kB / 0.573 GB, free: 5.777 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.6769, allocations: 7.906 kB / 0.573 GB, free: 5.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004288/0.6773, allocations: 130.5 kB / 0.5731 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6773, allocations: 0 / 0.5731 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.6774, allocations: 0 / 0.5731 GB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.498e-05/0.6774, allocations: 7.969 kB / 0.5731 GB, free: 5.629 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007501/0.6781, allocations: 411.2 kB / 0.5735 GB, free: 5.168 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6782, allocations: 3.953 kB / 0.5735 GB, free: 5.164 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.941e-05/0.6783, allocations: 8 kB / 0.5736 GB, free: 5.156 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.6783, allocations: 4 kB / 0.5736 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.6783, allocations: 4.375 kB / 0.5736 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.6783, allocations: 0 / 0.5736 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6783, allocations: 4 kB / 0.5736 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004462/0.6788, allocations: 229.8 kB / 0.5738 GB, free: 4.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.588e-05/0.6789, allocations: 89.02 kB / 0.5739 GB, free: 4.789 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.6789, allocations: 7.984 kB / 0.5739 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.6791, allocations: 0 / 0.5739 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.6791, allocations: 4 kB / 0.5739 GB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.331e-05/0.6792, allocations: 11.98 kB / 0.5739 GB, free: 4.766 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001662/0.6793, allocations: 123 kB / 0.574 GB, free: 4.648 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6794, allocations: 8 kB / 0.574 GB, free: 4.641 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004041/0.6798, allocations: 28 kB / 0.574 GB, free: 4.613 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002218/0.682, allocations: 1.234 MB / 0.5752 GB, free: 3.457 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003658/0.6824, allocations: 67.91 kB / 0.5753 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.6824, allocations: 0 / 0.5753 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.6826, allocations: 31.98 kB / 0.5753 GB, free: 3.359 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.683, allocations: 19.98 kB / 0.5754 GB, free: 3.34 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.6848, allocations: 0.8327 MB / 0.5762 GB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003463/0.6852, allocations: 0.7082 MB / 0.5769 GB, free: 1.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.6853, allocations: 31.42 kB / 0.5769 GB, free: 1.68 MB / 394.7 MB Notification: Performance of SimCode: time 1.413e-06/0.6854, allocations: 0 / 0.5769 GB, free: 1.68 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_CombiTimeTable_Test59CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59InitializeParameter.cpp:45: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", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59Initialize.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", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59Initialize.cpp:301:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp15); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59.cpp:785:24: error: use of undeclared identifier 'tmp4' _t_new_P_fileName_ = tmp4; ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59FMU.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_CombiTimeTable_Test59CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.o] Error 1