Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_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.001212/0.001212, allocations: 199.1 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.2 MB / 245 MB, free: 5.777 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001046/0.001046, allocations: 104.5 kB / 297.3 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3529/0.3529, allocations: 45.23 MB / 394.6 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.0003221, allocations: 12.2 kB / 468.5 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.434/0.4344, allocations: 63.25 MB / 0.5193 GB, free: 37.46 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.5727, allocations: 89.58 MB / 0.6068 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003284/0.5731, allocations: 75.94 kB / 0.6068 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01788/0.591, allocations: 4.795 MB / 0.6115 GB, free: 8.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.042e-06/0.591, allocations: 0 / 0.6115 GB, free: 8.977 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.054e-05/0.5911, allocations: 3.938 kB / 0.6115 GB, free: 8.973 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007675/0.5919, allocations: 419.5 kB / 0.6119 GB, free: 8.516 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.5919, allocations: 8.031 kB / 0.6119 GB, free: 8.508 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.861e-05/0.592, allocations: 42.56 kB / 0.612 GB, free: 8.457 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/0.5921, allocations: 7.906 kB / 0.612 GB, free: 8.449 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.5924, allocations: 189.7 kB / 0.6121 GB, free: 8.227 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.5924, allocations: 11.97 kB / 0.6122 GB, free: 8.215 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.5925, allocations: 4 kB / 0.6122 GB, free: 8.211 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002075/0.5927, allocations: 67.34 kB / 0.6122 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5927, allocations: 0 / 0.6122 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.5927, allocations: 0 / 0.6122 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-06/0.5928, allocations: 0 / 0.6122 GB, free: 8.133 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000128/0.5929, allocations: 31.97 kB / 0.6123 GB, free: 8.102 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005988/0.5935, allocations: 296.9 kB / 0.6125 GB, free: 7.762 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.5937, allocations: 58.48 kB / 0.6126 GB, free: 7.695 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.5937, allocations: 3.984 kB / 0.6126 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.5938, allocations: 30.56 kB / 0.6126 GB, free: 7.652 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/0.5938, allocations: 4 kB / 0.6126 GB, free: 7.648 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008412/0.5946, allocations: 193.2 kB / 0.6128 GB, free: 7.453 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.136e-05/0.5947, allocations: 85.06 kB / 0.6129 GB, free: 7.352 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001825/0.5949, allocations: 133.2 kB / 0.613 GB, free: 7.211 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.5949, allocations: 33.7 kB / 0.6131 GB, free: 7.172 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.677e-05/0.595, allocations: 88.12 kB / 0.6131 GB, free: 7.082 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.96e-05/0.5951, allocations: 27.56 kB / 0.6132 GB, free: 7.055 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/0.5951, allocations: 0 / 0.6132 GB, free: 7.055 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5953, allocations: 322.8 kB / 0.6135 GB, free: 6.73 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001265/0.5954, allocations: 39.97 kB / 0.6135 GB, free: 6.691 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001346/0.5955, allocations: 45.69 kB / 0.6136 GB, free: 6.641 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.5957, allocations: 39.92 kB / 0.6136 GB, free: 6.602 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5957, allocations: 0 / 0.6136 GB, free: 6.602 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003195/0.596, allocations: 117.6 kB / 0.6137 GB, free: 6.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.596, allocations: 4 kB / 0.6137 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.5961, allocations: 0 / 0.6137 GB, free: 6.477 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.5961, allocations: 3.938 kB / 0.6137 GB, free: 6.473 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.5962, allocations: 19.98 kB / 0.6137 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.5962, allocations: 0 / 0.6137 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.307e-05/0.5963, allocations: 19.94 kB / 0.6138 GB, free: 6.434 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.5964, allocations: 4 kB / 0.6138 GB, free: 6.43 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 (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 0.0001238/0.5965, allocations: 117.8 kB / 0.6139 GB, free: 6.305 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.922e-05/0.5965, allocations: 7.906 kB / 0.6139 GB, free: 6.297 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003516/0.5969, allocations: 126.7 kB / 0.614 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.5969, allocations: 0 / 0.614 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.5969, allocations: 0 / 0.614 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.5969, allocations: 0 / 0.614 GB, free: 6.168 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006676/0.5976, allocations: 410.4 kB / 0.6144 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.5976, allocations: 0 / 0.6144 GB, free: 5.711 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.976e-05/0.5977, allocations: 15.98 kB / 0.6144 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.5978, allocations: 4 kB / 0.6144 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.5978, allocations: 0 / 0.6144 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.5978, allocations: 3.953 kB / 0.6144 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.5978, allocations: 0 / 0.6144 GB, free: 5.688 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/0.5981, allocations: 208.5 kB / 0.6146 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.544e-05/0.5982, allocations: 93 kB / 0.6147 GB, free: 5.359 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.5983, allocations: 4 kB / 0.6147 GB, free: 5.355 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.5984, allocations: 4 kB / 0.6147 GB, free: 5.352 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.5984, allocations: 12.22 kB / 0.6147 GB, free: 5.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.5985, allocations: 4 kB / 0.6147 GB, free: 5.336 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001387/0.5986, allocations: 122.8 kB / 0.6148 GB, free: 5.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.5986, allocations: 0 / 0.6148 GB, free: 5.219 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004904/0.5991, allocations: 55.86 kB / 0.6149 GB, free: 5.164 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 (7): * Single equations (assignments): 7 * 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.002219/0.6013, allocations: 1.145 MB / 0.616 GB, free: 4.156 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.6017, allocations: 79.92 kB / 0.6161 GB, free: 4.078 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6017, allocations: 4 kB / 0.6161 GB, free: 4.074 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.6019, allocations: 35.92 kB / 0.6161 GB, free: 4.039 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.6022, allocations: 22.17 kB / 0.6161 GB, free: 4.02 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000954/0.6032, allocations: 438.9 kB / 0.6166 GB, free: 3.539 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.6036, allocations: 0.7004 MB / 0.6172 GB, free: 2.812 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.92e-05/0.6037, allocations: 24.95 kB / 0.6173 GB, free: 2.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.252e-05/0.6038, allocations: 27.42 kB / 0.6173 GB, free: 2.758 MB / 426.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6038, allocations: 7.938 kB / 0.6173 GB, free: 2.75 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02335/0.6272, allocations: 2.977 MB / 0.6202 GB, free: 15.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002456/0.6275, allocations: 225.5 kB / 0.6204 GB, free: 15.66 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_CombiTable1Dv_Test25_usertab.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_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_CombiTable1Dv_Test25_usertab_functions.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_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_CombiTable1Dv_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_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_CombiTable1Dv_Test25_usertab_functions.o] Error 1