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.0008413/0.0008412, allocations: 91.61 kB / 17 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001217/0.001217, allocations: 194.5 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.475/1.475, allocations: 227.4 MB / 246 MB, free: 10.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2134/0.2134, allocations: 45.91 MB / 344.1 MB, free: 12.01 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 8 kB / 418.2 MB, free: 20.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1326, allocations: 63.48 MB / 481.6 MB, free: 5.254 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.001775/0.1345, allocations: 1.389 MB / 483 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008407/0.1353, allocations: 0.5382 MB / 483.6 MB, free: 3.305 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.642e-05/0.1354, allocations: 4 kB / 483.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.1356, allocations: 23.91 kB / 483.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.1358, allocations: 63.77 kB / 483.7 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.1362, allocations: 167.1 kB / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1363, allocations: 83.75 kB / 483.9 MB, free: 2.973 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.399e-05/0.1364, allocations: 12 kB / 483.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.735e-05/0.1365, allocations: 35.84 kB / 483.9 MB, free: 2.926 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.666e-05/0.1366, allocations: 39.77 kB / 484 MB, free: 2.887 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.651e-05/0.1366, allocations: 4 kB / 484 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000158/0.1367, allocations: 83.94 kB / 484.1 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.053e-05/0.1368, allocations: 19.92 kB / 484.1 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.248e-05/0.1368, allocations: 41.58 kB / 484.1 MB, free: 2.734 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001766/0.137, allocations: 120 kB / 484.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.77e-06/0.137, allocations: 0 / 484.2 MB, free: 2.617 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1371, allocations: 4 kB / 484.3 MB, free: 2.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1371, allocations: 0 / 484.3 MB, free: 2.613 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.0005887/0.1377, allocations: 442.9 kB / 484.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.1377, allocations: 8.031 kB / 484.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.409e-05/0.1377, allocations: 30.56 kB / 484.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.1378, allocations: 15.91 kB / 484.7 MB, free: 2.07 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002118/0.138, allocations: 206.8 kB / 484.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.138, allocations: 0 / 484.9 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.138, allocations: 8 kB / 484.9 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002649/0.1383, allocations: 99.36 kB / 485 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1383, allocations: 0 / 485 MB, free: 1.711 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.1384, allocations: 7.984 kB / 485.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1384, allocations: 0 / 485.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.1387, allocations: 99.91 kB / 485.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005619/0.1392, allocations: 368.5 kB / 485.5 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.1395, allocations: 90.53 kB / 485.6 MB, free: 1.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/0.1396, allocations: 56.88 kB / 485.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.769e-05/0.1397, allocations: 4 kB / 485.7 MB, free: 1.035 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.409e-05/0.1397, allocations: 42.5 kB / 485.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1397, allocations: 0 / 485.7 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001715/0.1414, allocations: 0.4969 MB / 486.2 MB, free: 492 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.1415, allocations: 77.11 kB / 486.3 MB, free: 396 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.1417, allocations: 166.2 kB / 486.4 MB, free: 220 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1417, allocations: 25.7 kB / 486.5 MB, free: 188 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.374e-05/0.1418, allocations: 108.2 kB / 486.6 MB, free: 76 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/0.1418, allocations: 27.56 kB / 486.6 MB, free: 48 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.1418, allocations: 4 kB / 486.6 MB, free: 44 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001116/0.1419, allocations: 322.8 kB / 486.9 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003058/0.1422, allocations: 99.91 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.1425, allocations: 129.5 kB / 487.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.1428, allocations: 99.95 kB / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1428, allocations: 0 / 487.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006136/0.1435, allocations: 257.3 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.1435, allocations: 6.344 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1435, allocations: 4 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.1435, allocations: 7.984 kB / 487.5 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002117/0.1437, allocations: 48.3 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.1438, allocations: 3.984 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1439, allocations: 39.95 kB / 487.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.213e-05/0.1439, allocations: 4 kB / 487.6 MB, free: 15.02 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 9.123e-05/0.144, allocations: 121.8 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.529e-05/0.1441, allocations: 7.906 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006574/0.1447, allocations: 266.2 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.1447, allocations: 4 kB / 488 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.036e-06/0.1448, allocations: 7.938 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1448, allocations: 4 kB / 488 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009824/0.1458, allocations: 0.5685 MB / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1458, allocations: 0 / 488.6 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001966/0.146, allocations: 39.97 kB / 488.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.146, allocations: 7.953 kB / 488.6 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.146, allocations: 4 kB / 488.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.146, allocations: 0 / 488.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.146, allocations: 0 / 488.6 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.1467, allocations: 347.2 kB / 489 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.069e-05/0.1467, allocations: 96.91 kB / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.624e-05/0.1468, allocations: 3.953 kB / 489.1 MB, free: 13.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.147, allocations: 35.97 kB / 489.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.318e-05/0.147, allocations: 12.36 kB / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.053e-05/0.147, allocations: 4 kB / 489.1 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001092/0.1472, allocations: 127.2 kB / 489.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1472, allocations: 0 / 489.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.1475, allocations: 47.94 kB / 489.3 MB, free: 13.24 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.001893/0.1494, allocations: 1.256 MB / 490.5 MB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006838/0.1501, allocations: 227.7 kB / 490.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1501, allocations: 0 / 490.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000294/0.1504, allocations: 111.9 kB / 490.9 MB, free: 11.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1508, allocations: 23.94 kB / 490.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.1528, allocations: 0.9718 MB / 491.9 MB, free: 10.74 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003245/0.1531, allocations: 0.708 MB / 492.6 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000151/0.1533, allocations: 28.64 kB / 492.6 MB, free: 9.977 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.72e-05/0.1534, allocations: 39.36 kB / 492.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1534, allocations: 0 / 492.6 MB, free: 9.938 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02182/0.1753, allocations: 3.764 MB / 496.4 MB, free: 6.312 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/0.1755, allocations: 230.5 kB / 496.6 MB, free: 6.074 MB / 366.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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:144: ./gc/omc_gc.h:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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 -Wno-parentheses-equality -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:219:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:223: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