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.0007324/0.0007322, allocations: 95.44 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008662/0.0008664, allocations: 192.9 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.38/1.38, allocations: 227.4 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 45.92 MB / 344.1 MB, free: 12.21 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002838/0.0002838, allocations: 8 kB / 418.2 MB, free: 20.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1276, allocations: 63.47 MB / 481.6 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002671/0.1304, allocations: 1.396 MB / 483 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.1315, allocations: 0.5031 MB / 483.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.191e-05/0.1316, allocations: 0 / 483.5 MB, free: 3.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002457/0.1318, allocations: 27.84 kB / 483.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000257/0.1321, allocations: 63.75 kB / 483.6 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003374/0.1324, allocations: 123.4 kB / 483.8 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.1326, allocations: 75.7 kB / 483.8 MB, free: 3.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.242e-05/0.1327, allocations: 15.98 kB / 483.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.588e-05/0.1327, allocations: 27.91 kB / 483.9 MB, free: 3.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.191e-05/0.1328, allocations: 39.78 kB / 483.9 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.425e-05/0.1328, allocations: 4 kB / 483.9 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001516/0.133, allocations: 91.94 kB / 484 MB, free: 2.895 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.228e-05/0.1331, allocations: 19.91 kB / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.1331, allocations: 37.64 kB / 484.1 MB, free: 2.832 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1333, allocations: 116 kB / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.1333, allocations: 0 / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1333, allocations: 0 / 484.2 MB, free: 2.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.787e-06/0.1333, allocations: 0 / 484.2 MB, free: 2.719 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.0005874/0.1339, allocations: 442.9 kB / 484.6 MB, free: 2.238 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.134, allocations: 8.031 kB / 484.6 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.761e-05/0.134, allocations: 38.5 kB / 484.6 MB, free: 2.184 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1341, allocations: 7.906 kB / 484.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000242/0.1343, allocations: 202.8 kB / 484.9 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.1343, allocations: 8 kB / 484.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.1343, allocations: 0 / 484.9 MB, free: 1.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/0.1346, allocations: 107.3 kB / 485 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.1347, allocations: 0 / 485 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.1347, allocations: 4 kB / 485 MB, free: 1.809 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.1347, allocations: 7.984 kB / 485 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003046/0.135, allocations: 95.8 kB / 485.1 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004955/0.1355, allocations: 316.7 kB / 485.4 MB, free: 1.348 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002671/0.1358, allocations: 82.53 kB / 485.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.1359, allocations: 56.88 kB / 485.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.136, allocations: 0 / 485.5 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.136, allocations: 42.56 kB / 485.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 8.01e-07/0.136, allocations: 0 / 485.6 MB, free: 1.148 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001512/0.1375, allocations: 480.9 kB / 486 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.581e-05/0.1376, allocations: 77.11 kB / 486.1 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/0.1378, allocations: 158.2 kB / 486.3 MB, free: 424 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1378, allocations: 29.7 kB / 486.3 MB, free: 388 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.9e-05/0.1378, allocations: 112.2 kB / 486.4 MB, free: 272 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.1379, allocations: 27.56 kB / 486.4 MB, free: 244 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-06/0.1379, allocations: 4 kB / 486.4 MB, free: 240 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.138, allocations: 318.8 kB / 486.7 MB, free: 15.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.1383, allocations: 91.92 kB / 486.8 MB, free: 15.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000271/0.1386, allocations: 113.6 kB / 486.9 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.1388, allocations: 87.97 kB / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1388, allocations: 0 / 487 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005903/0.1394, allocations: 237.4 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.1395, allocations: 10.7 kB / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.1395, allocations: 0 / 487.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1395, allocations: 4 kB / 487.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002524/0.1398, allocations: 51.92 kB / 487.3 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1398, allocations: 7.938 kB / 487.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001639/0.14, allocations: 39.95 kB / 487.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.14, allocations: 0 / 487.4 MB, free: 15.27 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.0001318/0.1401, allocations: 117.8 kB / 487.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.1402, allocations: 19.75 kB / 487.5 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006915/0.1409, allocations: 238.2 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.1409, allocations: 4 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.1409, allocations: 3.953 kB / 487.7 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.1409, allocations: 4 kB / 487.7 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009257/0.1418, allocations: 0.5338 MB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1418, allocations: 0 / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001801/0.142, allocations: 51.95 kB / 488.3 MB, free: 14.24 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.142, allocations: 11.95 kB / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.05e-05/0.1421, allocations: 0 / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1421, allocations: 0 / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.1421, allocations: 0 / 488.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006215/0.1427, allocations: 327.2 kB / 488.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.814e-05/0.1428, allocations: 93 kB / 488.8 MB, free: 13.79 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.182e-05/0.1428, allocations: 7.953 kB / 488.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.143, allocations: 35.97 kB / 488.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.1431, allocations: 15.97 kB / 488.8 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.1431, allocations: 3.938 kB / 488.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001026/0.1432, allocations: 132.1 kB / 488.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1432, allocations: 0 / 488.9 MB, free: 13.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003178/0.1435, allocations: 43.98 kB / 489 MB, free: 13.55 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.001856/0.1454, allocations: 1.254 MB / 490.2 MB, free: 12.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006071/0.146, allocations: 203.7 kB / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.146, allocations: 0 / 490.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002855/0.1463, allocations: 103.9 kB / 490.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.1466, allocations: 23.84 kB / 490.6 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.1484, allocations: 0.8916 MB / 491.5 MB, free: 11.16 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002225/0.1486, allocations: 0.7044 MB / 492.2 MB, free: 10.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.709e-05/0.1487, allocations: 20.48 kB / 492.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.813e-05/0.1488, allocations: 35.42 kB / 492.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1488, allocations: 0 / 492.2 MB, free: 10.38 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01339/0.1622, allocations: 3.645 MB / 495.9 MB, free: 6.867 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001727/0.1624, allocations: 229.7 kB / 496.1 MB, free: 6.633 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_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: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_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: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_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