Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.Test25_usertab.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.02119/0.02119, allocations: 108.5 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001647/0.001647, allocations: 181.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.166/2.166, allocations: 194.6 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2662/0.2662, allocations: 40.04 MB / 296.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006378/0.0006379, allocations: 8 kB / 361.1 MB, free: 9.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1178, allocations: 54.89 MB / 416 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002385/0.1203, allocations: 1.234 MB / 417.3 MB, free: 1.328 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007446/0.1211, allocations: 279.8 kB / 417.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.801e-05/0.1212, allocations: 0 / 417.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002167/0.1214, allocations: 19.86 kB / 417.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001703/0.1216, allocations: 19.97 kB / 417.6 MB, free: 1.012 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001576/0.1217, allocations: 31.91 kB / 417.6 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.1219, allocations: 31.91 kB / 417.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.122, allocations: 11.98 kB / 417.6 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.666e-05/0.1221, allocations: 23.91 kB / 417.7 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.1222, allocations: 15.88 kB / 417.7 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.1222, allocations: 4 kB / 417.7 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.1224, allocations: 31.98 kB / 417.7 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.1224, allocations: 11.92 kB / 417.7 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.812e-05/0.1225, allocations: 29.7 kB / 417.8 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.1227, allocations: 67.83 kB / 417.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.1227, allocations: 0 / 417.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1227, allocations: 0 / 417.8 MB, free: 0.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1227, allocations: 0 / 417.8 MB, free: 0.75 MB / 346.7 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.0005343/0.1232, allocations: 397.1 kB / 418.2 MB, free: 316 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.1233, allocations: 8.031 kB / 418.2 MB, free: 308 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.13e-05/0.1234, allocations: 38.5 kB / 418.3 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1234, allocations: 4 kB / 418.3 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.1236, allocations: 186.9 kB / 418.4 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1237, allocations: 0 / 418.4 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.049e-05/0.1237, allocations: 4 kB / 418.5 MB, free: 24 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.124, allocations: 75.34 kB / 418.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/0.1241, allocations: 0 / 418.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1241, allocations: 0 / 418.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.1241, allocations: 0 / 418.5 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001825/0.1243, allocations: 47.84 kB / 418.6 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005143/0.1248, allocations: 281 kB / 418.8 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000151/0.125, allocations: 46.52 kB / 418.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.39e-05/0.125, allocations: 4 kB / 418.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1251, allocations: 30.56 kB / 418.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 2.435e-06/0.1251, allocations: 0 / 418.9 MB, free: 15.47 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000931/0.126, allocations: 181.5 kB / 419.1 MB, free: 15.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.1261, allocations: 81.11 kB / 419.2 MB, free: 15.19 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001553/0.1263, allocations: 121.8 kB / 419.3 MB, free: 15.06 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.1263, allocations: 33.64 kB / 419.3 MB, free: 15.02 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.1264, allocations: 99.95 kB / 419.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.633e-05/0.1264, allocations: 15.81 kB / 419.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-06/0.1264, allocations: 0 / 419.4 MB, free: 14.9 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.1266, allocations: 322.8 kB / 419.8 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1267, allocations: 23.98 kB / 419.8 MB, free: 14.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.1269, allocations: 49.69 kB / 419.8 MB, free: 14.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001731/0.1271, allocations: 61.83 kB / 419.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1271, allocations: 0 / 419.9 MB, free: 14.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004084/0.1275, allocations: 135.2 kB / 420 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.1276, allocations: 33.7 kB / 420.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.1276, allocations: 0 / 420.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1276, allocations: 0 / 420.1 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.1278, allocations: 19.92 kB / 420.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.1279, allocations: 4 kB / 420.1 MB, free: 14.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.134e-05/0.128, allocations: 8 kB / 420.1 MB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.128, allocations: 0 / 420.1 MB, free: 14.22 MB / 362.7 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001135/0.1281, allocations: 125.8 kB / 420.2 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.111e-05/0.1282, allocations: 7.859 kB / 420.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.1286, allocations: 110 kB / 420.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-06/0.1286, allocations: 0 / 420.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.1286, allocations: 4 kB / 420.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1287, allocations: 128 / 420.3 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007033/0.1294, allocations: 382.4 kB / 420.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.1294, allocations: 0 / 420.7 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.1295, allocations: 15.98 kB / 420.7 MB, free: 13.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.1296, allocations: 4 kB / 420.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.1296, allocations: 0 / 420.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.437e-06/0.1296, allocations: 4 kB / 420.7 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.1296, allocations: 3.938 kB / 420.7 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004096/0.13, allocations: 203.3 kB / 420.9 MB, free: 13.29 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1301, allocations: 81.11 kB / 421 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.1301, allocations: 7.984 kB / 421 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.1303, allocations: 4 kB / 421 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/0.1303, allocations: 7.984 kB / 421 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.245e-05/0.1303, allocations: 0 / 421 MB, free: 13.17 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.1305, allocations: 103.6 kB / 421.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1305, allocations: 0 / 421.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.1308, allocations: 24 kB / 421.2 MB, free: 13.05 MB / 362.7 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.001717/0.1326, allocations: 1.018 MB / 422.2 MB, free: 12.07 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004359/0.133, allocations: 123.4 kB / 422.3 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1331, allocations: 3.938 kB / 422.3 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001596/0.1332, allocations: 43.91 kB / 422.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002803/0.1335, allocations: 4 kB / 422.3 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008226/0.1344, allocations: 390.8 kB / 422.7 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1347, allocations: 0.6887 MB / 423.4 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001103/0.1348, allocations: 16.11 kB / 423.4 MB, free: 10.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.158e-05/0.1349, allocations: 31.42 kB / 423.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1349, allocations: 0 / 423.5 MB, free: 10.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02256/0.1575, allocations: 2.207 MB / 425.7 MB, free: 8.508 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004145/0.158, allocations: 257.6 kB / 425.9 MB, free: 8.152 MB / 362.7 MB Error: Error building simulator. Build log: clang -Os -fPIC -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_2_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 -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_2_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_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Data/Tables/usertab.c:16:10: fatal error: 'ModelicaUtilities.h' file not found #include "ModelicaUtilities.h" ^~~~~~~~~~~~~~~~~~~~~ 2 warnings and 1 error generated. : recipe for target 'ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o] Error 1