Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.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.Test60,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60",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.001535/0.001535, allocations: 178.4 kB / 8.362 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 1.973/1.973, allocations: 205.3 MB / 214.1 MB, free: 14.16 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.0011/0.0011, allocations: 105.2 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.313/0.313, allocations: 43.48 MB / 353.6 MB, free: 2.281 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.442e-05, allocations: 8 kB / 418.3 MB, free: 40.94 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4146/0.4147, allocations: 58.85 MB / 477.2 MB, free: 5.152 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1739/0.5886, allocations: 87.18 MB / 0.5511 GB, free: 12.03 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/0.589, allocations: 79.45 kB / 0.5512 GB, free: 11.95 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02691/0.6159, allocations: 5.645 MB / 0.5567 GB, free: 6.312 MB / 395.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.616, allocations: 0 / 0.5567 GB, free: 6.312 MB / 395.1 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.616, 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.0006451/0.6167, allocations: 386.9 kB / 0.5571 GB, free: 5.887 MB / 395.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.6167, allocations: 12.03 kB / 0.5571 GB, free: 5.875 MB / 395.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.6168, allocations: 11.89 kB / 0.5571 GB, free: 5.863 MB / 395.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.6172, allocations: 206.8 kB / 0.5573 GB, free: 5.621 MB / 395.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.11e-05/0.6173, allocations: 0 / 0.5573 GB, free: 5.621 MB / 395.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.6173, allocations: 4 kB / 0.5573 GB, free: 5.617 MB / 395.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001041/0.6174, allocations: 19.92 kB / 0.5573 GB, free: 5.598 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001712/0.6176, allocations: 67.39 kB / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.6176, allocations: 0 / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.696e-05/0.6177, allocations: 0 / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.6177, allocations: 0 / 0.5574 GB, free: 5.52 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005313/0.6182, allocations: 265.5 kB / 0.5577 GB, free: 5.223 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001588/0.6184, allocations: 50.62 kB / 0.5577 GB, free: 5.164 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.526e-05/0.6185, allocations: 16.98 kB / 0.5577 GB, free: 5.145 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.6185, allocations: 4 kB / 0.5577 GB, free: 5.141 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/0.6187, allocations: 71.38 kB / 0.5578 GB, free: 5.059 MB / 395.1 MB Notification: Performance of pre-optimization done (n=6): time 2.385e-06/0.6187, allocations: 3.938 kB / 0.5578 GB, free: 5.055 MB / 395.1 MB Notification: Performance of matching and sorting (n=8): time 0.000639/0.6194, allocations: 145.3 kB / 0.5579 GB, free: 4.906 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.724e-05/0.6195, allocations: 85.05 kB / 0.558 GB, free: 4.805 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001998/0.6197, allocations: 140.4 kB / 0.5582 GB, free: 4.664 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.6197, allocations: 29.7 kB / 0.5582 GB, free: 4.629 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.659e-05/0.6198, allocations: 154.6 kB / 0.5583 GB, free: 4.477 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.6199, allocations: 27.64 kB / 0.5584 GB, free: 4.449 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.6199, allocations: 0 / 0.5584 GB, free: 4.449 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.6201, allocations: 318.8 kB / 0.5587 GB, free: 4.129 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.621e-05/0.6201, allocations: 16 kB / 0.5587 GB, free: 4.113 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.718e-05/0.6202, allocations: 34.58 kB / 0.5587 GB, free: 4.07 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.117e-05/0.6203, allocations: 27.92 kB / 0.5587 GB, free: 4.043 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6203, allocations: 0 / 0.5587 GB, free: 4.043 MB / 395.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002336/0.6206, allocations: 81.73 kB / 0.5588 GB, free: 3.957 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.6206, allocations: 4.062 kB / 0.5588 GB, free: 3.953 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.6207, allocations: 12 kB / 0.5588 GB, free: 3.941 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/0.6207, allocations: 3.953 kB / 0.5588 GB, free: 3.938 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/0.6209, allocations: 16 kB / 0.5588 GB, free: 3.922 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.298e-06/0.6209, allocations: 3.938 kB / 0.5589 GB, free: 3.918 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.621, allocations: 7.984 kB / 0.5589 GB, free: 3.91 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.6211, allocations: 4 kB / 0.5589 GB, free: 3.906 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 0.0001176/0.6212, allocations: 105 kB / 0.559 GB, free: 3.797 MB / 395.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002401/0.6214, allocations: 89.58 kB / 0.559 GB, free: 3.703 MB / 395.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.6215, allocations: 23.84 kB / 0.5591 GB, free: 3.68 MB / 395.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003301/0.6218, allocations: 110.4 kB / 0.5592 GB, free: 3.566 MB / 395.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.326e-06/0.6219, allocations: 4 kB / 0.5592 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.6219, allocations: 0 / 0.5592 GB, free: 3.562 MB / 395.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.6219, allocations: 3.984 kB / 0.5592 GB, free: 3.559 MB / 395.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006448/0.6225, allocations: 363.9 kB / 0.5595 GB, free: 3.156 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6226, allocations: 3.953 kB / 0.5595 GB, free: 3.152 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.235e-05/0.6227, allocations: 8 kB / 0.5595 GB, free: 3.145 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.6227, allocations: 4.031 kB / 0.5595 GB, free: 3.141 MB / 395.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.6227, allocations: 7.984 kB / 0.5596 GB, free: 3.133 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.6227, allocations: 288 / 0.5596 GB, free: 3.133 MB / 395.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6227, allocations: 0 / 0.5596 GB, free: 3.133 MB / 395.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.6231, allocations: 213.8 kB / 0.5598 GB, free: 2.898 MB / 395.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.981e-05/0.6231, allocations: 92.95 kB / 0.5598 GB, free: 2.789 MB / 395.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.92e-05/0.6232, allocations: 11.98 kB / 0.5599 GB, free: 2.777 MB / 395.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001376/0.6234, allocations: 0 / 0.5599 GB, free: 2.777 MB / 395.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.6234, allocations: 7.938 kB / 0.5599 GB, free: 2.77 MB / 395.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.543e-05/0.6234, allocations: 11.98 kB / 0.5599 GB, free: 2.758 MB / 395.1 MB Notification: Performance of sorting global known variables: time 0.0001421/0.6236, allocations: 111.3 kB / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6236, allocations: 0 / 0.56 GB, free: 2.648 MB / 395.1 MB Notification: Performance of remove unused functions: time 0.0004356/0.6241, allocations: 39.94 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.002097/0.6262, allocations: 1.147 MB / 0.5611 GB, free: 1.477 MB / 395.1 MB Notification: Performance of simCode: created initialization part: time 0.0002876/0.6265, allocations: 47.94 kB / 0.5612 GB, free: 1.43 MB / 395.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.6265, allocations: 4.062 kB / 0.5612 GB, free: 1.426 MB / 395.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.6267, allocations: 31.98 kB / 0.5612 GB, free: 1.395 MB / 395.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004624/0.6271, allocations: 28.14 kB / 0.5612 GB, free: 1.367 MB / 395.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008536/0.628, allocations: 221.2 kB / 0.5615 GB, free: 1.102 MB / 395.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.6285, allocations: 0.7002 MB / 0.5621 GB, free: 384 kB / 395.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.6286, allocations: 35.42 kB / 0.5622 GB, free: 348 kB / 395.1 MB Notification: Performance of SimCode: time 1.332e-06/0.6286, 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_Test60CalcHelperMain.o OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60InitializeParameter.cpp:44:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60InitializeParameter.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_Test60CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.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_Test60Initialize.cpp:300:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp15; ^ ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.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_Test60CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60.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_Test60CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60FMU.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_Test60CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_3_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.o] Error 1