Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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.001283/0.001283, allocations: 197.2 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.263/1.263, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008579/0.0008579, allocations: 92.19 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1796/0.1796, allocations: 45.16 MB / 389.3 MB, free: 11.84 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.152e-05/3.156e-05, allocations: 4 kB / 460.5 MB, free: 69.89 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0927/0.09275, allocations: 63.24 MB / 0.5115 GB, free: 6.672 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3622/0.455, allocations: 90.43 MB / 0.5998 GB, free: 3.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/0.4552, allocations: 63.97 kB / 0.5998 GB, free: 3.398 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01313/0.4683, allocations: 5.237 MB / 0.6049 GB, free: 14.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4684, allocations: 0 / 0.6049 GB, free: 14.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.4684, allocations: 4 kB / 0.605 GB, free: 14.97 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.0004776/0.4689, allocations: 425.4 kB / 0.6054 GB, free: 14.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.4689, allocations: 15.97 kB / 0.6054 GB, free: 14.51 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.096e-05/0.469, allocations: 34.56 kB / 0.6054 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.283e-05/0.469, allocations: 7.906 kB / 0.6054 GB, free: 14.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.4693, allocations: 212.8 kB / 0.6056 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.4693, allocations: 0 / 0.6056 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.659e-05/0.4693, allocations: 4 kB / 0.6056 GB, free: 14.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001382/0.4695, allocations: 71.3 kB / 0.6057 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4695, allocations: 0 / 0.6057 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.4695, allocations: 3.812 kB / 0.6057 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.4695, allocations: 8 kB / 0.6057 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.768e-05/0.4696, allocations: 33.69 kB / 0.6057 GB, free: 14.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000589/0.4702, allocations: 365.4 kB / 0.6061 GB, free: 13.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.4703, allocations: 52.45 kB / 0.6061 GB, free: 13.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.4703, allocations: 27.72 kB / 0.6062 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.4704, allocations: 0 / 0.6062 GB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.4704, allocations: 30.56 kB / 0.6062 GB, free: 13.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 8.12e-07/0.4704, allocations: 3.938 kB / 0.6062 GB, free: 13.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007337/0.4711, allocations: 260.5 kB / 0.6064 GB, free: 13.39 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.874e-05/0.4712, allocations: 81.11 kB / 0.6065 GB, free: 13.3 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.4714, allocations: 152.8 kB / 0.6067 GB, free: 13.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.4714, allocations: 28.95 kB / 0.6067 GB, free: 13.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.4714, allocations: 99.19 kB / 0.6068 GB, free: 13.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.644e-05/0.4715, allocations: 27.19 kB / 0.6068 GB, free: 13.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.63e-06/0.4715, allocations: 0 / 0.6068 GB, free: 13.01 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.4716, allocations: 326.1 kB / 0.6071 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.997e-05/0.4717, allocations: 38.55 kB / 0.6072 GB, free: 12.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.756e-05/0.4717, allocations: 52.08 kB / 0.6072 GB, free: 12.62 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.363e-05/0.4718, allocations: 35.05 kB / 0.6072 GB, free: 12.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.31e-07/0.4718, allocations: 0 / 0.6072 GB, free: 12.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001771/0.472, allocations: 117.5 kB / 0.6074 GB, free: 12.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.472, allocations: 8 kB / 0.6074 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.472, allocations: 0 / 0.6074 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.047e-05/0.472, allocations: 0 / 0.6074 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.4723, allocations: 51.98 kB / 0.6074 GB, free: 12.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.4723, allocations: 4.328 kB / 0.6074 GB, free: 12.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001624/0.4725, allocations: 43.64 kB / 0.6075 GB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.4725, allocations: 4 kB / 0.6075 GB, free: 12.39 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.313e-05/0.4726, allocations: 104.9 kB / 0.6076 GB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.4726, allocations: 15.53 kB / 0.6076 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002328/0.4728, allocations: 122.1 kB / 0.6077 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4728, allocations: 4 kB / 0.6077 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.4729, allocations: 0 / 0.6077 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.4729, allocations: 7.891 kB / 0.6077 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004716/0.4733, allocations: 446.7 kB / 0.6081 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4734, allocations: 3.984 kB / 0.6081 GB, free: 11.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001933/0.4736, allocations: 47.95 kB / 0.6082 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.4736, allocations: 4 kB / 0.6082 GB, free: 11.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.4736, allocations: 3.953 kB / 0.6082 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.145e-06/0.4736, allocations: 4 kB / 0.6082 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.4736, allocations: 0 / 0.6082 GB, free: 11.66 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002259/0.4738, allocations: 206.2 kB / 0.6084 GB, free: 11.47 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.34e-05/0.4739, allocations: 96.72 kB / 0.6085 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.174e-05/0.4739, allocations: 0 / 0.6085 GB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001922/0.4741, allocations: 40.11 kB / 0.6085 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.4742, allocations: 15.53 kB / 0.6085 GB, free: 11.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.4742, allocations: 4 kB / 0.6085 GB, free: 11.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.417e-05/0.4743, allocations: 121.5 kB / 0.6086 GB, free: 11.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.373e-06/0.4743, allocations: 4 kB / 0.6087 GB, free: 11.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002897/0.4746, allocations: 67.17 kB / 0.6087 GB, free: 11.14 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.001369/0.476, allocations: 1.098 MB / 0.6098 GB, free: 10.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.4762, allocations: 79.11 kB / 0.6099 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.4762, allocations: 0 / 0.6099 GB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.197e-05/0.4763, allocations: 44.19 kB / 0.6099 GB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002058/0.4765, allocations: 26.47 kB / 0.6099 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.477, allocations: 247.4 kB / 0.6102 GB, free: 9.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.4773, allocations: 0.7082 MB / 0.6109 GB, free: 9.086 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001084/0.4774, allocations: 40.38 kB / 0.6109 GB, free: 9.047 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.4775, allocations: 37.42 kB / 0.6109 GB, free: 9.027 MB / 410.7 MB Notification: Performance of SimCode: time 9.769e-06/0.4775, allocations: 0 / 0.6109 GB, free: 9.027 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01413/0.4917, allocations: 3.674 MB / 0.6145 GB, free: 5.477 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/0.4919, allocations: 203.6 kB / 0.6147 GB, free: 5.25 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_CombiTable2Dv_Test18_usertab.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test18_usertab_functions.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable2Dv_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_CombiTable2Dv_Test18_usertab_functions.o] Error 1