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/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001105/0.001105, allocations: 94.97 kB / 16.98 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001346/0.001347, allocations: 204.3 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.3 MB / 245.9 MB, free: 12.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.238/0.238, allocations: 45.92 MB / 344 MB, free: 12.3 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003336/0.0003341, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1458, allocations: 63.47 MB / 481.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002496/0.1483, allocations: 1.299 MB / 482.8 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001033/0.1494, allocations: 0.4914 MB / 483.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.612e-05/0.1495, allocations: 0 / 483.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002546/0.1498, allocations: 23.91 kB / 483.3 MB, free: 3.457 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.1501, allocations: 63.75 kB / 483.4 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003684/0.1505, allocations: 95.38 kB / 483.5 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001548/0.1507, allocations: 47.89 kB / 483.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.1508, allocations: 11.94 kB / 483.5 MB, free: 3.246 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.25e-05/0.1508, allocations: 23.91 kB / 483.6 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.547e-05/0.1509, allocations: 23.86 kB / 483.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.1509, allocations: 4 kB / 483.6 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001696/0.1511, allocations: 67.88 kB / 483.7 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.026e-05/0.1512, allocations: 11.94 kB / 483.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.887e-05/0.1512, allocations: 33.7 kB / 483.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001923/0.1514, allocations: 112 kB / 483.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.898e-05/0.1514, allocations: 0 / 483.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1515, allocations: 0 / 483.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.619e-06/0.1515, allocations: 4 kB / 483.8 MB, free: 2.965 MB / 350.1 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.0005073/0.152, allocations: 395 kB / 484.2 MB, free: 2.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.152, allocations: 8.031 kB / 484.2 MB, free: 2.523 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.55e-05/0.1521, allocations: 30.56 kB / 484.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.371e-05/0.1521, allocations: 7.906 kB / 484.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000206/0.1523, allocations: 190.9 kB / 484.4 MB, free: 2.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.1523, allocations: 7.984 kB / 484.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.1524, allocations: 0 / 484.4 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001536/0.1525, allocations: 79.27 kB / 484.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1525, allocations: 0 / 484.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1526, allocations: 0 / 484.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.251e-06/0.1526, allocations: 0 / 484.5 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/0.1527, allocations: 27.98 kB / 484.6 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004552/0.1531, allocations: 296.9 kB / 484.8 MB, free: 1.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/0.1533, allocations: 50.5 kB / 484.9 MB, free: 1.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1533, allocations: 12.06 kB / 484.9 MB, free: 1.715 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.1533, allocations: 34.56 kB / 484.9 MB, free: 1.672 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.272e-06/0.1534, allocations: 4 kB / 484.9 MB, free: 1.668 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.00062/0.154, allocations: 193.2 kB / 485.1 MB, free: 1.473 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.154, allocations: 85.06 kB / 485.2 MB, free: 1.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.1542, allocations: 146 kB / 485.4 MB, free: 1.219 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.1542, allocations: 29.7 kB / 485.4 MB, free: 1.184 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.799e-05/0.1543, allocations: 92.05 kB / 485.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.1543, allocations: 27.64 kB / 485.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.1543, allocations: 0 / 485.5 MB, free: 1.062 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001074/0.1544, allocations: 318.8 kB / 485.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.953e-05/0.1545, allocations: 35.98 kB / 485.8 MB, free: 0.707 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.631e-05/0.1546, allocations: 49.69 kB / 485.9 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.918e-05/0.1547, allocations: 35.98 kB / 485.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.1547, allocations: 0 / 485.9 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002175/0.1549, allocations: 125.5 kB / 486.1 MB, free: 500 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.155, allocations: 5.875 kB / 486.1 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.155, allocations: 3.938 kB / 486.1 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.155, allocations: 0 / 486.1 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.1551, allocations: 19.98 kB / 486.1 MB, free: 472 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1551, allocations: 4 kB / 486.1 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.919e-05/0.1552, allocations: 11.95 kB / 486.1 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.186e-06/0.1552, allocations: 4 kB / 486.1 MB, free: 452 kB / 350.1 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 9.461e-05/0.1553, allocations: 117.8 kB / 486.2 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.257e-05/0.1553, allocations: 11.89 kB / 486.2 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002797/0.1556, allocations: 126.6 kB / 486.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1556, allocations: 0 / 486.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1556, allocations: 0 / 486.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1556, allocations: 0 / 486.4 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004671/0.1561, allocations: 406.3 kB / 486.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1561, allocations: 0 / 486.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.265e-05/0.1562, allocations: 19.98 kB / 486.8 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1562, allocations: 4 kB / 486.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.443e-06/0.1562, allocations: 0 / 486.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1562, allocations: 3.953 kB / 486.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1562, allocations: 0 / 486.8 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002302/0.1565, allocations: 207.4 kB / 487 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.1565, allocations: 89 kB / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1565, allocations: 0 / 487.1 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.608e-05/0.1566, allocations: 11.98 kB / 487.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.1567, allocations: 8.234 kB / 487.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.1567, allocations: 4 kB / 487.1 MB, free: 15.35 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.101e-05/0.1568, allocations: 119.2 kB / 487.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1568, allocations: 0 / 487.2 MB, free: 15.23 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002904/0.1571, allocations: 43.98 kB / 487.3 MB, free: 15.19 MB / 366.1 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.001523/0.1586, allocations: 1.145 MB / 488.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002432/0.1589, allocations: 71.95 kB / 488.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1589, allocations: 4 kB / 488.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.159, allocations: 35.92 kB / 488.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.1592, allocations: 23.88 kB / 488.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006571/0.1599, allocations: 423 kB / 488.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.1602, allocations: 0.7004 MB / 489.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.208e-05/0.1603, allocations: 20.64 kB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.1603, allocations: 31.42 kB / 489.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1603, allocations: 0 / 489.7 MB, free: 12.81 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01303/0.1734, allocations: 2.987 MB / 492.7 MB, free: 9.945 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.1736, allocations: 222.7 kB / 492.9 MB, free: 9.711 MB / 366.1 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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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