Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002178/0.002177, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 227.2 MB / 245 MB, free: 7.66 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009275/0.0009274, allocations: 102.4 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3881/0.3881, allocations: 45.24 MB / 394.6 MB, free: 31.67 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002997/0.0003, allocations: 12.22 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4809, allocations: 63.24 MB / 0.5193 GB, free: 43.67 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1204/0.6014, allocations: 90.04 MB / 0.6072 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000212/0.6016, allocations: 84.97 kB / 0.6073 GB, free: 15.52 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01412/0.6158, allocations: 5.154 MB / 0.6123 GB, free: 10.38 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6158, allocations: 0 / 0.6123 GB, free: 10.38 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.168e-05/0.6158, allocations: 0 / 0.6123 GB, free: 10.38 MB / 426.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.0006359/0.6165, allocations: 461.9 kB / 0.6127 GB, free: 9.887 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.506e-05/0.6165, allocations: 8.031 kB / 0.6128 GB, free: 9.879 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.702e-05/0.6166, allocations: 38.56 kB / 0.6128 GB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.166e-05/0.6166, allocations: 11.84 kB / 0.6128 GB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.6169, allocations: 202.8 kB / 0.613 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.6169, allocations: 0 / 0.613 GB, free: 9.582 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.6169, allocations: 8 kB / 0.613 GB, free: 9.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002692/0.6172, allocations: 99.36 kB / 0.6131 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.6172, allocations: 0 / 0.6131 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.6173, allocations: 0 / 0.6131 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.6173, allocations: 0 / 0.6131 GB, free: 9.465 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003069/0.6176, allocations: 95.86 kB / 0.6132 GB, free: 9.371 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004986/0.6181, allocations: 328.6 kB / 0.6135 GB, free: 9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002389/0.6183, allocations: 74.53 kB / 0.6136 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.747e-05/0.6184, allocations: 0 / 0.6136 GB, free: 8.918 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.6184, allocations: 42.62 kB / 0.6136 GB, free: 8.867 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.6184, allocations: 0 / 0.6136 GB, free: 8.867 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.001641/0.6201, allocations: 476.8 kB / 0.6141 GB, free: 8.395 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.6201, allocations: 81.11 kB / 0.6141 GB, free: 8.297 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.6203, allocations: 143.4 kB / 0.6143 GB, free: 8.152 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.6203, allocations: 33.7 kB / 0.6143 GB, free: 8.113 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.6204, allocations: 100.2 kB / 0.6144 GB, free: 8.008 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.224e-05/0.6204, allocations: 31.55 kB / 0.6144 GB, free: 7.977 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-06/0.6204, allocations: 4 kB / 0.6144 GB, free: 7.973 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.6206, allocations: 322.8 kB / 0.6148 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/0.6209, allocations: 87.92 kB / 0.6148 GB, free: 7.562 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.6212, allocations: 109.6 kB / 0.6149 GB, free: 7.449 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.6215, allocations: 96.23 kB / 0.615 GB, free: 7.355 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.6215, allocations: 0 / 0.615 GB, free: 7.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006613/0.6222, allocations: 237.3 kB / 0.6153 GB, free: 7.117 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.6222, allocations: 4 kB / 0.6153 GB, free: 7.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.6222, allocations: 8 kB / 0.6153 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.6222, allocations: 0 / 0.6153 GB, free: 7.105 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.6224, allocations: 48.33 kB / 0.6153 GB, free: 7.059 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.6225, allocations: 3.953 kB / 0.6153 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001714/0.6226, allocations: 39.97 kB / 0.6154 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.185e-05/0.6227, allocations: 4 kB / 0.6154 GB, free: 7.012 MB / 426.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 (10): * Single equations (assignments): 10 * 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 0.0001075/0.6228, allocations: 122.7 kB / 0.6155 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.39e-05/0.6228, allocations: 15.81 kB / 0.6155 GB, free: 6.867 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.6235, allocations: 250.1 kB / 0.6157 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6235, allocations: 0 / 0.6157 GB, free: 6.617 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.6236, allocations: 7.984 kB / 0.6157 GB, free: 6.609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/0.6236, allocations: 3.953 kB / 0.6157 GB, free: 6.605 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009311/0.6245, allocations: 0.5335 MB / 0.6163 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.6245, allocations: 0 / 0.6163 GB, free: 6.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001926/0.6247, allocations: 51.95 kB / 0.6163 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.6247, allocations: 0 / 0.6163 GB, free: 5.965 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.6247, allocations: 3.953 kB / 0.6163 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.6247, allocations: 0 / 0.6163 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.6248, allocations: 0 / 0.6163 GB, free: 5.961 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006631/0.6254, allocations: 336.5 kB / 0.6166 GB, free: 5.617 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.151e-05/0.6255, allocations: 89 kB / 0.6167 GB, free: 5.512 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.895e-05/0.6255, allocations: 11.98 kB / 0.6167 GB, free: 5.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.6257, allocations: 43.91 kB / 0.6168 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.329e-05/0.6258, allocations: 11.98 kB / 0.6168 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.6258, allocations: 0 / 0.6168 GB, free: 5.445 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.6259, allocations: 123.9 kB / 0.6169 GB, free: 5.324 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6259, allocations: 0 / 0.6169 GB, free: 5.324 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003594/0.6263, allocations: 63.98 kB / 0.617 GB, free: 5.262 MB / 426.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 (9): * Single equations (assignments): 9 * 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.001991/0.6283, allocations: 1.271 MB / 0.6182 GB, free: 4.176 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006288/0.6289, allocations: 195.8 kB / 0.6184 GB, free: 3.984 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.629, allocations: 0 / 0.6184 GB, free: 3.984 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000299/0.6293, allocations: 103.9 kB / 0.6185 GB, free: 3.883 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.6295, allocations: 19.94 kB / 0.6185 GB, free: 3.863 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008632/0.6304, allocations: 491 kB / 0.619 GB, free: 3.336 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.6307, allocations: 0.7082 MB / 0.6197 GB, free: 2.602 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001095/0.6308, allocations: 16.55 kB / 0.6197 GB, free: 2.586 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.423e-05/0.6309, allocations: 39.41 kB / 0.6197 GB, free: 2.547 MB / 426.7 MB Notification: Performance of SimCode: time 3.31e-07/0.6309, allocations: 0 / 0.6197 GB, free: 2.547 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.6485, allocations: 3.538 MB / 0.6232 GB, free: 15.13 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/0.6488, allocations: 222.6 kB / 0.6234 GB, free: 14.89 MB / 442.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -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 trunk/Resources/Data/Tables" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_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:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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 -Os -march=native -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 trunk/Resources/Data/Tables" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/Resources/C-Sources" -c -o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_functions.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_ModelicaTest_Tables_CombiTable2Ds_Test18_usertab_functions.o] Error 1