Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008764/0.0008763, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.453/1.453, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3292/0.3292, allocations: 43.55 MB / 314.6 MB, free: 8.781 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005456/0.0005458, allocations: 12 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1098, allocations: 58.86 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001703/0.1116, allocations: 1.268 MB / 444.1 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005389/0.1121, allocations: 303.8 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.589e-05/0.1122, allocations: 3.938 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.1124, allocations: 27.91 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001301/0.1125, allocations: 19.92 kB / 444.5 MB, free: 11.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002059/0.1127, allocations: 67.84 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.1128, allocations: 55.78 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.042e-05/0.1129, allocations: 20.44 kB / 444.6 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.821e-05/0.113, allocations: 15.94 kB / 444.7 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.751e-05/0.113, allocations: 23.84 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1131, allocations: 4 kB / 444.7 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.558e-05/0.1132, allocations: 43.98 kB / 444.7 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.926e-05/0.1132, allocations: 15.91 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.804e-05/0.1132, allocations: 37.64 kB / 444.8 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001276/0.1134, allocations: 75.83 kB / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1134, allocations: 0 / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1134, allocations: 0 / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.256e-06/0.1134, allocations: 0 / 444.8 MB, free: 10.97 MB / 382.1 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.0004069/0.1138, allocations: 375.1 kB / 445.2 MB, free: 10.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1139, allocations: 20 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.1139, allocations: 34.56 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.837e-05/0.1139, allocations: 11.86 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.1141, allocations: 190.9 kB / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.913e-06/0.1141, allocations: 0 / 445.5 MB, free: 10.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1142, allocations: 4 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/0.1143, allocations: 79.33 kB / 445.5 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1143, allocations: 4 kB / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/0.1143, allocations: 0 / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.1144, allocations: 0 / 445.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001085/0.1145, allocations: 43.92 kB / 445.6 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.1148, allocations: 288.9 kB / 445.9 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.1149, allocations: 58.5 kB / 445.9 MB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.81e-05/0.115, allocations: 28.97 kB / 446 MB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.115, allocations: 4 kB / 446 MB, free: 9.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.1151, allocations: 30.56 kB / 446 MB, free: 9.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.1151, allocations: 4 kB / 446 MB, free: 9.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005456/0.1156, allocations: 197.2 kB / 446.2 MB, free: 9.441 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.1157, allocations: 81.11 kB / 446.3 MB, free: 9.344 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.1158, allocations: 133.8 kB / 446.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.1158, allocations: 25.7 kB / 446.4 MB, free: 9.172 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.33e-05/0.1159, allocations: 96.12 kB / 446.5 MB, free: 9.074 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.1159, allocations: 23.66 kB / 446.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-06/0.1159, allocations: 0 / 446.5 MB, free: 9.051 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.63e-05/0.116, allocations: 318.8 kB / 446.9 MB, free: 8.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.1161, allocations: 31.98 kB / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.182e-05/0.1162, allocations: 37.7 kB / 446.9 MB, free: 8.656 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.681e-05/0.1163, allocations: 31.92 kB / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.1163, allocations: 7.922 kB / 447 MB, free: 8.617 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001871/0.1165, allocations: 105.5 kB / 447.1 MB, free: 8.508 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1165, allocations: 7.953 kB / 447.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1165, allocations: 0 / 447.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1165, allocations: 0 / 447.1 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.813e-05/0.1166, allocations: 19.98 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1166, allocations: 0 / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.363e-05/0.1167, allocations: 19.97 kB / 447.1 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1167, allocations: 4 kB / 447.1 MB, free: 8.457 MB / 382.1 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): 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 prepare postOptimizeDAE: time 6.87e-05/0.1168, allocations: 117.8 kB / 447.2 MB, free: 8.332 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.1168, allocations: 7.906 kB / 447.2 MB, free: 8.324 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.117, allocations: 130.2 kB / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1171, allocations: 0 / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.1171, allocations: 0 / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.1171, allocations: 0 / 447.4 MB, free: 8.195 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000397/0.1175, allocations: 382.5 kB / 447.7 MB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1175, allocations: 4 kB / 447.7 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.218e-05/0.1176, allocations: 19.94 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1176, allocations: 4 kB / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1176, allocations: 0 / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.1176, allocations: 0 / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1176, allocations: 0 / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002201/0.1178, allocations: 199.8 kB / 448 MB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.1179, allocations: 92.94 kB / 448.1 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.1179, allocations: 7.953 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.782e-05/0.118, allocations: 8 kB / 448.1 MB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.118, allocations: 7.984 kB / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.118, allocations: 0 / 448.1 MB, free: 7.395 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.565e-05/0.1181, allocations: 118.9 kB / 448.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1181, allocations: 0 / 448.2 MB, free: 7.281 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002619/0.1184, allocations: 27.98 kB / 448.2 MB, free: 7.254 MB / 382.1 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.001242/0.1196, allocations: 1.067 MB / 449.3 MB, free: 6.191 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.1198, allocations: 71.89 kB / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1198, allocations: 0 / 449.4 MB, free: 6.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.174e-05/0.1199, allocations: 35.97 kB / 449.4 MB, free: 6.086 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.1202, allocations: 19.94 kB / 449.4 MB, free: 6.066 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008756/0.1211, allocations: 0.5761 MB / 450 MB, free: 5.445 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.1213, allocations: 0.6887 MB / 450.7 MB, free: 4.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.274e-05/0.1214, allocations: 12 kB / 450.7 MB, free: 4.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.491e-05/0.1215, allocations: 27.42 kB / 450.7 MB, free: 4.691 MB / 382.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1215, allocations: 0 / 450.7 MB, free: 4.691 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.1342, allocations: 2.493 MB / 453.2 MB, free: 2.203 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001869/0.1344, allocations: 225.3 kB / 453.4 MB, free: 1.969 MB / 382.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_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_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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. make: *** [: ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.o] Error 1