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.001721/0.00172, allocations: 197.6 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.361/1.361, allocations: 227.2 MB / 245 MB, free: 7.582 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009011/0.0009011, allocations: 109 kB / 297.3 MB, free: 6.184 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3397/0.3397, allocations: 45.22 MB / 394.6 MB, free: 31.66 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002824/0.0002826, allocations: 8.219 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3339/0.3343, allocations: 63.24 MB / 0.5193 GB, free: 43.67 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1197/0.454, allocations: 90.5 MB / 0.6076 GB, free: 15.12 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002389/0.4543, allocations: 75.94 kB / 0.6077 GB, free: 15.05 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01505/0.4694, allocations: 5.256 MB / 0.6128 GB, free: 9.82 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4694, allocations: 0 / 0.6128 GB, free: 9.82 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.547e-05/0.4694, allocations: 7.938 kB / 0.6129 GB, free: 9.812 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.0006552/0.4701, allocations: 459.4 kB / 0.6133 GB, free: 9.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.4702, allocations: 8.031 kB / 0.6133 GB, free: 9.309 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.095e-05/0.4702, allocations: 34.56 kB / 0.6133 GB, free: 9.266 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.834e-05/0.4703, allocations: 11.91 kB / 0.6133 GB, free: 9.254 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/0.4705, allocations: 199.9 kB / 0.6135 GB, free: 9.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.4706, allocations: 4 kB / 0.6135 GB, free: 9.016 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.175e-05/0.4706, allocations: 4 kB / 0.6135 GB, free: 9.012 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002967/0.4709, allocations: 111.3 kB / 0.6136 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4709, allocations: 0 / 0.6136 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.4709, allocations: 4 kB / 0.6136 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.198e-06/0.4709, allocations: 0 / 0.6136 GB, free: 8.887 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003365/0.4713, allocations: 95.91 kB / 0.6137 GB, free: 8.793 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007103/0.472, allocations: 364.6 kB / 0.6141 GB, free: 8.387 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.4723, allocations: 90.45 kB / 0.6142 GB, free: 8.289 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.53e-05/0.4723, allocations: 4 kB / 0.6142 GB, free: 8.285 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.4724, allocations: 30.56 kB / 0.6142 GB, free: 8.246 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.4724, allocations: 0 / 0.6142 GB, free: 8.246 MB / 426.7 MB Notification: Performance of matching and sorting (n=9): time 0.00171/0.4741, allocations: 0.5009 MB / 0.6147 GB, free: 7.738 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.234e-05/0.4742, allocations: 81.05 kB / 0.6148 GB, free: 7.641 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.4743, allocations: 155.9 kB / 0.6149 GB, free: 7.484 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.377e-05/0.4744, allocations: 25.7 kB / 0.6149 GB, free: 7.453 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.836e-05/0.4744, allocations: 104.2 kB / 0.615 GB, free: 7.344 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.673e-05/0.4745, allocations: 31.62 kB / 0.6151 GB, free: 7.312 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.943e-06/0.4745, allocations: 0 / 0.6151 GB, free: 7.312 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.4746, allocations: 322.9 kB / 0.6154 GB, free: 6.988 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003252/0.475, allocations: 103.8 kB / 0.6155 GB, free: 6.887 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.4753, allocations: 121.6 kB / 0.6156 GB, free: 6.762 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003478/0.4756, allocations: 107.9 kB / 0.6157 GB, free: 6.656 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.253e-06/0.4757, allocations: 0 / 0.6157 GB, free: 6.656 MB / 426.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006987/0.4764, allocations: 257.3 kB / 0.6159 GB, free: 6.398 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.4764, allocations: 4 kB / 0.616 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.4764, allocations: 0 / 0.616 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.4764, allocations: 0 / 0.616 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002403/0.4767, allocations: 51.95 kB / 0.616 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.824e-06/0.4767, allocations: 7.891 kB / 0.616 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.4769, allocations: 39.95 kB / 0.616 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.4769, allocations: 4 kB / 0.6161 GB, free: 6.293 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.0001112/0.477, allocations: 123.2 kB / 0.6162 GB, free: 6.164 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.477, allocations: 7.906 kB / 0.6162 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007476/0.4778, allocations: 270.1 kB / 0.6164 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4778, allocations: 0 / 0.6164 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.4778, allocations: 0 / 0.6164 GB, free: 5.887 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.4778, allocations: 7.938 kB / 0.6164 GB, free: 5.879 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001052/0.4789, allocations: 0.5611 MB / 0.617 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4789, allocations: 0 / 0.617 GB, free: 5.262 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.4791, allocations: 51.89 kB / 0.617 GB, free: 5.211 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.4791, allocations: 4 kB / 0.617 GB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.429e-05/0.4791, allocations: 3.953 kB / 0.617 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.4792, allocations: 0 / 0.617 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.4792, allocations: 0 / 0.617 GB, free: 5.203 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007324/0.4799, allocations: 348.4 kB / 0.6174 GB, free: 4.848 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.48, allocations: 92.92 kB / 0.6175 GB, free: 4.738 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.892e-05/0.48, allocations: 7.984 kB / 0.6175 GB, free: 4.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000194/0.4802, allocations: 35.92 kB / 0.6175 GB, free: 4.695 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.036e-05/0.4803, allocations: 7.984 kB / 0.6175 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.799e-06/0.4803, allocations: 8 kB / 0.6175 GB, free: 4.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001262/0.4804, allocations: 125 kB / 0.6176 GB, free: 4.559 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4804, allocations: 0 / 0.6176 GB, free: 4.559 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003507/0.4808, allocations: 63.92 kB / 0.6177 GB, free: 4.496 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.002103/0.4829, allocations: 1.285 MB / 0.619 GB, free: 3.391 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006921/0.4836, allocations: 219.8 kB / 0.6192 GB, free: 3.176 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4836, allocations: 0 / 0.6192 GB, free: 3.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.4839, allocations: 111.8 kB / 0.6193 GB, free: 3.066 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002281/0.4842, allocations: 23.94 kB / 0.6193 GB, free: 3.043 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008372/0.485, allocations: 0.4972 MB / 0.6198 GB, free: 2.496 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003038/0.4853, allocations: 0.7083 MB / 0.6205 GB, free: 1.762 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001249/0.4855, allocations: 36.5 kB / 0.6205 GB, free: 1.727 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.112e-05/0.4856, allocations: 43.36 kB / 0.6206 GB, free: 1.684 MB / 426.7 MB Notification: Performance of SimCode: time 3.41e-07/0.4856, allocations: 0 / 0.6206 GB, free: 1.684 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.5028, allocations: 3.651 MB / 0.6241 GB, free: 14.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001952/0.5031, allocations: 224.3 kB / 0.6243 GB, free: 13.93 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_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: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_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: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_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