Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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.0009018/0.000902, allocations: 96.56 kB / 17.01 MB, free: 6.121 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00106/0.001061, allocations: 194.4 kB / 17.91 MB, free: 5.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.3 MB / 246 MB, free: 11.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2213/0.2213, allocations: 45.92 MB / 344.1 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002701/0.0002702, allocations: 15.94 kB / 418.2 MB, free: 20.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1255, allocations: 63.47 MB / 481.6 MB, free: 5.285 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.001779/0.1274, allocations: 1.295 MB / 482.9 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008051/0.1282, allocations: 0.4914 MB / 483.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.667e-05/0.1282, allocations: 8 kB / 483.4 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002027/0.1285, allocations: 23.91 kB / 483.5 MB, free: 3.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1286, allocations: 55.83 kB / 483.5 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.1289, allocations: 75.84 kB / 483.6 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000121/0.129, allocations: 67.77 kB / 483.7 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.04e-05/0.1291, allocations: 4 kB / 483.7 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.76e-05/0.1291, allocations: 23.92 kB / 483.7 MB, free: 3.227 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.592e-05/0.1292, allocations: 31.84 kB / 483.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.1292, allocations: 0 / 483.7 MB, free: 3.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1294, allocations: 87.88 kB / 483.8 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.1294, allocations: 15.92 kB / 483.8 MB, free: 3.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.525e-05/0.1294, allocations: 29.7 kB / 483.8 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.1296, allocations: 112.1 kB / 484 MB, free: 2.949 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.1296, allocations: 0 / 484 MB, free: 2.949 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1296, allocations: 3.938 kB / 484 MB, free: 2.945 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.1296, allocations: 0 / 484 MB, free: 2.945 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004105/0.13, allocations: 403 kB / 484.4 MB, free: 2.504 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.1301, allocations: 8.031 kB / 484.4 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.1301, allocations: 34.56 kB / 484.4 MB, free: 2.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.711e-05/0.1302, allocations: 7.906 kB / 484.4 MB, free: 2.445 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.1303, allocations: 190.9 kB / 484.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.704e-06/0.1304, allocations: 0 / 484.6 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.682e-05/0.1304, allocations: 7.984 kB / 484.6 MB, free: 2.211 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.1305, allocations: 75.34 kB / 484.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.616e-06/0.1305, allocations: 0 / 484.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.1306, allocations: 0 / 484.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1306, allocations: 7.984 kB / 484.7 MB, free: 2.117 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.562e-05/0.1307, allocations: 31.97 kB / 484.7 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003889/0.1311, allocations: 300.7 kB / 485 MB, free: 1.742 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.1312, allocations: 62.5 kB / 485.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.991e-05/0.1313, allocations: 28.97 kB / 485.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.237e-05/0.1313, allocations: 0 / 485.1 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.141e-05/0.1313, allocations: 34.56 kB / 485.1 MB, free: 1.598 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1313, allocations: 4 kB / 485.1 MB, free: 1.594 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005813/0.1319, allocations: 201.2 kB / 485.3 MB, free: 1.391 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.132, allocations: 89 kB / 485.4 MB, free: 1.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.1321, allocations: 150.2 kB / 485.6 MB, free: 1.125 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.1321, allocations: 29.7 kB / 485.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.1322, allocations: 92.12 kB / 485.7 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.468e-05/0.1322, allocations: 27.56 kB / 485.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-06/0.1322, allocations: 0 / 485.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.1323, allocations: 322.8 kB / 486 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.602e-05/0.1324, allocations: 39.97 kB / 486.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/0.1325, allocations: 49.64 kB / 486.1 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.734e-05/0.1326, allocations: 39.97 kB / 486.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1326, allocations: 0 / 486.1 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002145/0.1328, allocations: 125.5 kB / 486.3 MB, free: 392 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.1329, allocations: 8 kB / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.1329, allocations: 0 / 486.3 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.1329, allocations: 3.953 kB / 486.3 MB, free: 380 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.133, allocations: 23.98 kB / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.133, allocations: 0 / 486.3 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.667e-05/0.1331, allocations: 12 kB / 486.3 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.1331, allocations: 0 / 486.3 MB, free: 344 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 (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 prepare postOptimizeDAE: time 7.813e-05/0.1332, allocations: 121.8 kB / 486.4 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.08e-05/0.1332, allocations: 7.906 kB / 486.4 MB, free: 204 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002556/0.1335, allocations: 130.4 kB / 486.6 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.1335, allocations: 7.953 kB / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1335, allocations: 0 / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.1335, allocations: 288 / 486.6 MB, free: 64 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004588/0.134, allocations: 406.4 kB / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.134, allocations: 0 / 487 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.991e-05/0.134, allocations: 27.88 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1341, allocations: 0 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.164e-06/0.1341, allocations: 0 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1341, allocations: 384 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1341, allocations: 0 / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.1343, allocations: 215.2 kB / 487.2 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.73e-05/0.1344, allocations: 93 kB / 487.3 MB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.128e-05/0.1344, allocations: 7.953 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.096e-05/0.1345, allocations: 4 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.1345, allocations: 11.98 kB / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.982e-06/0.1345, allocations: 8 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.501e-05/0.1346, allocations: 117.3 kB / 487.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1346, allocations: 0 / 487.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002957/0.1349, allocations: 44 kB / 487.5 MB, free: 15.06 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 (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 Backend phase and start with SimCode phase: time 0.001402/0.1363, allocations: 1.13 MB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.1366, allocations: 75.95 kB / 488.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1366, allocations: 0 / 488.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.1367, allocations: 47.91 kB / 488.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.137, allocations: 19.92 kB / 488.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.138, allocations: 0.6435 MB / 489.4 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1383, allocations: 0.7004 MB / 490.1 MB, free: 12.51 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.785e-05/0.1383, allocations: 20.56 kB / 490.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.1384, allocations: 31.42 kB / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1384, allocations: 0 / 490.2 MB, free: 12.46 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01554/0.154, allocations: 3.084 MB / 493.2 MB, free: 9.5 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/0.1543, allocations: 235.1 kB / 493.5 MB, free: 9.262 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_CombiTable1Ds_Test25_usertab.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_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_CombiTable1Ds_Test25_usertab_functions.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_Test25_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_CombiTable1Ds_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test25_usertab_functions.o] Error 1