Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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.001161/0.001161, allocations: 88.19 kB / 15.7 MB, free: 460 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.001093/0.001093, allocations: 172.3 kB / 16.58 MB, free: 6.84 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.614/1.614, allocations: 205.4 MB / 222.8 MB, free: 5.645 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.3786/0.3786, allocations: 43.55 MB / 314.6 MB, free: 8.77 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.000533/0.0005331, allocations: 16 kB / 384 MB, free: 7.918 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1266, allocations: 58.85 MB / 442.9 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002755/0.1294, allocations: 1.356 MB / 444.2 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008504/0.1303, allocations: 327.7 kB / 444.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.759e-05/0.1305, allocations: 4 kB / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002473/0.1307, allocations: 11.92 kB / 444.6 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.131, allocations: 43.84 kB / 444.6 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003954/0.1314, allocations: 91.81 kB / 444.7 MB, free: 11.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1316, allocations: 75.75 kB / 444.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.982e-05/0.1317, allocations: 12.22 kB / 444.8 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.375e-05/0.1318, allocations: 31.86 kB / 444.8 MB, free: 11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.984e-05/0.1319, allocations: 31.83 kB / 444.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.1319, allocations: 4 kB / 444.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.1321, allocations: 43.98 kB / 444.9 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.1321, allocations: 15.92 kB / 444.9 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.376e-05/0.1322, allocations: 33.7 kB / 444.9 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.1324, allocations: 92.02 kB / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1324, allocations: 0 / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1324, allocations: 0 / 445 MB, free: 10.78 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.1324, allocations: 0 / 445 MB, free: 10.78 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.0006688/0.1331, allocations: 423 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.1332, allocations: 8.031 kB / 445.5 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.311e-05/0.1332, allocations: 34.55 kB / 445.5 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.1333, allocations: 15.8 kB / 445.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.1335, allocations: 198.9 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.743e-06/0.1335, allocations: 4 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.324e-05/0.1336, allocations: 4 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.1339, allocations: 103.3 kB / 445.8 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.1339, allocations: 4 kB / 445.8 MB, free: 9.891 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1339, allocations: 3.953 kB / 445.8 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-06/0.1339, allocations: 4 kB / 445.8 MB, free: 9.883 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.1342, allocations: 95.91 kB / 445.9 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.1347, allocations: 300.8 kB / 446.2 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.135, allocations: 90.45 kB / 446.3 MB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001694/0.1352, allocations: 56.84 kB / 446.4 MB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.902e-05/0.1353, allocations: 11.98 kB / 446.4 MB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.1353, allocations: 34.56 kB / 446.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.422e-06/0.1353, allocations: 0 / 446.4 MB, free: 9.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001765/0.1371, allocations: 465 kB / 446.9 MB, free: 8.773 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.703e-05/0.1372, allocations: 77.11 kB / 446.9 MB, free: 8.68 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002066/0.1374, allocations: 150.5 kB / 447.1 MB, free: 8.523 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.666e-05/0.1375, allocations: 29.7 kB / 447.1 MB, free: 8.488 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/0.1376, allocations: 96.05 kB / 447.2 MB, free: 8.391 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.1377, allocations: 27.64 kB / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.482e-06/0.1377, allocations: 0 / 447.2 MB, free: 8.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001893/0.1379, allocations: 326.8 kB / 447.5 MB, free: 8.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002934/0.1382, allocations: 87.92 kB / 447.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002918/0.1385, allocations: 105.6 kB / 447.7 MB, free: 7.84 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.1387, allocations: 87.91 kB / 447.8 MB, free: 7.754 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.1388, allocations: 4 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005983/0.1394, allocations: 225.5 kB / 448 MB, free: 7.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.401e-05/0.1394, allocations: 7.984 kB / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.1394, allocations: 0 / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1394, allocations: 0 / 448.1 MB, free: 7.516 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002253/0.1397, allocations: 43.97 kB / 448.1 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.198e-06/0.1397, allocations: 0 / 448.1 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.1398, allocations: 39.95 kB / 448.1 MB, free: 7.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-06/0.1399, allocations: 0 / 448.1 MB, free: 7.434 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.0001215/0.14, allocations: 129.7 kB / 448.3 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.961e-05/0.14, allocations: 11.91 kB / 448.3 MB, free: 7.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006505/0.1407, allocations: 246.1 kB / 448.5 MB, free: 7.043 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1407, allocations: 4 kB / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1407, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1407, allocations: 0 / 448.5 MB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008655/0.1416, allocations: 0.5139 MB / 449 MB, free: 6.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.1416, allocations: 3.938 kB / 449 MB, free: 6.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.1418, allocations: 47.95 kB / 449.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.1418, allocations: 0 / 449.1 MB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.1418, allocations: 7.938 kB / 449.1 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.1418, allocations: 0 / 449.1 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1418, allocations: 480 / 449.1 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.1425, allocations: 327.2 kB / 449.4 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.854e-05/0.1426, allocations: 93 kB / 449.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.1426, allocations: 384 / 449.5 MB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001816/0.1428, allocations: 39.97 kB / 449.5 MB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.1429, allocations: 7.984 kB / 449.5 MB, free: 5.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1429, allocations: 8 kB / 449.6 MB, free: 5.91 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001227/0.1431, allocations: 118.7 kB / 449.7 MB, free: 5.797 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1431, allocations: 0 / 449.7 MB, free: 5.797 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000299/0.1434, allocations: 31.98 kB / 449.7 MB, free: 5.766 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.001951/0.1453, allocations: 1.194 MB / 450.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006238/0.146, allocations: 195.8 kB / 451.1 MB, free: 4.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.146, allocations: 4 kB / 451.1 MB, free: 4.387 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.1463, allocations: 95.92 kB / 451.2 MB, free: 4.293 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/0.1466, allocations: 27.98 kB / 451.2 MB, free: 4.266 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/0.1484, allocations: 0.8376 MB / 452 MB, free: 3.383 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.1486, allocations: 0.6965 MB / 452.7 MB, free: 2.66 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.36e-05/0.1487, allocations: 20.66 kB / 452.8 MB, free: 2.641 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.1488, allocations: 31.42 kB / 452.8 MB, free: 2.609 MB / 382.1 MB Notification: Performance of SimCode: time 9.62e-07/0.1488, allocations: 7.938 kB / 452.8 MB, free: 2.602 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2277/0.3765, allocations: 3.029 MB / 455.8 MB, free: 45.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/0.3768, allocations: 232.7 kB / 456.1 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_CombiTable2D_Test18_usertab.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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_CombiTable2D_Test18_usertab_functions.o ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c In file included from ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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_CombiTable2D_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_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_CombiTable2D_Test18_usertab_functions.o] Error 1