Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test60.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test60,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.186/2.186, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006151/0.0006153, allocations: 12 kB / 314.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3596/0.3602, allocations: 54.87 MB / 369.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1706/0.5309, allocations: 82.36 MB / 451.7 MB, free: 8.141 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/0.5312, allocations: 75.95 kB / 451.8 MB, free: 8.066 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02209/0.5533, allocations: 5.166 MB / 457 MB, free: 2.891 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.5534, allocations: 0 / 457 MB, free: 2.891 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.064e-05/0.5534, allocations: 4 kB / 457 MB, free: 2.887 MB / 378.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.0006858/0.5541, allocations: 474.2 kB / 457.4 MB, free: 2.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.5542, allocations: 12.03 kB / 457.4 MB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.079e-05/0.5542, allocations: 30.56 kB / 457.5 MB, free: 2.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.909e-05/0.5543, allocations: 11.84 kB / 457.5 MB, free: 2.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.5547, allocations: 198.9 kB / 457.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.5547, allocations: 0 / 457.7 MB, free: 2.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.5547, allocations: 8 kB / 457.7 MB, free: 2.059 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002303/0.555, allocations: 80.16 kB / 457.8 MB, free: 1.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.555, allocations: 3.984 kB / 457.8 MB, free: 1.965 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.555, allocations: 3.953 kB / 457.8 MB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.555, allocations: 0 / 457.8 MB, free: 1.961 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.5552, allocations: 23.98 kB / 457.8 MB, free: 1.938 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005092/0.5557, allocations: 296.9 kB / 458.1 MB, free: 1.598 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002647/0.556, allocations: 66.61 kB / 458.2 MB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.556, allocations: 0 / 458.2 MB, free: 1.523 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.5562, allocations: 71.47 kB / 458.2 MB, free: 1.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.5563, allocations: 0 / 458.2 MB, free: 1.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008441/0.5571, allocations: 181.3 kB / 458.4 MB, free: 1.258 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.903e-05/0.5572, allocations: 81.11 kB / 458.5 MB, free: 1.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.5574, allocations: 141.3 kB / 458.6 MB, free: 1.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.5575, allocations: 25.7 kB / 458.6 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.682e-05/0.5576, allocations: 162.5 kB / 458.8 MB, free: 0.8203 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.5576, allocations: 31.58 kB / 458.8 MB, free: 0.7891 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.5577, allocations: 4 kB / 458.8 MB, free: 0.7852 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.5578, allocations: 310.8 kB / 459.1 MB, free: 484 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001393/0.558, allocations: 39.92 kB / 459.2 MB, free: 444 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001552/0.5581, allocations: 58.55 kB / 459.2 MB, free: 376 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.5583, allocations: 61.7 kB / 459.3 MB, free: 308 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.5583, allocations: 0 / 459.3 MB, free: 308 kB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004452/0.5588, allocations: 167.3 kB / 459.5 MB, free: 128 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.93e-05/0.5589, allocations: 33.69 kB / 459.5 MB, free: 88 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.143e-06/0.5589, allocations: 4 kB / 459.5 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.5589, allocations: 0 / 459.5 MB, free: 84 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.5591, allocations: 23.98 kB / 459.5 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.5591, allocations: 4 kB / 459.5 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001155/0.5592, allocations: 4 kB / 459.5 MB, free: 52 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.164e-05/0.5593, allocations: 8 kB / 459.5 MB, free: 44 kB / 378.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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001835/0.5595, allocations: 121.8 kB / 459.7 MB, free: 15.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.689e-05/0.5595, allocations: 15.84 kB / 459.7 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004161/0.5599, allocations: 122.2 kB / 459.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5599, allocations: 4 kB / 459.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.56, allocations: 0 / 459.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.56, allocations: 0 / 459.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006992/0.5607, allocations: 407.2 kB / 460.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.5607, allocations: 0 / 460.2 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.61e-05/0.5608, allocations: 11.98 kB / 460.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.398e-06/0.5608, allocations: 4 kB / 460.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.5608, allocations: 0 / 460.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5608, allocations: 384 / 460.2 MB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5609, allocations: 4.031 kB / 460.2 MB, free: 15.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004077/0.5613, allocations: 225.9 kB / 460.4 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.068e-05/0.5614, allocations: 97.28 kB / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.845e-05/0.5614, allocations: 4 kB / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000118/0.5616, allocations: 4 kB / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.417e-05/0.5616, allocations: 19.92 kB / 460.6 MB, free: 14.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/0.5617, allocations: 4 kB / 460.6 MB, free: 14.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001378/0.5618, allocations: 114.1 kB / 460.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5618, allocations: 0 / 460.7 MB, free: 14.79 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004366/0.5623, allocations: 48 kB / 460.7 MB, free: 14.75 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.002175/0.5645, allocations: 1.262 MB / 462 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004502/0.5649, allocations: 151.3 kB / 462.1 MB, free: 13.37 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.565, allocations: 4 kB / 462.1 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001282/0.5651, allocations: 35.92 kB / 462.2 MB, free: 13.33 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.5655, allocations: 28 kB / 462.2 MB, free: 13.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001072/0.5666, allocations: 0.6263 MB / 462.8 MB, free: 12.61 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003268/0.5669, allocations: 0.7004 MB / 463.5 MB, free: 11.88 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/0.567, allocations: 27.42 kB / 463.5 MB, free: 11.85 MB / 394.7 MB Notification: Performance of SimCode: time 9.61e-07/0.5671, allocations: 3.938 kB / 463.6 MB, free: 11.85 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp:29: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60InitializeParameter.cpp:42:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp27; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60InitializeParameter.cpp:43:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test.txt", tmp27); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp:31: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.cpp:95:4: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp9; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.cpp:96:16: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/test.txt", tmp9); ~~~~~~~~~~ ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.cpp:301:39: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.cpp:304:13: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp17 = 1.797693134862316e+308; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.cpp:362:3: error: unknown type name 'OpenModelica__fmuLoadResourceRetType' OpenModelica__fmuLoadResourceRetType /* undefined */ tmp18; ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60Initialize.cpp:363:15: error: no member named 'OpenModelica__fmuLoadResource' in 'Functions' _functions->OpenModelica__fmuLoadResource(_functions->_OMC_LIT2, tmp18); ~~~~~~~~~~ ^ In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp:34: ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60.cpp:208:41: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] if (_t_new_P_nextTimeEventScaled_ < 1.797693134862316e+308) { ^ ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60.cpp:211:14: warning: magnitude of floating-point constant too large for type 'double'; maximum is 1.7976931348623157E+308 [-Wliteral-range] tmp1 = 1.797693134862316e+308; ^ ./OMCppModelicaTest_3_2_2_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_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60FMU.cpp:11: /var/lib/jenkins/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) { ^ 5 warnings and 7 errors generated. : recipe for target 'OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.o' failed make: *** [OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test60CalcHelperMain.o] Error 1