Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.Test25_usertab.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0101/0.0101, allocations: 162.5 kB / 15.12 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.76/1.76, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001733/0.001733, allocations: 110.8 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4491/0.4491, allocations: 38.06 MB / 303.7 MB, free: 42.36 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004929, allocations: 11.98 kB / 363 MB, free: 5.488 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1087, allocations: 48.72 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002784/0.1116, allocations: 1.207 MB / 412.9 MB, free: 3.469 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007006/0.1123, allocations: 255.9 kB / 413.2 MB, free: 3.215 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.1124, allocations: 8 kB / 413.2 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001931/0.1126, allocations: 11.92 kB / 413.2 MB, free: 3.195 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.1128, allocations: 27.91 kB / 413.2 MB, free: 3.168 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001478/0.1129, allocations: 35.91 kB / 413.2 MB, free: 3.133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001286/0.1131, allocations: 43.84 kB / 413.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1132, allocations: 15.97 kB / 413.3 MB, free: 3.074 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.475e-05/0.1133, allocations: 23.86 kB / 413.3 MB, free: 3.051 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.1133, allocations: 19.91 kB / 413.3 MB, free: 3.031 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.084e-05/0.1134, allocations: 8 kB / 413.4 MB, free: 3.023 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.1135, allocations: 47.86 kB / 413.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.1136, allocations: 4 kB / 413.4 MB, free: 2.973 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 4.495e-05/0.1136, allocations: 33.7 kB / 413.4 MB, free: 2.934 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000178/0.1138, allocations: 68.11 kB / 413.5 MB, free: 2.867 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1138, allocations: 3.938 kB / 413.5 MB, free: 2.863 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1138, allocations: 0 / 413.5 MB, free: 2.863 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.1139, allocations: 0 / 413.5 MB, free: 2.863 MB / 314.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.0005343/0.1144, allocations: 384.9 kB / 413.9 MB, free: 2.434 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1145, allocations: 16.02 kB / 413.9 MB, free: 2.418 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.78e-05/0.1145, allocations: 34.56 kB / 413.9 MB, free: 2.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.259e-05/0.1145, allocations: 4 kB / 413.9 MB, free: 2.371 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.1148, allocations: 186.8 kB / 414.1 MB, free: 2.148 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1148, allocations: 4 kB / 414.1 MB, free: 2.145 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.1149, allocations: 4 kB / 414.1 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002128/0.1151, allocations: 71.33 kB / 414.2 MB, free: 2.059 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.1151, allocations: 4 kB / 414.2 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.1151, allocations: 0 / 414.2 MB, free: 2.055 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.1152, allocations: 4 kB / 414.2 MB, free: 2.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.1153, allocations: 31.97 kB / 414.2 MB, free: 2.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004978/0.1159, allocations: 292.9 kB / 414.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001446/0.116, allocations: 46.5 kB / 414.6 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.1161, allocations: 20.94 kB / 414.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.642e-05/0.1162, allocations: 0 / 414.6 MB, free: 1.605 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.1162, allocations: 38.56 kB / 414.6 MB, free: 1.559 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.1162, allocations: 0 / 414.6 MB, free: 1.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008669/0.1171, allocations: 181.6 kB / 414.8 MB, free: 1.375 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.855e-05/0.1172, allocations: 77.11 kB / 414.9 MB, free: 1.281 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.1173, allocations: 133.8 kB / 415 MB, free: 1.141 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.1174, allocations: 29.69 kB / 415 MB, free: 1.105 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.114e-05/0.1174, allocations: 88.05 kB / 415.1 MB, free: 1.016 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.137e-05/0.1175, allocations: 19.8 kB / 415.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.1175, allocations: 0 / 415.1 MB, free: 0.9961 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.1176, allocations: 318.8 kB / 415.5 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.1178, allocations: 27.98 kB / 415.5 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.118, allocations: 45.69 kB / 415.5 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001654/0.1181, allocations: 61.62 kB / 415.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1182, allocations: 0 / 415.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004015/0.1186, allocations: 139.2 kB / 415.7 MB, free: 392 kB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.193e-05/0.1187, allocations: 33.7 kB / 415.8 MB, free: 352 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1187, allocations: 4.062 kB / 415.8 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.1187, allocations: 0 / 415.8 MB, free: 348 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/0.1189, allocations: 15.98 kB / 415.8 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.1189, allocations: 7.891 kB / 415.8 MB, free: 324 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.667e-05/0.119, allocations: 8 kB / 415.8 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.119, allocations: 7.984 kB / 415.8 MB, free: 308 kB / 314.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 (7): * Single equations (assignments): 6 * 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.0001189/0.1191, allocations: 120.2 kB / 415.9 MB, free: 180 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.1192, allocations: 3.906 kB / 415.9 MB, free: 176 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004263/0.1196, allocations: 121.9 kB / 416 MB, free: 48 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.1196, allocations: 4 kB / 416 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.1196, allocations: 0 / 416 MB, free: 44 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.1197, allocations: 3.953 kB / 416 MB, free: 40 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006969/0.1204, allocations: 362.6 kB / 416.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1204, allocations: 0 / 416.4 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001174/0.1205, allocations: 23.92 kB / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.1205, allocations: 0 / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.1206, allocations: 0 / 416.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.698e-06/0.1206, allocations: 7.953 kB / 416.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1206, allocations: 0 / 416.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003918/0.121, allocations: 195.4 kB / 416.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.643e-05/0.1211, allocations: 81.02 kB / 416.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.893e-05/0.1211, allocations: 7.984 kB / 416.7 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1212, allocations: 4 kB / 416.7 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.1213, allocations: 16.12 kB / 416.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.22e-05/0.1213, allocations: 4 kB / 416.7 MB, free: 15.26 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.828e-05/0.1214, allocations: 95.27 kB / 416.8 MB, free: 15.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1214, allocations: 4 kB / 416.8 MB, free: 15.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000349/0.1218, allocations: 24 kB / 416.9 MB, free: 15.14 MB / 330.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 (6): * Single equations (assignments): 6 * 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.001514/0.1233, allocations: 0.9477 MB / 417.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004095/0.1237, allocations: 123.3 kB / 417.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1238, allocations: 0 / 417.9 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001544/0.1239, allocations: 39.97 kB / 418 MB, free: 14.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.1243, allocations: 11.95 kB / 418 MB, free: 14.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.1257, allocations: 0.5459 MB / 418.5 MB, free: 13.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003154/0.126, allocations: 0.6926 MB / 419.2 MB, free: 12.71 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.1262, allocations: 24.44 kB / 419.2 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.74e-05/0.1262, allocations: 19.44 kB / 419.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of SimCode: time 7.22e-07/0.1263, allocations: 3.938 kB / 419.3 MB, free: 12.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02194/0.1482, allocations: 2.234 MB / 421.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003455/0.1486, allocations: 255.2 kB / 421.7 MB, free: 10.11 MB / 330.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_includes.h:4: /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/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_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o] Error 1