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/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.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/ModelicaServices trunk/package.mo): time 0.001205/0.001205, allocations: 97.5 kB / 16.99 MB, free: 6.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001567/0.001568, allocations: 197.4 kB / 17.9 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.497/1.497, allocations: 227.3 MB / 245.9 MB, free: 10.32 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2167/0.2167, allocations: 45.92 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002749/0.0002751, allocations: 8 kB / 418.1 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.136, allocations: 63.47 MB / 481.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002085/0.1381, allocations: 1.397 MB / 482.9 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000945/0.1391, allocations: 0.5109 MB / 483.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.1392, allocations: 0 / 483.4 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002156/0.1394, allocations: 31.78 kB / 483.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002225/0.1396, allocations: 67.73 kB / 483.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003942/0.14, allocations: 163.2 kB / 483.7 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.1402, allocations: 55.88 kB / 483.7 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1403, allocations: 15.98 kB / 483.8 MB, free: 3.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.835e-05/0.1404, allocations: 35.84 kB / 483.8 MB, free: 3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.905e-05/0.1404, allocations: 31.84 kB / 483.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1405, allocations: 0 / 483.8 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1406, allocations: 79.88 kB / 483.9 MB, free: 2.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.622e-05/0.1407, allocations: 15.92 kB / 483.9 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.986e-05/0.1407, allocations: 37.64 kB / 484 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001905/0.1409, allocations: 128 kB / 484.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.1409, allocations: 0 / 484.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1409, allocations: 0 / 484.1 MB, free: 2.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.1409, allocations: 0 / 484.1 MB, free: 2.707 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.000647/0.1416, allocations: 435 kB / 484.5 MB, free: 2.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.1417, allocations: 8.031 kB / 484.5 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.083e-05/0.1417, allocations: 42.55 kB / 484.6 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/0.1417, allocations: 7.906 kB / 484.6 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.142, allocations: 206.8 kB / 484.8 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.142, allocations: 4 kB / 484.8 MB, free: 1.922 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.946e-05/0.142, allocations: 4 kB / 484.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002768/0.1423, allocations: 99.36 kB / 484.9 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1423, allocations: 8 kB / 484.9 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1424, allocations: 3.984 kB / 484.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1424, allocations: 0 / 484.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.1427, allocations: 103.9 kB / 485 MB, free: 1.695 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006017/0.1433, allocations: 360.5 kB / 485.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1436, allocations: 90.52 kB / 485.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.452e-05/0.1436, allocations: 0 / 485.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.1436, allocations: 34.56 kB / 485.5 MB, free: 1.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.1437, allocations: 3.938 kB / 485.5 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001695/0.1454, allocations: 0.497 MB / 486 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.1454, allocations: 77.11 kB / 486 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1456, allocations: 170.2 kB / 486.2 MB, free: 384 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.1456, allocations: 29.7 kB / 486.2 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.015e-05/0.1457, allocations: 104.2 kB / 486.3 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.146e-05/0.1457, allocations: 31.55 kB / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.283e-06/0.1458, allocations: 96 / 486.4 MB, free: 208 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001424/0.1459, allocations: 330.8 kB / 486.7 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.1462, allocations: 95.92 kB / 486.8 MB, free: 15.78 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.1465, allocations: 113.6 kB / 486.9 MB, free: 15.66 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1468, allocations: 107.9 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1468, allocations: 4 kB / 487 MB, free: 15.55 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006799/0.1475, allocations: 257.3 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.1476, allocations: 7.938 kB / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.1476, allocations: 0 / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.1476, allocations: 0 / 487.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.1478, allocations: 51.95 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/0.1479, allocations: 7.953 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.1481, allocations: 31.97 kB / 487.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.343e-05/0.1481, allocations: 4 kB / 487.4 MB, free: 15.19 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.0001676/0.1483, allocations: 125.8 kB / 487.5 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.999e-05/0.1483, allocations: 7.906 kB / 487.5 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008041/0.1491, allocations: 270.2 kB / 487.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1491, allocations: 0 / 487.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1491, allocations: 0 / 487.7 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1492, allocations: 8.328 kB / 487.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001168/0.1503, allocations: 0.5646 MB / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.1503, allocations: 0 / 488.3 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.1506, allocations: 55.95 kB / 488.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.1506, allocations: 0 / 488.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.1506, allocations: 3.953 kB / 488.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.1506, allocations: 0 / 488.4 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.1506, allocations: 3.938 kB / 488.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/0.1514, allocations: 343.6 kB / 488.7 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.217e-05/0.1515, allocations: 92.91 kB / 488.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.1515, allocations: 4 kB / 488.8 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001928/0.1517, allocations: 47.92 kB / 488.9 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.382e-05/0.1518, allocations: 11.97 kB / 488.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.1518, allocations: 0 / 488.9 MB, free: 13.57 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001202/0.1519, allocations: 123.2 kB / 489 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1519, allocations: 0 / 489 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003313/0.1523, allocations: 59.98 kB / 489 MB, free: 13.39 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.002258/0.1545, allocations: 1.258 MB / 490.3 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006962/0.1552, allocations: 219.8 kB / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1552, allocations: 0 / 490.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003156/0.1556, allocations: 107.9 kB / 490.6 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002752/0.1559, allocations: 22.34 kB / 490.6 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008176/0.1567, allocations: 0.4928 MB / 491.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.157, allocations: 0.716 MB / 491.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000112/0.1571, allocations: 28.47 kB / 491.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.1572, allocations: 43.41 kB / 491.9 MB, free: 10.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1572, allocations: 4 kB / 491.9 MB, free: 10.57 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01672/0.174, allocations: 3.695 MB / 495.6 MB, free: 7.012 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001979/0.1742, allocations: 228 kB / 495.8 MB, free: 6.773 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_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: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_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: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_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