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.001583/0.001588, allocations: 177.7 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.113/2.113, allocations: 205.3 MB / 214.1 MB, free: 14.13 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.001095/0.001095, allocations: 87.98 kB / 262.1 MB, free: 13.87 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.2955/0.2955, allocations: 43.49 MB / 353.6 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.767e-05/3.786e-05, allocations: 4.219 kB / 418.3 MB, free: 40.92 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 58.85 MB / 477.2 MB, free: 5.156 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.5822, allocations: 87.18 MB / 0.5511 GB, free: 12.02 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002695/0.5826, allocations: 71.97 kB / 0.5512 GB, free: 11.95 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02481/0.6074, allocations: 5.637 MB / 0.5567 GB, free: 6.316 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.6074, allocations: 3.938 kB / 0.5567 GB, free: 6.312 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.6075, allocations: 4 kB / 0.5567 GB, free: 6.309 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005705/0.608, allocations: 390.9 kB / 0.5571 GB, free: 5.883 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.6081, allocations: 8.031 kB / 0.5571 GB, free: 5.875 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.89e-05/0.6082, allocations: 7.906 kB / 0.5571 GB, free: 5.867 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003936/0.6086, allocations: 210.8 kB / 0.5573 GB, free: 5.621 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.6086, allocations: 4 kB / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.6086, allocations: 0 / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.718e-05/0.6087, allocations: 23.92 kB / 0.5573 GB, free: 5.594 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.6089, allocations: 59.41 kB / 0.5574 GB, free: 5.523 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.6089, allocations: 4 kB / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.609, allocations: 7.922 kB / 0.5574 GB, free: 5.512 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.609, allocations: 4 kB / 0.5574 GB, free: 5.508 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004326/0.6094, allocations: 261.5 kB / 0.5577 GB, free: 5.215 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.6096, allocations: 50.62 kB / 0.5577 GB, free: 5.156 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.607e-05/0.6097, allocations: 20.98 kB / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.6097, allocations: 0 / 0.5577 GB, free: 5.133 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001721/0.6099, allocations: 67.39 kB / 0.5578 GB, free: 5.055 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 4.178e-06/0.6099, allocations: 0 / 0.5578 GB, free: 5.055 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005576/0.6104, allocations: 157.1 kB / 0.5579 GB, free: 4.895 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.6105, allocations: 77.11 kB / 0.558 GB, free: 4.801 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.6107, allocations: 136.4 kB / 0.5582 GB, free: 4.664 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/0.6108, allocations: 29.7 kB / 0.5582 GB, free: 4.629 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000101/0.6109, allocations: 166.5 kB / 0.5583 GB, free: 4.465 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.914e-05/0.6109, allocations: 23.66 kB / 0.5584 GB, free: 4.441 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.6109, allocations: 0 / 0.5584 GB, free: 4.441 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.6111, allocations: 310.8 kB / 0.5587 GB, free: 4.129 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.97e-05/0.6112, allocations: 23.98 kB / 0.5587 GB, free: 4.105 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.6112, allocations: 34.58 kB / 0.5587 GB, free: 4.062 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.645e-05/0.6113, allocations: 28.02 kB / 0.5587 GB, free: 4.035 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6113, allocations: 3.938 kB / 0.5587 GB, free: 4.031 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/0.6116, allocations: 81.67 kB / 0.5588 GB, free: 3.945 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.6116, allocations: 4 kB / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.6116, allocations: 0 / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.6116, allocations: 3.953 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001457/0.6118, allocations: 19.98 kB / 0.5588 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-05/0.6118, allocations: 8.078 kB / 0.5589 GB, free: 3.91 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.426e-05/0.6119, allocations: 4 kB / 0.5589 GB, free: 3.906 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.6119, allocations: 4.031 kB / 0.5589 GB, free: 3.902 MB / 395.1 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 () * 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 9.772e-05/0.612, allocations: 109 kB / 0.559 GB, free: 3.789 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002174/0.6123, allocations: 89.58 kB / 0.5591 GB, free: 3.695 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.322e-05/0.6123, allocations: 11.86 kB / 0.5591 GB, free: 3.684 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002965/0.6126, allocations: 114.3 kB / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.6127, allocations: 0 / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6127, allocations: 96 / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6127, allocations: 3.938 kB / 0.5592 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000561/0.6132, allocations: 371.9 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.6133, allocations: 3.953 kB / 0.5595 GB, free: 3.148 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/0.6134, allocations: 12 kB / 0.5595 GB, free: 3.137 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.6134, allocations: 0 / 0.5595 GB, free: 3.137 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.6134, allocations: 0 / 0.5595 GB, free: 3.137 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.71e-06/0.6134, allocations: 4 kB / 0.5596 GB, free: 3.133 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.6134, allocations: 0 / 0.5596 GB, free: 3.133 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.6137, allocations: 213.9 kB / 0.5598 GB, free: 2.898 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.712e-05/0.6138, allocations: 93 kB / 0.5598 GB, free: 2.789 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.264e-05/0.6139, allocations: 3.938 kB / 0.5598 GB, free: 2.785 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.614, allocations: 4 kB / 0.5599 GB, free: 2.781 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.59e-05/0.614, allocations: 7.984 kB / 0.5599 GB, free: 2.773 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.6141, allocations: 4.125 kB / 0.5599 GB, free: 2.77 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001314/0.6142, allocations: 119.3 kB / 0.56 GB, free: 2.652 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6142, allocations: 4 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004036/0.6146, allocations: 39.91 kB / 0.56 GB, free: 2.609 MB / 395.1 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) * 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.001835/0.6165, allocations: 1.143 MB / 0.5611 GB, free: 1.484 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002142/0.6167, allocations: 59.92 kB / 0.5612 GB, free: 1.426 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.6167, allocations: 0 / 0.5612 GB, free: 1.426 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.6168, allocations: 27.98 kB / 0.5612 GB, free: 1.398 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003696/0.6172, allocations: 23.84 kB / 0.5612 GB, free: 1.375 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007096/0.6179, allocations: 229.3 kB / 0.5615 GB, free: 1.102 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003425/0.6183, allocations: 0.7041 MB / 0.5621 GB, free: 380 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.755e-05/0.6184, allocations: 31.42 kB / 0.5622 GB, free: 348 kB / 395.1 MB Notification: Performance of SimCode: time 8.92e-07/0.6184, allocations: 0 / 0.5622 GB, free: 348 kB / 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_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/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_CombiTimeTable_Test55CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.o] Error 1