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.001163/0.001163, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 225.4 MB / 240.1 MB, free: 15.13 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008634/0.0008633, allocations: 97.41 kB / 292.1 MB, free: 5.934 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1819/0.1819, allocations: 45.14 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.716e-05, allocations: 4 kB / 460.5 MB, free: 69.9 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1016, allocations: 63.24 MB / 0.5115 GB, free: 6.68 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3567/0.4584, allocations: 89.97 MB / 0.5993 GB, free: 3.859 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.4587, allocations: 74.58 kB / 0.5994 GB, free: 3.82 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01341/0.4721, allocations: 5.147 MB / 0.6044 GB, free: 15.48 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.293e-06/0.4721, allocations: 0 / 0.6044 GB, free: 15.48 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.428e-06/0.4721, allocations: 0 / 0.6044 GB, free: 15.48 MB / 410.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.0005133/0.4727, allocations: 434.5 kB / 0.6048 GB, free: 15.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.4727, allocations: 11.97 kB / 0.6048 GB, free: 15.01 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.673e-05/0.4728, allocations: 34.56 kB / 0.6049 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.339e-05/0.4728, allocations: 7.906 kB / 0.6049 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.4731, allocations: 205.2 kB / 0.6051 GB, free: 14.73 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.4731, allocations: 4 kB / 0.6051 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.935e-05/0.4731, allocations: 3.938 kB / 0.6051 GB, free: 14.72 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.4732, allocations: 74.92 kB / 0.6051 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.4733, allocations: 0 / 0.6051 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.4733, allocations: 0 / 0.6051 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.4733, allocations: 3.984 kB / 0.6052 GB, free: 14.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.215e-05/0.4734, allocations: 27.73 kB / 0.6052 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004186/0.4738, allocations: 322.8 kB / 0.6055 GB, free: 14.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001055/0.4739, allocations: 46.83 kB / 0.6055 GB, free: 14.24 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.026e-05/0.474, allocations: 20.11 kB / 0.6056 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/0.474, allocations: 4 kB / 0.6056 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.474, allocations: 30.56 kB / 0.6056 GB, free: 14.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.474, allocations: 0 / 0.6056 GB, free: 14.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007364/0.4748, allocations: 237.1 kB / 0.6058 GB, free: 13.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.4748, allocations: 85.11 kB / 0.6059 GB, free: 13.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.475, allocations: 152.7 kB / 0.606 GB, free: 13.73 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.475, allocations: 25.7 kB / 0.6061 GB, free: 13.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/0.4751, allocations: 105.6 kB / 0.6062 GB, free: 13.61 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.706e-05/0.4751, allocations: 27.06 kB / 0.6062 GB, free: 13.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.48e-06/0.4751, allocations: 0 / 0.6062 GB, free: 13.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.4752, allocations: 321.8 kB / 0.6065 GB, free: 13.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.987e-05/0.4753, allocations: 24 kB / 0.6065 GB, free: 13.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.4753, allocations: 48.25 kB / 0.6066 GB, free: 13.21 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.245e-05/0.4754, allocations: 22.36 kB / 0.6066 GB, free: 13.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.81e-07/0.4754, allocations: 3.938 kB / 0.6066 GB, free: 13.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001587/0.4756, allocations: 93.09 kB / 0.6067 GB, free: 13.11 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.4756, allocations: 9.562 kB / 0.6067 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.4756, allocations: 0 / 0.6067 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.4756, allocations: 0 / 0.6067 GB, free: 13.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.4759, allocations: 55.92 kB / 0.6067 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.4759, allocations: 3.953 kB / 0.6067 GB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.4761, allocations: 39.83 kB / 0.6068 GB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4761, allocations: 8 kB / 0.6068 GB, free: 13 MB / 410.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 () * 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 7.366e-05/0.4762, allocations: 104.9 kB / 0.6069 GB, free: 12.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.4762, allocations: 11.81 kB / 0.6069 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002012/0.4764, allocations: 111.5 kB / 0.607 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4764, allocations: 0 / 0.607 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.4764, allocations: 0 / 0.607 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.4764, allocations: 3.953 kB / 0.607 GB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004248/0.4769, allocations: 408.5 kB / 0.6074 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.4769, allocations: 0 / 0.6074 GB, free: 12.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.4771, allocations: 55.55 kB / 0.6075 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4771, allocations: 3.938 kB / 0.6075 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.4771, allocations: 3.953 kB / 0.6075 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.4771, allocations: 8 kB / 0.6075 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.4771, allocations: 0 / 0.6075 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001921/0.4773, allocations: 190.9 kB / 0.6077 GB, free: 12.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.4774, allocations: 92.25 kB / 0.6077 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.4774, allocations: 0 / 0.6077 GB, free: 12.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.4776, allocations: 47.09 kB / 0.6078 GB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.4777, allocations: 11.61 kB / 0.6078 GB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.4777, allocations: 7.938 kB / 0.6078 GB, free: 11.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.284e-05/0.4778, allocations: 122.2 kB / 0.6079 GB, free: 11.86 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4778, allocations: 0 / 0.6079 GB, free: 11.86 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000286/0.4781, allocations: 66.17 kB / 0.608 GB, free: 11.8 MB / 410.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 () * 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.001338/0.4794, allocations: 1.086 MB / 0.609 GB, free: 10.85 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001674/0.4796, allocations: 65.88 kB / 0.6091 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4796, allocations: 0 / 0.6091 GB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.016e-05/0.4797, allocations: 30.88 kB / 0.6091 GB, free: 10.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.4799, allocations: 23.86 kB / 0.6092 GB, free: 10.76 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005267/0.4804, allocations: 231.9 kB / 0.6094 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.4808, allocations: 0.7043 MB / 0.6101 GB, free: 9.789 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.891e-05/0.4808, allocations: 12.55 kB / 0.6101 GB, free: 9.777 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.052e-05/0.4809, allocations: 42.03 kB / 0.6101 GB, free: 9.75 MB / 410.7 MB Notification: Performance of SimCode: time 3.21e-07/0.4809, allocations: 0 / 0.6101 GB, free: 9.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0153/0.4962, allocations: 3.561 MB / 0.6136 GB, free: 6.316 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001855/0.4965, allocations: 198.9 kB / 0.6138 GB, free: 6.094 MB / 410.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Os -march=native -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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