Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_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.0108/0.0108, allocations: 107.4 kB / 15.06 MB, free: 6.027 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.001215/0.001215, allocations: 182 kB / 15.95 MB, free: 5.953 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 1.921/1.921, allocations: 194.5 MB / 211.3 MB, free: 11.04 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.3808/0.3808, allocations: 40.04 MB / 296.5 MB, free: 6.285 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004698, allocations: 12 kB / 361.1 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1173, allocations: 54.87 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002456/0.1198, allocations: 1.234 MB / 417.3 MB, free: 1.301 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007286/0.1206, allocations: 267.8 kB / 417.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.831e-05/0.1207, allocations: 0 / 417.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002115/0.1209, allocations: 23.86 kB / 417.5 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.1211, allocations: 15.97 kB / 417.6 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.1213, allocations: 35.91 kB / 417.6 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.1214, allocations: 39.88 kB / 417.6 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.1216, allocations: 11.94 kB / 417.6 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.592e-05/0.1216, allocations: 19.92 kB / 417.7 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.485e-05/0.1217, allocations: 23.86 kB / 417.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.918e-05/0.1217, allocations: 0 / 417.7 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1219, allocations: 39.97 kB / 417.7 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.516e-05/0.1219, allocations: 7.938 kB / 417.7 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.19e-05/0.122, allocations: 29.7 kB / 417.8 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1222, allocations: 67.83 kB / 417.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.1222, allocations: 0 / 417.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1222, allocations: 0 / 417.8 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.448e-06/0.1222, allocations: 0 / 417.8 MB, free: 0.7188 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005646/0.1228, allocations: 401.1 kB / 418.2 MB, free: 280 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.502e-05/0.1229, allocations: 8.031 kB / 418.2 MB, free: 272 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.867e-05/0.123, allocations: 42.48 kB / 418.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.475e-05/0.123, allocations: 0 / 418.3 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1233, allocations: 186.9 kB / 418.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.1233, allocations: 4 kB / 418.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.553e-05/0.1233, allocations: 4 kB / 418.5 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.1236, allocations: 75.34 kB / 418.5 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.1236, allocations: 4 kB / 418.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.217e-05/0.1236, allocations: 0 / 418.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.1237, allocations: 4 kB / 418.5 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.1239, allocations: 43.91 kB / 418.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004931/0.1244, allocations: 280.9 kB / 418.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.1246, allocations: 70.5 kB / 418.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.408e-05/0.1247, allocations: 0 / 418.9 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.566e-05/0.1247, allocations: 46.56 kB / 419 MB, free: 15.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.1247, allocations: 0 / 419 MB, free: 15.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009831/0.1257, allocations: 197.3 kB / 419.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.1258, allocations: 81.05 kB / 419.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.126, allocations: 129.8 kB / 419.4 MB, free: 14.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.126, allocations: 33.7 kB / 419.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.685e-05/0.1261, allocations: 88.14 kB / 419.5 MB, free: 14.83 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.568e-05/0.1262, allocations: 27.64 kB / 419.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-06/0.1262, allocations: 0 / 419.5 MB, free: 14.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.1263, allocations: 318.8 kB / 419.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001703/0.1265, allocations: 27.97 kB / 419.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00017/0.1267, allocations: 49.7 kB / 419.9 MB, free: 14.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002235/0.1269, allocations: 57.69 kB / 420 MB, free: 14.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.1269, allocations: 0 / 420 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004595/0.1274, allocations: 147.2 kB / 420.1 MB, free: 14.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.669e-05/0.1275, allocations: 33.7 kB / 420.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.716e-06/0.1275, allocations: 4.312 kB / 420.1 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.1275, allocations: 3.938 kB / 420.1 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001739/0.1277, allocations: 19.98 kB / 420.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1277, allocations: 0 / 420.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.672e-05/0.1278, allocations: 11.98 kB / 420.2 MB, free: 14.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/0.1279, allocations: 4 kB / 420.2 MB, free: 14.1 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 (8): * Single equations (assignments): 7 * 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.0001324/0.128, allocations: 117.8 kB / 420.3 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.1281, allocations: 11.86 kB / 420.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004685/0.1285, allocations: 130.2 kB / 420.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.1286, allocations: 4 kB / 420.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1286, allocations: 0 / 420.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1286, allocations: 4 kB / 420.4 MB, free: 13.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007219/0.1293, allocations: 374.5 kB / 420.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1294, allocations: 0 / 420.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001362/0.1295, allocations: 23.92 kB / 420.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1295, allocations: 4 kB / 420.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.703e-05/0.1295, allocations: 4 kB / 420.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.1296, allocations: 7.938 kB / 420.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1296, allocations: 0 / 420.8 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004211/0.13, allocations: 203.4 kB / 421 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.271e-05/0.1301, allocations: 81.02 kB / 421.1 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.568e-05/0.1301, allocations: 4 kB / 421.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.1302, allocations: 7.984 kB / 421.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.656e-05/0.1303, allocations: 8 kB / 421.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1303, allocations: 0 / 421.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.1305, allocations: 103.2 kB / 421.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1305, allocations: 0 / 421.2 MB, free: 12.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003621/0.1308, allocations: 31.94 kB / 421.3 MB, free: 12.89 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 (7): * Single equations (assignments): 7 * 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.001777/0.1327, allocations: 1.016 MB / 422.3 MB, free: 11.92 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004661/0.1332, allocations: 135.3 kB / 422.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.1332, allocations: 4 kB / 422.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.1334, allocations: 35.92 kB / 422.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002939/0.1337, allocations: 15.77 kB / 422.5 MB, free: 11.72 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008603/0.1346, allocations: 398.5 kB / 422.9 MB, free: 11.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003572/0.1349, allocations: 0.6926 MB / 423.6 MB, free: 10.57 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001246/0.1351, allocations: 23.7 kB / 423.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.367e-05/0.1352, allocations: 31.42 kB / 423.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of SimCode: time 1.442e-06/0.1352, allocations: 0 / 423.6 MB, free: 10.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0284/0.1636, allocations: 2.268 MB / 425.9 MB, free: 8.258 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003515/0.164, allocations: 270.7 kB / 426.1 MB, free: 7.891 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_CombiTable1Ds_Test25_usertab.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_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_CombiTable1Ds_Test25_usertab_functions.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_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_CombiTable1Ds_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_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_CombiTable1Ds_Test25_usertab_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.o] Error 1