Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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.0009731/0.0009732, allocations: 96.41 kB / 17 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009242/0.0009245, allocations: 198.5 kB / 17.91 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, 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.2153/0.2153, allocations: 45.92 MB / 344.1 MB, free: 12.06 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002568/0.0002568, allocations: 11.94 kB / 418.2 MB, free: 20.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1336, allocations: 63.47 MB / 481.6 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.001791/0.1355, allocations: 1.295 MB / 482.9 MB, free: 3.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008165/0.1363, allocations: 0.507 MB / 483.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.687e-05/0.1364, allocations: 0 / 483.4 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001836/0.1366, allocations: 27.91 kB / 483.5 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1368, allocations: 55.78 kB / 483.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002662/0.137, allocations: 95.81 kB / 483.6 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.1372, allocations: 59.83 kB / 483.7 MB, free: 3.176 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.333e-05/0.1373, allocations: 11.98 kB / 483.7 MB, free: 3.164 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.1373, allocations: 27.86 kB / 483.7 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.787e-05/0.1374, allocations: 19.92 kB / 483.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.1374, allocations: 0 / 483.7 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001482/0.1376, allocations: 87.88 kB / 483.8 MB, free: 3.031 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.1376, allocations: 19.91 kB / 483.8 MB, free: 3.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.603e-05/0.1377, allocations: 25.7 kB / 483.9 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001911/0.1378, allocations: 104.1 kB / 484 MB, free: 2.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1379, allocations: 4 kB / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.095e-06/0.1379, allocations: 0 / 484 MB, free: 2.875 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.1379, allocations: 3.938 kB / 484 MB, free: 2.871 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004651/0.1384, allocations: 403 kB / 484.4 MB, free: 2.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1384, allocations: 11.97 kB / 484.4 MB, free: 2.418 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.1384, allocations: 38.56 kB / 484.4 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.154e-05/0.1385, allocations: 7.906 kB / 484.4 MB, free: 2.363 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.1387, allocations: 186.9 kB / 484.6 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.656e-06/0.1387, allocations: 8 kB / 484.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.846e-05/0.1387, allocations: 4 kB / 484.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1389, allocations: 59.34 kB / 484.7 MB, free: 2.059 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.1389, allocations: 8 kB / 484.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.1389, allocations: 0 / 484.7 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1389, allocations: 3.984 kB / 484.7 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.546e-05/0.139, allocations: 27.98 kB / 484.7 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.1395, allocations: 296.9 kB / 485 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001078/0.1396, allocations: 54.48 kB / 485.1 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.879e-05/0.1397, allocations: 28.94 kB / 485.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.1397, allocations: 0 / 485.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.534e-05/0.1397, allocations: 34.56 kB / 485.1 MB, free: 1.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 3.096e-06/0.1397, allocations: 3.984 kB / 485.1 MB, free: 1.539 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006262/0.1404, allocations: 197.2 kB / 485.3 MB, free: 1.34 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.1404, allocations: 81.06 kB / 485.4 MB, free: 1.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1406, allocations: 148.5 kB / 485.5 MB, free: 1.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.1406, allocations: 25.7 kB / 485.6 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.1407, allocations: 104 kB / 485.7 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.176e-05/0.1407, allocations: 19.66 kB / 485.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-06/0.1407, allocations: 0 / 485.7 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1408, allocations: 322.8 kB / 486 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.1409, allocations: 31.98 kB / 486 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.141, allocations: 57.75 kB / 486.1 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.934e-05/0.1411, allocations: 43.89 kB / 486.1 MB, free: 484 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1411, allocations: 0 / 486.1 MB, free: 484 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000218/0.1413, allocations: 117.5 kB / 486.2 MB, free: 360 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1414, allocations: 8.031 kB / 486.3 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1414, allocations: 0 / 486.3 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1414, allocations: 0 / 486.3 MB, free: 352 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1415, allocations: 19.98 kB / 486.3 MB, free: 332 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.1415, allocations: 3.953 kB / 486.3 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.643e-05/0.1416, allocations: 8 kB / 486.3 MB, free: 320 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.084e-06/0.1416, allocations: 0 / 486.3 MB, free: 320 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 (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 prepare postOptimizeDAE: time 9.781e-05/0.1417, allocations: 129.8 kB / 486.4 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.006e-05/0.1417, allocations: 7.906 kB / 486.4 MB, free: 172 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/0.142, allocations: 114.4 kB / 486.5 MB, free: 56 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.142, allocations: 4 kB / 486.5 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.142, allocations: 0 / 486.5 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.142, allocations: 7.891 kB / 486.5 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004919/0.1425, allocations: 402.4 kB / 486.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1425, allocations: 0 / 486.9 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.1426, allocations: 12 kB / 486.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.1426, allocations: 4 kB / 487 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1426, allocations: 11.95 kB / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.1426, allocations: 0 / 487 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.1426, allocations: 7.984 kB / 487 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.1429, allocations: 203.4 kB / 487.2 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.26e-05/0.143, allocations: 85.02 kB / 487.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.28e-05/0.143, allocations: 7.984 kB / 487.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.123e-05/0.1431, allocations: 11.95 kB / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.89e-05/0.1431, allocations: 3.984 kB / 487.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1431, allocations: 4 kB / 487.3 MB, free: 15.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.852e-05/0.1432, allocations: 111.2 kB / 487.4 MB, free: 15.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1432, allocations: 4 kB / 487.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002884/0.1435, allocations: 43.98 kB / 487.4 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 (7): * Single equations (assignments): 7 * 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.001521/0.145, allocations: 1.128 MB / 488.6 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002254/0.1453, allocations: 75.95 kB / 488.6 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1453, allocations: 4 kB / 488.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.924e-05/0.1454, allocations: 43.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.0003053/0.1457, allocations: 23.83 kB / 488.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1468, allocations: 0.632 MB / 489.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.1471, allocations: 0.6965 MB / 490 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.167e-05/0.1471, allocations: 28.8 kB / 490.1 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.878e-05/0.1472, allocations: 23.42 kB / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1472, allocations: 0 / 490.1 MB, free: 12.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01369/0.1609, allocations: 3.033 MB / 493.1 MB, free: 9.566 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001935/0.1611, allocations: 227.9 kB / 493.3 MB, free: 9.332 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_CombiTable1Dv_Test25_usertab.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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_CombiTable1Dv_Test25_usertab_functions.o ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_functions.c In file included from ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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_CombiTable1Dv_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_trunk_ModelicaTest_Tables_CombiTable1Dv_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_CombiTable1Dv_Test25_usertab_functions.o] Error 1