Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_1_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.1/package.mo): time 0.01517/0.01517, allocations: 103.9 kB / 15.05 MB, free: 6.035 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.001814/0.001815, allocations: 173.3 kB / 15.94 MB, free: 5.973 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.67/1.67, allocations: 170.9 MB / 187.5 MB, free: 1.008 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.2628/0.2628, allocations: 38.1 MB / 265.1 MB, free: 3.969 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004686/0.0004686, allocations: 12 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.09155, allocations: 48.71 MB / 372.3 MB, free: 12.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test25_usertab): time 0.002233/0.09384, allocations: 1.214 MB / 373.5 MB, free: 11.64 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006935/0.09456, allocations: 263.8 kB / 373.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.066e-05/0.09463, allocations: 0 / 373.8 MB, free: 11.38 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002019/0.09485, allocations: 19.88 kB / 373.8 MB, free: 11.36 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.09502, allocations: 15.97 kB / 373.8 MB, free: 11.35 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.09518, allocations: 43.83 kB / 373.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.09532, allocations: 27.97 kB / 373.9 MB, free: 11.28 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.09546, allocations: 23.97 kB / 373.9 MB, free: 11.25 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.678e-05/0.09554, allocations: 15.86 kB / 373.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.44e-05/0.09561, allocations: 19.92 kB / 373.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.09564, allocations: 0 / 373.9 MB, free: 11.22 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.09576, allocations: 27.98 kB / 374 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.09582, allocations: 8 kB / 374 MB, free: 11.18 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.598e-05/0.09587, allocations: 37.58 kB / 374 MB, free: 11.14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001733/0.09605, allocations: 67.89 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.09607, allocations: 0 / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.09608, allocations: 4 kB / 374.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.998e-06/0.09609, allocations: 0 / 374.1 MB, free: 11.07 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005035/0.09661, allocations: 389.2 kB / 374.5 MB, free: 10.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.09666, allocations: 8.031 kB / 374.5 MB, free: 10.63 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.63e-05/0.09671, allocations: 34.56 kB / 374.5 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.09675, allocations: 3.906 kB / 374.5 MB, free: 10.58 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000214/0.09697, allocations: 190.9 kB / 374.7 MB, free: 10.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/0.097, allocations: 4 kB / 374.7 MB, free: 10.35 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.709e-05/0.09704, allocations: 11.94 kB / 374.7 MB, free: 10.34 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.09727, allocations: 63.41 kB / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.0973, allocations: 0 / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.09732, allocations: 0 / 374.8 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.09734, allocations: 11.92 kB / 374.8 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001612/0.09751, allocations: 27.98 kB / 374.8 MB, free: 10.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005013/0.09803, allocations: 296.8 kB / 375.1 MB, free: 9.887 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.09819, allocations: 42.56 kB / 375.1 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.09823, allocations: 0 / 375.1 MB, free: 9.836 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.09827, allocations: 34.66 kB / 375.2 MB, free: 9.793 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.09829, allocations: 4 kB / 375.2 MB, free: 9.789 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008699/0.09916, allocations: 169.3 kB / 375.3 MB, free: 9.617 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.09923, allocations: 89.09 kB / 375.4 MB, free: 9.512 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001787/0.09942, allocations: 125.8 kB / 375.5 MB, free: 9.379 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.09946, allocations: 25.7 kB / 375.6 MB, free: 9.348 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.615e-05/0.09953, allocations: 96.08 kB / 375.7 MB, free: 9.25 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.908e-05/0.09957, allocations: 19.7 kB / 375.7 MB, free: 9.23 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.09959, allocations: 0 / 375.7 MB, free: 9.23 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.09973, allocations: 314.8 kB / 376 MB, free: 8.914 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001463/0.09988, allocations: 35.97 kB / 376 MB, free: 8.879 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001506/0.1, allocations: 41.64 kB / 376.1 MB, free: 8.832 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001666/0.1002, allocations: 61.67 kB / 376.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1002, allocations: 0 / 376.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003745/0.1006, allocations: 131.4 kB / 376.3 MB, free: 8.625 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.695e-05/0.1007, allocations: 33.69 kB / 376.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1007, allocations: 0 / 376.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1007, allocations: 0 / 376.3 MB, free: 8.586 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.1009, allocations: 20.27 kB / 376.3 MB, free: 8.566 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.1009, allocations: 0 / 376.3 MB, free: 8.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/0.101, allocations: 16.02 kB / 376.3 MB, free: 8.551 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.231e-05/0.101, allocations: 4 kB / 376.3 MB, free: 8.547 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 (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.0001043/0.1011, allocations: 122.8 kB / 376.4 MB, free: 8.418 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.054e-05/0.1012, allocations: 7.906 kB / 376.5 MB, free: 8.41 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004468/0.1017, allocations: 122.2 kB / 376.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.1017, allocations: 0 / 376.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1017, allocations: 0 / 376.6 MB, free: 8.285 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1017, allocations: 3.938 kB / 376.6 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006751/0.1024, allocations: 386.3 kB / 377 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1024, allocations: 0 / 377 MB, free: 7.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.1025, allocations: 12 kB / 377 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1025, allocations: 0 / 377 MB, free: 7.836 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.1026, allocations: 7.984 kB / 377 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1026, allocations: 0 / 377 MB, free: 7.828 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.1026, allocations: 3.953 kB / 377 MB, free: 7.824 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.103, allocations: 195.5 kB / 377.2 MB, free: 7.617 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.867e-05/0.1031, allocations: 85.02 kB / 377.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.1031, allocations: 0 / 377.3 MB, free: 7.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001095/0.1032, allocations: 7.984 kB / 377.3 MB, free: 7.508 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5e-05/0.1033, allocations: 8 kB / 377.3 MB, free: 7.5 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/0.1033, allocations: 3.953 kB / 377.3 MB, free: 7.496 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1034, allocations: 99.27 kB / 377.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1035, allocations: 0 / 377.4 MB, free: 7.398 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003522/0.1038, allocations: 31.98 kB / 377.4 MB, free: 7.367 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 (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.001575/0.1054, allocations: 0.9598 MB / 378.4 MB, free: 6.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004489/0.1059, allocations: 127.3 kB / 378.5 MB, free: 6.344 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1059, allocations: 4 kB / 378.5 MB, free: 6.34 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.1061, allocations: 31.98 kB / 378.5 MB, free: 6.309 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002924/0.1064, allocations: 11.98 kB / 378.5 MB, free: 6.297 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008592/0.1073, allocations: 390.7 kB / 378.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.1076, allocations: 0.6926 MB / 379.6 MB, free: 5.145 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001187/0.1078, allocations: 12.3 kB / 379.6 MB, free: 5.133 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.991e-05/0.1079, allocations: 23.44 kB / 379.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of SimCode: time 1.192e-06/0.1079, allocations: 0 / 379.6 MB, free: 5.109 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02289/0.1308, allocations: 2.208 MB / 381.8 MB, free: 2.938 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002983/0.1311, allocations: 254.3 kB / 382.1 MB, free: 2.586 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_CombiTable1D_Test25_usertab.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_1_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.1/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_1_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_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test25_usertab_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o] Error 1