Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test25_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009733/0.0009732, allocations: 96.86 kB / 15.7 MB, free: 468 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 173 kB / 16.58 MB, free: 6.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.477/1.477, allocations: 205.4 MB / 222.8 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3403/0.3403, allocations: 43.55 MB / 314.6 MB, free: 9.055 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005085/0.0005086, allocations: 12 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.129, allocations: 58.86 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.00208/0.1311, allocations: 1.279 MB / 444.2 MB, free: 11.9 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006439/0.1318, allocations: 315.8 kB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.995e-05/0.1319, allocations: 4 kB / 444.5 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002202/0.1321, allocations: 15.92 kB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001796/0.1323, allocations: 39.84 kB / 444.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002806/0.1326, allocations: 71.89 kB / 444.6 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.1327, allocations: 55.78 kB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.039e-05/0.1328, allocations: 20.44 kB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.226e-05/0.1329, allocations: 15.94 kB / 444.7 MB, free: 11.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.117e-05/0.133, allocations: 23.84 kB / 444.7 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.133, allocations: 4 kB / 444.7 MB, free: 11.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.1331, allocations: 35.98 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.867e-05/0.1332, allocations: 15.92 kB / 444.8 MB, free: 11.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.069e-05/0.1332, allocations: 29.64 kB / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001486/0.1334, allocations: 71.83 kB / 444.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.1334, allocations: 0 / 444.9 MB, free: 11.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.236e-06/0.1334, allocations: 8 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1334, allocations: 0 / 444.9 MB, free: 11.18 MB / 382.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.0004567/0.1338, allocations: 363.2 kB / 445.2 MB, free: 10.78 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1339, allocations: 12.03 kB / 445.2 MB, free: 10.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.248e-05/0.1339, allocations: 38.5 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.288e-05/0.134, allocations: 11.86 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002061/0.1342, allocations: 194.8 kB / 445.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.618e-06/0.1342, allocations: 0 / 445.5 MB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.1342, allocations: 4 kB / 445.5 MB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001591/0.1344, allocations: 71.39 kB / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1344, allocations: 0 / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1344, allocations: 3.938 kB / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1345, allocations: 0 / 445.5 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.1346, allocations: 47.86 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003885/0.135, allocations: 284.9 kB / 445.9 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.873e-05/0.1351, allocations: 42.56 kB / 445.9 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.1351, allocations: 16.86 kB / 445.9 MB, free: 9.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.1352, allocations: 4.078 kB / 445.9 MB, free: 9.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1352, allocations: 38.56 kB / 446 MB, free: 9.891 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.1352, allocations: 0 / 446 MB, free: 9.891 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005517/0.1358, allocations: 177.2 kB / 446.1 MB, free: 9.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.1358, allocations: 81.11 kB / 446.2 MB, free: 9.613 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.136, allocations: 137.7 kB / 446.4 MB, free: 9.469 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.136, allocations: 25.7 kB / 446.4 MB, free: 9.438 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.838e-05/0.136, allocations: 92.14 kB / 446.5 MB, free: 9.344 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.1361, allocations: 11.81 kB / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.03e-06/0.1361, allocations: 4 kB / 446.5 MB, free: 9.328 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1362, allocations: 322.8 kB / 446.8 MB, free: 9.004 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.048e-05/0.1363, allocations: 23.98 kB / 446.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.1364, allocations: 41.69 kB / 446.9 MB, free: 8.934 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.918e-05/0.1365, allocations: 32.02 kB / 446.9 MB, free: 8.902 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.1365, allocations: 0 / 446.9 MB, free: 8.902 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001927/0.1367, allocations: 97.56 kB / 447 MB, free: 8.801 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.1367, allocations: 7.953 kB / 447 MB, free: 8.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.1367, allocations: 4.25 kB / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.1367, allocations: 0 / 447 MB, free: 8.789 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.544e-05/0.1368, allocations: 28.2 kB / 447 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1368, allocations: 0 / 447 MB, free: 8.762 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.218e-05/0.1369, allocations: 4 kB / 447 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1369, allocations: 4 kB / 447 MB, free: 8.754 MB / 382.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 (6): * Single equations (assignments): 6 * 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 8.338e-05/0.137, allocations: 121.8 kB / 447.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.137, allocations: 11.89 kB / 447.2 MB, free: 8.613 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002415/0.1373, allocations: 121.9 kB / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1373, allocations: 0 / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.1373, allocations: 0 / 447.3 MB, free: 8.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.1373, allocations: 3.984 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004366/0.1377, allocations: 374.4 kB / 447.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.1378, allocations: 0 / 447.7 MB, free: 8.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.959e-05/0.1378, allocations: 19.94 kB / 447.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.1378, allocations: 0 / 447.7 MB, free: 8.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.869e-06/0.1379, allocations: 4 kB / 447.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.1379, allocations: 0 / 447.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1379, allocations: 0 / 447.7 MB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002382/0.1381, allocations: 199.4 kB / 447.9 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.095e-05/0.1382, allocations: 89 kB / 448 MB, free: 7.723 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1382, allocations: 3.953 kB / 448 MB, free: 7.719 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.595e-05/0.1383, allocations: 8.188 kB / 448 MB, free: 7.711 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.003e-05/0.1383, allocations: 11.98 kB / 448 MB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.1383, allocations: 4 kB / 448 MB, free: 7.695 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.848e-05/0.1384, allocations: 107.3 kB / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1384, allocations: 0 / 448.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000254/0.1387, allocations: 23.98 kB / 448.1 MB, free: 7.566 MB / 382.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 (6): * Single equations (assignments): 6 * 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.001348/0.14, allocations: 1.059 MB / 449.2 MB, free: 6.516 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001793/0.1402, allocations: 63.97 kB / 449.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1402, allocations: 0 / 449.2 MB, free: 6.453 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.869e-05/0.1403, allocations: 39.91 kB / 449.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002854/0.1406, allocations: 15.94 kB / 449.3 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009629/0.1416, allocations: 0.553 MB / 449.9 MB, free: 5.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.142, allocations: 0.6926 MB / 450.5 MB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.674e-05/0.1421, allocations: 23.95 kB / 450.6 MB, free: 5.055 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.074e-05/0.1421, allocations: 31.36 kB / 450.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1421, allocations: 0 / 450.6 MB, free: 5.027 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.1561, allocations: 2.423 MB / 453 MB, free: 2.609 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/0.1563, allocations: 232.1 kB / 453.2 MB, free: 2.367 MB / 382.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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 3.2.3+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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 -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 3.2.3+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_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_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_includes.h:4: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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_3_2_3_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o] Error 1