Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_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.001462/0.001462, allocations: 96.75 kB / 15.69 MB, free: 480 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.001879/0.00188, allocations: 168.3 kB / 16.57 MB, free: 6.387 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.623/1.623, allocations: 205.4 MB / 222.7 MB, free: 5.672 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.3269/0.3269, allocations: 43.56 MB / 314.5 MB, free: 9.023 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.0006705/0.0006706, allocations: 12 kB / 384 MB, free: 8.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1167, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002143/0.1189, allocations: 1.35 MB / 444.2 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006162/0.1195, allocations: 327.7 kB / 444.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.715e-05/0.1196, allocations: 0 / 444.5 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002163/0.1198, allocations: 19.84 kB / 444.5 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.12, allocations: 39.89 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003762/0.1204, allocations: 143.7 kB / 444.7 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000141/0.1205, allocations: 51.92 kB / 444.8 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.1206, allocations: 16.5 kB / 444.8 MB, free: 11.24 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.658e-05/0.1207, allocations: 31.84 kB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.76e-05/0.1208, allocations: 31.84 kB / 444.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.1208, allocations: 0 / 444.8 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.896e-05/0.1209, allocations: 35.92 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.64e-05/0.121, allocations: 15.92 kB / 444.9 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.534e-05/0.121, allocations: 37.64 kB / 444.9 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001575/0.1212, allocations: 91.78 kB / 445 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1212, allocations: 4 kB / 445 MB, free: 10.99 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1212, allocations: 0 / 445 MB, free: 10.99 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1212, allocations: 0 / 445 MB, free: 10.99 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006919/0.1219, allocations: 415 kB / 445.4 MB, free: 10.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.122, allocations: 12.03 kB / 445.4 MB, free: 10.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.517e-05/0.122, allocations: 34.56 kB / 445.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.318e-05/0.1221, allocations: 11.86 kB / 445.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002168/0.1223, allocations: 198.8 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1223, allocations: 8 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.1223, allocations: 4 kB / 445.7 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.1226, allocations: 107.3 kB / 445.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.1227, allocations: 0 / 445.8 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.1227, allocations: 7.953 kB / 445.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1227, allocations: 0 / 445.8 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003146/0.123, allocations: 103.9 kB / 445.9 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005499/0.1236, allocations: 348.6 kB / 446.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002293/0.1238, allocations: 78.53 kB / 446.3 MB, free: 9.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.1238, allocations: 4.078 kB / 446.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.01e-05/0.1239, allocations: 46.55 kB / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1239, allocations: 0 / 446.4 MB, free: 9.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001763/0.1256, allocations: 481 kB / 446.8 MB, free: 8.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.1257, allocations: 81.11 kB / 446.9 MB, free: 8.887 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001384/0.1259, allocations: 146.4 kB / 447.1 MB, free: 8.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.1259, allocations: 29.7 kB / 447.1 MB, free: 8.699 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.004e-05/0.1259, allocations: 104 kB / 447.2 MB, free: 8.594 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.784e-05/0.126, allocations: 27.59 kB / 447.2 MB, free: 8.566 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.126, allocations: 0 / 447.2 MB, free: 8.566 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.1261, allocations: 322.8 kB / 447.5 MB, free: 8.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.1264, allocations: 95.92 kB / 447.6 MB, free: 8.148 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003019/0.1267, allocations: 109.6 kB / 447.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.127, allocations: 104.2 kB / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.127, allocations: 0 / 447.8 MB, free: 7.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006842/0.1277, allocations: 249.3 kB / 448.1 MB, free: 7.684 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.1278, allocations: 4 kB / 448.1 MB, free: 7.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.708e-06/0.1278, allocations: 3.938 kB / 448.1 MB, free: 7.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.1278, allocations: 4 kB / 448.1 MB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.128, allocations: 47.91 kB / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.128, allocations: 3.984 kB / 448.2 MB, free: 7.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002081/0.1282, allocations: 35.97 kB / 448.2 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1282, allocations: 0 / 448.2 MB, free: 7.586 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 (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 prepare postOptimizeDAE: time 9.712e-05/0.1283, allocations: 125.8 kB / 448.3 MB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.423e-05/0.1284, allocations: 11.86 kB / 448.3 MB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006942/0.1291, allocations: 258.2 kB / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.1291, allocations: 0 / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1291, allocations: 0 / 448.6 MB, free: 7.188 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1291, allocations: 4 kB / 448.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009406/0.1301, allocations: 0.5334 MB / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1301, allocations: 0 / 449.1 MB, free: 6.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001764/0.1303, allocations: 43.95 kB / 449.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1303, allocations: 0 / 449.2 MB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1303, allocations: 8 kB / 449.2 MB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.1303, allocations: 4 kB / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1303, allocations: 0 / 449.2 MB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006706/0.131, allocations: 339.2 kB / 449.5 MB, free: 6.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.131, allocations: 88.91 kB / 449.6 MB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.1311, allocations: 7.984 kB / 449.6 MB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.1313, allocations: 35.97 kB / 449.6 MB, free: 6.043 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.782e-05/0.1313, allocations: 12.36 kB / 449.6 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.542e-06/0.1313, allocations: 0 / 449.6 MB, free: 6.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.683e-05/0.1314, allocations: 116.6 kB / 449.8 MB, free: 5.918 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1314, allocations: 0 / 449.8 MB, free: 5.918 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1317, allocations: 35.98 kB / 449.8 MB, free: 5.883 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 (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.001835/0.1335, allocations: 1.22 MB / 451 MB, free: 4.672 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000652/0.1342, allocations: 207.8 kB / 451.2 MB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1342, allocations: 0 / 451.2 MB, free: 4.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003013/0.1345, allocations: 107.9 kB / 451.3 MB, free: 4.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.1347, allocations: 15.98 kB / 451.3 MB, free: 4.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.1365, allocations: 0.8934 MB / 452.2 MB, free: 3.406 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002466/0.1367, allocations: 0.7082 MB / 452.9 MB, free: 2.672 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.83e-05/0.1368, allocations: 32.7 kB / 453 MB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.1369, allocations: 27.42 kB / 453 MB, free: 2.613 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1369, allocations: 0 / 453 MB, free: 2.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1974/0.3343, allocations: 3.088 MB / 456.1 MB, free: 45.94 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.3345, allocations: 227 kB / 456.3 MB, free: 45.7 MB / 382.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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_CombiTable2Dv_Test18_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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 -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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_CombiTable2Dv_Test18_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_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_CombiTable2Dv_Test18_usertab_functions.o] Error 1