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.001292/0.001292, allocations: 97.38 kB / 15.69 MB, free: 488 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.002307/0.002307, allocations: 175.5 kB / 16.57 MB, free: 6.375 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.864/1.864, allocations: 205.4 MB / 222.7 MB, free: 5.637 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.3553/0.3553, allocations: 43.54 MB / 314.5 MB, free: 8.836 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.0007315/0.0007316, allocations: 16 kB / 384 MB, free: 7.941 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1377, allocations: 58.85 MB / 442.8 MB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002118/0.1399, allocations: 1.272 MB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005852/0.1405, allocations: 311.7 kB / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.594e-05/0.1406, allocations: 0 / 444.4 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002028/0.1408, allocations: 15.92 kB / 444.4 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001386/0.1409, allocations: 31.84 kB / 444.5 MB, free: 11.35 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002463/0.1412, allocations: 79.89 kB / 444.5 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001206/0.1413, allocations: 35.91 kB / 444.6 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.575e-05/0.1414, allocations: 16.42 kB / 444.6 MB, free: 11.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.556e-05/0.1415, allocations: 19.92 kB / 444.6 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.884e-05/0.1415, allocations: 19.88 kB / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.1416, allocations: 0 / 444.6 MB, free: 11.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.827e-05/0.1417, allocations: 35.91 kB / 444.7 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.1417, allocations: 19.92 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.1417, allocations: 25.7 kB / 444.7 MB, free: 11.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1419, allocations: 67.84 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1419, allocations: 0 / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.619e-06/0.1419, allocations: 0 / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.1419, allocations: 3.938 kB / 444.8 MB, free: 11.02 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.000461/0.1424, allocations: 375.1 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.1424, allocations: 12.03 kB / 445.2 MB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.219e-05/0.1425, allocations: 34.56 kB / 445.2 MB, free: 10.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.105e-05/0.1425, allocations: 15.86 kB / 445.2 MB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.1427, allocations: 190.9 kB / 445.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.1427, allocations: 0 / 445.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.797e-05/0.1428, allocations: 4 kB / 445.4 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.1429, allocations: 71.33 kB / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.143, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.143, allocations: 0 / 445.5 MB, free: 10.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.143, allocations: 3.938 kB / 445.5 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.1431, allocations: 43.92 kB / 445.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003837/0.1435, allocations: 277 kB / 445.8 MB, free: 9.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001001/0.1436, allocations: 42.55 kB / 445.8 MB, free: 9.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/0.1437, allocations: 4 kB / 445.8 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1437, allocations: 42.5 kB / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1437, allocations: 0 / 445.9 MB, free: 9.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0005876/0.1443, allocations: 177.4 kB / 446 MB, free: 9.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1444, allocations: 81.05 kB / 446.1 MB, free: 9.477 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1445, allocations: 137.7 kB / 446.3 MB, free: 9.332 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/0.1445, allocations: 29.64 kB / 446.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.172e-05/0.1446, allocations: 92.14 kB / 446.4 MB, free: 9.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.457e-05/0.1446, allocations: 19.8 kB / 446.4 MB, free: 9.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.1446, allocations: 4 kB / 446.4 MB, free: 9.18 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001128/0.1447, allocations: 310.8 kB / 446.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.7e-05/0.1448, allocations: 27.98 kB / 446.7 MB, free: 8.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.728e-05/0.1449, allocations: 41.69 kB / 446.8 MB, free: 8.793 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.145, allocations: 36.02 kB / 446.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.71e-07/0.145, allocations: 0 / 446.8 MB, free: 8.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001929/0.1452, allocations: 93.56 kB / 446.9 MB, free: 8.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1452, allocations: 8 kB / 446.9 MB, free: 8.652 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.1453, allocations: 4.234 kB / 446.9 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.1453, allocations: 7.938 kB / 446.9 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.828e-05/0.1454, allocations: 15.98 kB / 446.9 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.042e-06/0.1454, allocations: 0 / 446.9 MB, free: 8.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.485e-05/0.1454, allocations: 8 kB / 446.9 MB, free: 8.617 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.1455, allocations: 0 / 446.9 MB, free: 8.617 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 9.818e-05/0.1456, allocations: 125.8 kB / 447.1 MB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.1456, allocations: 11.89 kB / 447.1 MB, free: 8.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.1459, allocations: 114 kB / 447.2 MB, free: 8.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1459, allocations: 3.953 kB / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.1459, allocations: 7.984 kB / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.1459, allocations: 0 / 447.2 MB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.1463, allocations: 370.5 kB / 447.6 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.1463, allocations: 0 / 447.6 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.007e-05/0.1464, allocations: 20.36 kB / 447.6 MB, free: 7.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.1464, allocations: 3.953 kB / 447.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.243e-06/0.1464, allocations: 0 / 447.6 MB, free: 7.906 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1464, allocations: 4 kB / 447.6 MB, free: 7.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1464, allocations: 11.88 kB / 447.6 MB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002219/0.1467, allocations: 187.5 kB / 447.8 MB, free: 7.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-05/0.1468, allocations: 89 kB / 447.9 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/0.1468, allocations: 3.953 kB / 447.9 MB, free: 7.582 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.11e-05/0.1469, allocations: 12 kB / 447.9 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.1469, allocations: 7.984 kB / 447.9 MB, free: 7.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-06/0.1469, allocations: 4 kB / 447.9 MB, free: 7.559 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.236e-05/0.147, allocations: 103.2 kB / 448 MB, free: 7.457 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.147, allocations: 0 / 448 MB, free: 7.457 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002651/0.1473, allocations: 23.98 kB / 448 MB, free: 7.434 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.001344/0.1486, allocations: 1.068 MB / 449.1 MB, free: 6.375 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1488, allocations: 59.97 kB / 449.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1489, allocations: 0 / 449.2 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.1489, allocations: 43.91 kB / 449.2 MB, free: 6.273 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.1492, allocations: 23.92 kB / 449.2 MB, free: 6.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009301/0.1501, allocations: 0.5491 MB / 449.8 MB, free: 5.652 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002833/0.1504, allocations: 0.6965 MB / 450.5 MB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.765e-05/0.1505, allocations: 19.98 kB / 450.5 MB, free: 4.91 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.1506, allocations: 23.42 kB / 450.5 MB, free: 4.887 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1506, allocations: 0 / 450.5 MB, free: 4.887 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01336/0.1639, allocations: 2.388 MB / 452.9 MB, free: 2.504 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002972/0.1643, allocations: 234.9 kB / 453.1 MB, free: 2.254 MB / 382.1 MB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -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:149: ./gc/omc_gc.h:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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 -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:218:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:222: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