Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_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.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_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.0008758/0.0008761, 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.001316/0.001316, allocations: 177 kB / 16.58 MB, free: 5.652 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.376/1.376, allocations: 205.4 MB / 222.7 MB, free: 5.582 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.3634/0.3634, allocations: 43.54 MB / 314.6 MB, free: 9.02 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.0005734/0.0005736, allocations: 15.98 kB / 384 MB, free: 8.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1442, allocations: 58.86 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002149/0.1464, allocations: 1.36 MB / 444.2 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000744/0.1471, allocations: 347.7 kB / 444.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.1473, allocations: 0 / 444.6 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002173/0.1475, allocations: 23.91 kB / 444.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001946/0.1477, allocations: 35.84 kB / 444.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.1481, allocations: 151.7 kB / 444.8 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001596/0.1483, allocations: 67.77 kB / 444.8 MB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.1484, allocations: 24.47 kB / 444.9 MB, free: 11.17 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.1485, allocations: 27.86 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.299e-05/0.1485, allocations: 35.84 kB / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1485, allocations: 0 / 444.9 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001331/0.1487, allocations: 47.97 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.1487, allocations: 15.92 kB / 445 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.1488, allocations: 37.64 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000172/0.149, allocations: 91.78 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.149, allocations: 0 / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.149, allocations: 0 / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.735e-06/0.149, allocations: 0 / 445.1 MB, free: 10.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006388/0.1496, allocations: 419 kB / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.1497, allocations: 8.031 kB / 445.5 MB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.096e-05/0.1498, allocations: 38.56 kB / 445.6 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.1498, allocations: 11.86 kB / 445.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003009/0.1501, allocations: 190.9 kB / 445.8 MB, free: 10.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.1502, allocations: 11.98 kB / 445.8 MB, free: 10.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1502, allocations: 7.938 kB / 445.8 MB, free: 10.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002996/0.1505, allocations: 99.36 kB / 445.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.1505, allocations: 0 / 445.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1505, allocations: 11.95 kB / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1506, allocations: 0 / 445.9 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.1509, allocations: 103.9 kB / 446 MB, free: 9.922 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.1515, allocations: 352.6 kB / 446.3 MB, free: 9.527 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002415/0.1518, allocations: 78.53 kB / 446.4 MB, free: 9.441 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.152, allocations: 60.89 kB / 446.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.425e-05/0.152, allocations: 0 / 446.5 MB, free: 9.379 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.152, allocations: 38.56 kB / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.152, allocations: 0 / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001605/0.1537, allocations: 492.9 kB / 447 MB, free: 8.844 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.975e-05/0.1537, allocations: 77.11 kB / 447.1 MB, free: 8.75 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.1539, allocations: 146.4 kB / 447.2 MB, free: 8.598 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1539, allocations: 33.64 kB / 447.3 MB, free: 8.559 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.544e-05/0.154, allocations: 100 kB / 447.3 MB, free: 8.457 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.154, allocations: 35.64 kB / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.161e-06/0.154, allocations: 0 / 447.4 MB, free: 8.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.1541, allocations: 326.8 kB / 447.7 MB, free: 8.094 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.1544, allocations: 99.86 kB / 447.8 MB, free: 7.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002617/0.1547, allocations: 105.6 kB / 447.9 MB, free: 7.887 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002662/0.1549, allocations: 99.94 kB / 448 MB, free: 7.789 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.155, allocations: 3.953 kB / 448 MB, free: 7.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000596/0.1556, allocations: 233.4 kB / 448.2 MB, free: 7.551 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.1556, allocations: 8 kB / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.1556, allocations: 0 / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.1556, allocations: 0 / 448.2 MB, free: 7.543 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002223/0.1559, allocations: 55.89 kB / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.1559, allocations: 0 / 448.3 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001393/0.156, allocations: 31.97 kB / 448.3 MB, free: 7.457 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.415e-05/0.156, allocations: 11.98 kB / 448.3 MB, free: 7.445 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 (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 0.0001077/0.1562, allocations: 121.8 kB / 448.5 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.202e-05/0.1562, allocations: 15.86 kB / 448.5 MB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006571/0.1569, allocations: 254.2 kB / 448.7 MB, free: 7.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1569, allocations: 4 kB / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.1569, allocations: 0 / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1569, allocations: 0 / 448.7 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009195/0.1578, allocations: 0.5257 MB / 449.3 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1578, allocations: 0 / 449.3 MB, free: 6.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001773/0.158, allocations: 47.97 kB / 449.3 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.158, allocations: 3.984 kB / 449.3 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.1581, allocations: 4 kB / 449.3 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1581, allocations: 0 / 449.3 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1581, allocations: 0 / 449.3 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006545/0.1587, allocations: 343.6 kB / 449.6 MB, free: 6.055 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.313e-05/0.1588, allocations: 96.92 kB / 449.7 MB, free: 5.941 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.1588, allocations: 3.984 kB / 449.7 MB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.159, allocations: 35.97 kB / 449.8 MB, free: 5.902 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/0.1591, allocations: 7.984 kB / 449.8 MB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.1591, allocations: 4 kB / 449.8 MB, free: 5.891 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001591/0.1593, allocations: 124.5 kB / 449.9 MB, free: 5.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1593, allocations: 0 / 449.9 MB, free: 5.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002624/0.1596, allocations: 28 kB / 449.9 MB, free: 5.742 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 (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.001863/0.1614, allocations: 1.209 MB / 451.1 MB, free: 4.539 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000606/0.162, allocations: 199.8 kB / 451.3 MB, free: 4.344 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.1621, allocations: 4 kB / 451.3 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002876/0.1623, allocations: 111.8 kB / 451.5 MB, free: 4.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003423/0.1627, allocations: 15.98 kB / 451.5 MB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001862/0.1646, allocations: 0.9012 MB / 452.4 MB, free: 3.266 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003178/0.1649, allocations: 0.7004 MB / 453.1 MB, free: 2.539 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.165, allocations: 36.7 kB / 453.1 MB, free: 2.504 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.016e-05/0.1651, allocations: 31.42 kB / 453.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1651, allocations: 0 / 453.1 MB, free: 2.473 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2117/0.3769, allocations: 3.106 MB / 456.2 MB, free: 45.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001459/0.3771, allocations: 239.9 kB / 456.5 MB, free: 45.65 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_CombiTable2Dv_Test18_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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 -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_CombiTable2Dv_Test18_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test18_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_CombiTable2Dv_Test18_usertab_functions.o] Error 1