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/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.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/ModelicaServices trunk/package.mo): time 0.0008799/0.0008799, allocations: 100.1 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001007/0.001007, allocations: 200.4 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.426/1.426, allocations: 227.3 MB / 245.9 MB, free: 12.02 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2223/0.2223, allocations: 45.91 MB / 344 MB, free: 12.29 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002675/0.0002676, allocations: 4 kB / 418.1 MB, free: 20.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1453, allocations: 63.46 MB / 481.5 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002084/0.1474, allocations: 1.392 MB / 482.9 MB, free: 3.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009173/0.1484, allocations: 0.503 MB / 483.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.899e-05/0.1485, allocations: 4 kB / 483.4 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000199/0.1487, allocations: 23.84 kB / 483.4 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1489, allocations: 71.8 kB / 483.5 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003205/0.1492, allocations: 115.2 kB / 483.6 MB, free: 3.148 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.1494, allocations: 51.92 kB / 483.7 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1495, allocations: 19.98 kB / 483.7 MB, free: 3.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.778e-05/0.1496, allocations: 27.86 kB / 483.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.1496, allocations: 31.83 kB / 483.8 MB, free: 3.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1497, allocations: 4 kB / 483.8 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.1498, allocations: 71.84 kB / 483.8 MB, free: 2.945 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.743e-05/0.1499, allocations: 19.95 kB / 483.8 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.007e-05/0.1499, allocations: 37.64 kB / 483.9 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002042/0.1501, allocations: 120 kB / 484 MB, free: 2.766 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.1501, allocations: 3.938 kB / 484 MB, free: 2.762 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1502, allocations: 0 / 484 MB, free: 2.762 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1502, allocations: 4 kB / 484 MB, free: 2.758 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006816/0.1509, allocations: 438.9 kB / 484.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.1509, allocations: 8.031 kB / 484.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.035e-05/0.151, allocations: 34.56 kB / 484.5 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.613e-05/0.151, allocations: 15.91 kB / 484.5 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1512, allocations: 198.8 kB / 484.7 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.1513, allocations: 4 kB / 484.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.95e-05/0.1513, allocations: 0 / 484.7 MB, free: 1.977 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002838/0.1516, allocations: 103.4 kB / 484.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.1516, allocations: 0 / 484.8 MB, free: 1.863 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.1516, allocations: 7.938 kB / 484.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1516, allocations: 0 / 484.8 MB, free: 1.855 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003116/0.1519, allocations: 87.92 kB / 484.9 MB, free: 1.77 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004724/0.1524, allocations: 320.6 kB / 485.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.1527, allocations: 86.47 kB / 485.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.427e-05/0.1527, allocations: 0 / 485.3 MB, free: 1.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.1527, allocations: 34.56 kB / 485.3 MB, free: 1.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1528, allocations: 4 kB / 485.3 MB, free: 1.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001654/0.1544, allocations: 477 kB / 485.8 MB, free: 0.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.772e-05/0.1545, allocations: 81.11 kB / 485.9 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.1546, allocations: 162.2 kB / 486 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.757e-05/0.1547, allocations: 29.7 kB / 486.1 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.342e-05/0.1547, allocations: 104.2 kB / 486.2 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.794e-05/0.1548, allocations: 35.55 kB / 486.2 MB, free: 360 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.312e-06/0.1548, allocations: 0 / 486.2 MB, free: 360 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.612e-05/0.1549, allocations: 318.8 kB / 486.5 MB, free: 32 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003093/0.1552, allocations: 95.86 kB / 486.6 MB, free: 15.94 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.1555, allocations: 109.6 kB / 486.7 MB, free: 15.82 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002779/0.1558, allocations: 92.19 kB / 486.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.1558, allocations: 4 kB / 486.8 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006179/0.1564, allocations: 237.4 kB / 487 MB, free: 15.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1564, allocations: 4 kB / 487 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.1564, allocations: 0 / 487 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/0.1565, allocations: 4 kB / 487 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.1567, allocations: 51.95 kB / 487.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.1567, allocations: 7.938 kB / 487.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001649/0.1569, allocations: 39.97 kB / 487.1 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1569, allocations: 0 / 487.1 MB, free: 15.39 MB / 366.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 (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.0001018/0.157, allocations: 121.8 kB / 487.3 MB, free: 15.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.1571, allocations: 11.81 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007064/0.1578, allocations: 250.5 kB / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1578, allocations: 0 / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1578, allocations: 0 / 487.5 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1578, allocations: 7.938 kB / 487.5 MB, free: 14.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009254/0.1587, allocations: 0.5375 MB / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.1587, allocations: 0 / 488.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001881/0.1589, allocations: 47.95 kB / 488.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1589, allocations: 0 / 488.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.159, allocations: 3.953 kB / 488.1 MB, free: 14.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.159, allocations: 4 kB / 488.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.159, allocations: 0 / 488.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006499/0.1596, allocations: 335.4 kB / 488.4 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.892e-05/0.1597, allocations: 89 kB / 488.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.1597, allocations: 8 kB / 488.5 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.1599, allocations: 47.84 kB / 488.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.16, allocations: 15.97 kB / 488.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.171e-06/0.16, allocations: 3.938 kB / 488.6 MB, free: 13.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.921e-05/0.1601, allocations: 126.4 kB / 488.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1601, allocations: 0 / 488.7 MB, free: 13.7 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003059/0.1604, allocations: 51.98 kB / 488.8 MB, free: 13.65 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 (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.001883/0.1623, allocations: 1.245 MB / 490 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006582/0.163, allocations: 203.8 kB / 490.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.163, allocations: 0 / 490.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.1633, allocations: 103.9 kB / 490.3 MB, free: 12.24 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.1636, allocations: 27.2 kB / 490.3 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007208/0.1643, allocations: 476.1 kB / 490.8 MB, free: 11.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000278/0.1646, allocations: 0.7043 MB / 491.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.599e-05/0.1647, allocations: 12.56 kB / 491.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.1648, allocations: 39.41 kB / 491.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1648, allocations: 0 / 491.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.179, allocations: 3.591 MB / 495.2 MB, free: 7.465 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.1793, allocations: 233.2 kB / 495.4 MB, free: 7.219 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_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: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_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: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_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