Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test18_usertab.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0167/0.01671, allocations: 106.4 kB / 15.06 MB, free: 6.031 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001266/0.001265, allocations: 180.4 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.026/2.026, allocations: 194.6 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.3755/0.3755, allocations: 40.04 MB / 296.5 MB, free: 6.293 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006361/0.0006364, allocations: 16 kB / 361.1 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1203, allocations: 54.88 MB / 416 MB, free: 2.566 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002511/0.1229, allocations: 1.277 MB / 417.3 MB, free: 1.27 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007856/0.1237, allocations: 295.7 kB / 417.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.1238, allocations: 4 kB / 417.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001779/0.124, allocations: 11.92 kB / 417.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.1242, allocations: 23.97 kB / 417.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.1244, allocations: 43.77 kB / 417.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.1245, allocations: 43.89 kB / 417.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.1247, allocations: 23.97 kB / 417.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.771e-05/0.1248, allocations: 19.92 kB / 417.8 MB, free: 0.8086 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.982e-05/0.1249, allocations: 31.83 kB / 417.8 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.122e-05/0.1249, allocations: 4 kB / 417.8 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001353/0.125, allocations: 35.92 kB / 417.8 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.1251, allocations: 7.984 kB / 417.8 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.1251, allocations: 37.64 kB / 417.9 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.1253, allocations: 71.88 kB / 417.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.574e-06/0.1253, allocations: 0 / 417.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1254, allocations: 0 / 417.9 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.1254, allocations: 0 / 417.9 MB, free: 0.6172 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007556/0.1261, allocations: 433 kB / 418.4 MB, free: 144 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/0.1262, allocations: 12.02 kB / 418.4 MB, free: 132 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.1263, allocations: 34.56 kB / 418.4 MB, free: 88 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.193e-05/0.1263, allocations: 7.906 kB / 418.4 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.1266, allocations: 186.9 kB / 418.6 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1266, allocations: 7.984 kB / 418.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.1266, allocations: 8 kB / 418.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004379/0.1271, allocations: 99.31 kB / 418.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.1271, allocations: 11.94 kB / 418.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.1272, allocations: 4 kB / 418.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.1272, allocations: 0 / 418.7 MB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005619/0.1277, allocations: 91.92 kB / 418.8 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005109/0.1283, allocations: 304.7 kB / 419.1 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003947/0.1287, allocations: 82.53 kB / 419.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.527e-05/0.1287, allocations: 0 / 419.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.956e-05/0.1288, allocations: 30.56 kB / 419.2 MB, free: 15.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 4.137e-06/0.1288, allocations: 3.984 kB / 419.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.002913/0.1317, allocations: 473.1 kB / 419.7 MB, free: 14.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.354e-05/0.1318, allocations: 81.11 kB / 419.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.132, allocations: 129.7 kB / 419.9 MB, free: 14.44 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.476e-05/0.1321, allocations: 33.7 kB / 419.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/0.1322, allocations: 96.23 kB / 420 MB, free: 14.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.1322, allocations: 19.64 kB / 420 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.392e-05/0.1322, allocations: 4 kB / 420 MB, free: 14.28 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1324, allocations: 322.8 kB / 420.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005779/0.133, allocations: 87.92 kB / 420.5 MB, free: 13.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005748/0.1336, allocations: 113.6 kB / 420.6 MB, free: 13.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005685/0.1342, allocations: 121.6 kB / 420.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1342, allocations: 0 / 420.7 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001258/0.1354, allocations: 263.1 kB / 420.9 MB, free: 13.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.243e-05/0.1355, allocations: 36.52 kB / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.1355, allocations: 0 / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.1356, allocations: 0 / 421 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.136, allocations: 51.95 kB / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.136, allocations: 0 / 421 MB, free: 13.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002898/0.1363, allocations: 31.97 kB / 421.1 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.1364, allocations: 8 kB / 421.1 MB, free: 13.23 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.0001426/0.1365, allocations: 121.7 kB / 421.2 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.1366, allocations: 7.906 kB / 421.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001319/0.1379, allocations: 242 kB / 421.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.1379, allocations: 4 kB / 421.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.138, allocations: 3.938 kB / 421.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.138, allocations: 0 / 421.4 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001593/0.1396, allocations: 0.5064 MB / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.1396, allocations: 384 / 421.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.14, allocations: 47.95 kB / 422 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.14, allocations: 7.938 kB / 422 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.974e-05/0.1401, allocations: 4 kB / 422 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1401, allocations: 0 / 422 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1401, allocations: 0 / 422 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00129/0.1414, allocations: 331.2 kB / 422.3 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.358e-05/0.1415, allocations: 89.02 kB / 422.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.71e-05/0.1415, allocations: 0 / 422.4 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003256/0.1419, allocations: 31.97 kB / 422.4 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.142, allocations: 11.98 kB / 422.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.917e-05/0.142, allocations: 7.984 kB / 422.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000112/0.1421, allocations: 103.8 kB / 422.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.1421, allocations: 0 / 422.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004013/0.1426, allocations: 32 kB / 422.6 MB, free: 11.59 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.002668/0.1452, allocations: 1.139 MB / 423.7 MB, free: 10.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001302/0.1466, allocations: 255.2 kB / 424 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1466, allocations: 0 / 424 MB, free: 10.23 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000584/0.1472, allocations: 103.9 kB / 424.1 MB, free: 10.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1476, allocations: 15.98 kB / 424.1 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009399/0.1485, allocations: 418.9 kB / 424.5 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.1489, allocations: 0.6965 MB / 425.2 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001491/0.1491, allocations: 20 kB / 425.2 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.1492, allocations: 27.42 kB / 425.2 MB, free: 8.887 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1492, allocations: 3.938 kB / 425.3 MB, free: 8.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02743/0.1766, allocations: 2.698 MB / 428 MB, free: 6.203 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004538/0.1772, allocations: 261.5 kB / 428.2 MB, free: 5.844 MB / 362.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:16:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o] Error 1