Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test55.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.Test55,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55",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.002284/0.002284, allocations: 185.9 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.299/2.299, allocations: 205.4 MB / 222.5 MB, free: 9.141 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.001115/0.001114, allocations: 93.3 kB / 270.9 MB, free: 8.387 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.5402/0.5402, allocations: 43.55 MB / 362.7 MB, free: 52.14 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005011/0.0005012, allocations: 16 kB / 431.5 MB, free: 6.094 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1366, allocations: 58.85 MB / 490.3 MB, free: 11.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4752/0.6119, allocations: 87.93 MB / 0.5647 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.6122, allocations: 75.97 kB / 0.5648 GB, free: 14.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02571/0.638, allocations: 5.969 MB / 0.5706 GB, free: 8.754 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.638, allocations: 1.766 kB / 0.5706 GB, free: 8.754 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.479e-05/0.6381, allocations: 4 kB / 0.5706 GB, free: 8.75 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.0007116/0.6388, allocations: 410 kB / 0.571 GB, free: 8.305 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/0.6389, allocations: 12.03 kB / 0.571 GB, free: 8.293 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.105e-05/0.6389, allocations: 34.56 kB / 0.571 GB, free: 8.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.543e-05/0.639, allocations: 11.34 kB / 0.5711 GB, free: 8.242 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003691/0.6394, allocations: 210.8 kB / 0.5713 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.6394, allocations: 0 / 0.5713 GB, free: 7.996 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.6394, allocations: 7.984 kB / 0.5713 GB, free: 7.988 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002141/0.6397, allocations: 67.39 kB / 0.5713 GB, free: 7.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.166e-05/0.6397, allocations: 9.016 kB / 0.5713 GB, free: 7.902 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.464e-05/0.6397, allocations: 8 kB / 0.5713 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.6398, allocations: 0 / 0.5713 GB, free: 7.895 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/0.6399, allocations: 30.69 kB / 0.5714 GB, free: 7.867 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.6404, allocations: 284.8 kB / 0.5716 GB, free: 7.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.6407, allocations: 58.67 kB / 0.5717 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.6407, allocations: 0 / 0.5717 GB, free: 7.473 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002103/0.6409, allocations: 79.44 kB / 0.5718 GB, free: 7.383 MB / 394.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.6409, allocations: 0 / 0.5718 GB, free: 7.383 MB / 394.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008111/0.6418, allocations: 177.2 kB / 0.5719 GB, free: 7.203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/0.6418, allocations: 77.11 kB / 0.572 GB, free: 7.109 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/0.6421, allocations: 147 kB / 0.5722 GB, free: 6.961 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.6421, allocations: 25.7 kB / 0.5722 GB, free: 6.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.934e-05/0.6422, allocations: 166.6 kB / 0.5723 GB, free: 6.766 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.6422, allocations: 23.7 kB / 0.5724 GB, free: 6.742 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.6423, allocations: 0 / 0.5724 GB, free: 6.742 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6424, allocations: 310.8 kB / 0.5727 GB, free: 6.43 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.727e-05/0.6425, allocations: 23.98 kB / 0.5727 GB, free: 6.406 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001131/0.6426, allocations: 38.56 kB / 0.5727 GB, free: 6.359 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.6427, allocations: 32.03 kB / 0.5728 GB, free: 6.328 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6428, allocations: 0 / 0.5728 GB, free: 6.328 MB / 394.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000297/0.6431, allocations: 97.5 kB / 0.5728 GB, free: 6.227 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.6431, allocations: 11.95 kB / 0.5729 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.6431, allocations: 0 / 0.5729 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.6431, allocations: 0 / 0.5729 GB, free: 6.215 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.6433, allocations: 23.92 kB / 0.5729 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.6433, allocations: 0 / 0.5729 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.051e-05/0.6434, allocations: 4.938 kB / 0.5729 GB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.6434, allocations: 4 kB / 0.5729 GB, free: 6.184 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.000132/0.6436, allocations: 131 kB / 0.573 GB, free: 6.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.6436, allocations: 7.906 kB / 0.573 GB, free: 6.039 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003869/0.644, allocations: 126.4 kB / 0.5731 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.644, allocations: 0 / 0.5731 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.6441, allocations: 96 / 0.5731 GB, free: 5.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.6441, allocations: 3.938 kB / 0.5731 GB, free: 5.906 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006639/0.6447, allocations: 407.2 kB / 0.5735 GB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.6448, allocations: 7.953 kB / 0.5735 GB, free: 5.441 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.347e-05/0.6449, allocations: 11.98 kB / 0.5736 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.6449, allocations: 0 / 0.5736 GB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.6449, allocations: 4.375 kB / 0.5736 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6449, allocations: 0 / 0.5736 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.6449, allocations: 0 / 0.5736 GB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003749/0.6453, allocations: 233.8 kB / 0.5738 GB, free: 5.172 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.198e-05/0.6454, allocations: 89 kB / 0.5739 GB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.6455, allocations: 4 kB / 0.5739 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.6456, allocations: 4 kB / 0.5739 GB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.914e-05/0.6457, allocations: 7.984 kB / 0.5739 GB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.6457, allocations: 7.938 kB / 0.5739 GB, free: 5.043 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001522/0.6458, allocations: 121.8 kB / 0.574 GB, free: 4.926 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6459, allocations: 4 kB / 0.574 GB, free: 4.922 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003935/0.6463, allocations: 35.98 kB / 0.574 GB, free: 4.887 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.002069/0.6483, allocations: 1.237 MB / 0.5753 GB, free: 3.727 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003193/0.6487, allocations: 67.91 kB / 0.5753 GB, free: 3.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.6487, allocations: 0 / 0.5753 GB, free: 3.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001244/0.6488, allocations: 31.98 kB / 0.5753 GB, free: 3.629 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003919/0.6492, allocations: 23.97 kB / 0.5754 GB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001654/0.6509, allocations: 0.8285 MB / 0.5762 GB, free: 2.711 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.6513, allocations: 0.7004 MB / 0.5769 GB, free: 1.984 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.6514, allocations: 39.42 kB / 0.5769 GB, free: 1.945 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6514, allocations: 0 / 0.5769 GB, free: 1.945 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_Test55CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55InitializeParameter.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_v4.mat", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55Initialize.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_CombiTimeTable_Test55Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55Initialize.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_Test55CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55.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_Test55CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55FMU.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_Test55CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.o] Error 1