Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_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.1/package.mo): time 0.01136/0.01136, allocations: 103.5 kB / 15.05 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.1.mo): time 0.001134/0.001134, allocations: 164.9 kB / 15.93 MB, free: 5.527 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.693/1.693, allocations: 170.9 MB / 187.6 MB, free: 0.9922 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.2871/0.2871, allocations: 38.09 MB / 265.1 MB, free: 3.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004559, allocations: 15.98 kB / 323.6 MB, free: 29.63 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 48.71 MB / 372.3 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.002377/0.1093, allocations: 1.207 MB / 373.5 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007737/0.1101, allocations: 259.8 kB / 373.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.32e-05/0.1102, allocations: 0 / 373.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.1105, allocations: 23.84 kB / 373.8 MB, free: 11.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001584/0.1107, allocations: 23.91 kB / 373.8 MB, free: 11.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001489/0.1108, allocations: 35.91 kB / 373.8 MB, free: 11.28 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.111, allocations: 39.89 kB / 373.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001029/0.1111, allocations: 11.98 kB / 373.9 MB, free: 11.23 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.383e-05/0.1112, allocations: 19.92 kB / 373.9 MB, free: 11.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.533e-05/0.1112, allocations: 19.91 kB / 373.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1113, allocations: 0 / 373.9 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.1114, allocations: 31.98 kB / 374 MB, free: 11.16 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.342e-05/0.1114, allocations: 7.938 kB / 374 MB, free: 11.15 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.391e-05/0.1115, allocations: 33.7 kB / 374 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001768/0.1117, allocations: 79.81 kB / 374.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.1117, allocations: 0 / 374.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.1117, allocations: 0 / 374.1 MB, free: 11.04 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.1117, allocations: 7.875 kB / 374.1 MB, free: 11.03 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000603/0.1124, allocations: 389.2 kB / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.1124, allocations: 8.031 kB / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.393e-05/0.1125, allocations: 30.56 kB / 374.5 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.71e-05/0.1125, allocations: 7.906 kB / 374.5 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.1128, allocations: 190.9 kB / 374.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.1128, allocations: 4 kB / 374.7 MB, free: 10.31 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.1128, allocations: 8 kB / 374.7 MB, free: 10.3 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.1131, allocations: 75.33 kB / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.1131, allocations: 3.906 kB / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.1131, allocations: 0 / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1131, allocations: 0 / 374.8 MB, free: 10.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002022/0.1133, allocations: 51.95 kB / 374.8 MB, free: 10.16 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000484/0.1138, allocations: 288.8 kB / 375.1 MB, free: 9.828 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1141, allocations: 66.48 kB / 375.2 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.946e-05/0.1141, allocations: 0 / 375.2 MB, free: 9.754 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.1142, allocations: 42.69 kB / 375.2 MB, free: 9.703 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.1142, allocations: 0 / 375.2 MB, free: 9.703 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009346/0.1151, allocations: 193.3 kB / 375.4 MB, free: 9.508 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.1152, allocations: 77.11 kB / 375.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1153, allocations: 129.8 kB / 375.6 MB, free: 9.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.349e-05/0.1154, allocations: 29.7 kB / 375.6 MB, free: 9.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1155, allocations: 96.05 kB / 375.7 MB, free: 9.145 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.1155, allocations: 23.66 kB / 375.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.1155, allocations: 0 / 375.8 MB, free: 9.121 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.1157, allocations: 318.8 kB / 376.1 MB, free: 8.801 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001496/0.1158, allocations: 31.98 kB / 376.1 MB, free: 8.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/0.116, allocations: 45.69 kB / 376.1 MB, free: 8.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.1162, allocations: 65.72 kB / 376.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1162, allocations: 0 / 376.2 MB, free: 8.648 MB / 282.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004141/0.1166, allocations: 143.4 kB / 376.3 MB, free: 8.496 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.277e-05/0.1167, allocations: 29.7 kB / 376.4 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1167, allocations: 0 / 376.4 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.1167, allocations: 4 kB / 376.4 MB, free: 8.457 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001666/0.1169, allocations: 19.98 kB / 376.4 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.1169, allocations: 0 / 376.4 MB, free: 8.438 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.386e-05/0.117, allocations: 19.8 kB / 376.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.237e-05/0.1171, allocations: 3.984 kB / 376.4 MB, free: 8.414 MB / 282.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 (8): * Single equations (assignments): 7 * 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.0001067/0.1172, allocations: 118.9 kB / 376.5 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/0.1172, allocations: 0 / 376.5 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004764/0.1177, allocations: 133.8 kB / 376.7 MB, free: 8.152 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1177, allocations: 3.984 kB / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1178, allocations: 0 / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1178, allocations: 0 / 376.7 MB, free: 8.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006878/0.1185, allocations: 382.5 kB / 377 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.1185, allocations: 0 / 377 MB, free: 7.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.1186, allocations: 19.94 kB / 377.1 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1186, allocations: 0 / 377.1 MB, free: 7.699 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1187, allocations: 7.984 kB / 377.1 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.1187, allocations: 0 / 377.1 MB, free: 7.691 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/0.1187, allocations: 3.953 kB / 377.1 MB, free: 7.688 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004094/0.1191, allocations: 203.9 kB / 377.3 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1192, allocations: 77.11 kB / 377.4 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.1192, allocations: 0 / 377.4 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1193, allocations: 8 kB / 377.4 MB, free: 7.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.296e-05/0.1194, allocations: 11.98 kB / 377.4 MB, free: 7.359 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.1194, allocations: 7.953 kB / 377.4 MB, free: 7.352 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001018/0.1195, allocations: 99.64 kB / 377.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.4e-07/0.1196, allocations: 0 / 377.5 MB, free: 7.254 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00037/0.1199, allocations: 35.98 kB / 377.5 MB, free: 7.219 MB / 282.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 (7): * Single equations (assignments): 7 * 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.001485/0.1214, allocations: 0.9668 MB / 378.5 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004717/0.1219, allocations: 135.3 kB / 378.6 MB, free: 6.184 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1219, allocations: 0 / 378.6 MB, free: 6.184 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001641/0.1221, allocations: 31.98 kB / 378.6 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.1224, allocations: 15.98 kB / 378.7 MB, free: 6.137 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008621/0.1233, allocations: 398.5 kB / 379 MB, free: 5.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003306/0.1236, allocations: 0.7004 MB / 379.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.1238, allocations: 15.92 kB / 379.8 MB, free: 4.953 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.035e-05/0.1239, allocations: 23.44 kB / 379.8 MB, free: 4.93 MB / 282.7 MB Notification: Performance of SimCode: time 8.42e-07/0.1239, allocations: 0 / 379.8 MB, free: 4.93 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.1452, allocations: 2.283 MB / 382.1 MB, free: 2.684 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003722/0.1456, allocations: 263.4 kB / 382.3 MB, free: 2.324 MB / 282.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.1/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_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.1/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_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_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_includes.h:4: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.o] Error 1