Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable2D.Test18_usertab.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01001/0.01001, allocations: 164.3 kB / 15.11 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.565/1.565, allocations: 170.8 MB / 186.6 MB, free: 1.117 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001931/0.001931, allocations: 99.41 kB / 226.2 MB, free: 10.09 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4428/0.4428, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004445, allocations: 12 kB / 363 MB, free: 5.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09791, allocations: 48.71 MB / 411.7 MB, free: 4.723 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4117/0.5097, allocations: 74.66 MB / 486.3 MB, free: 13.05 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.51, allocations: 66.34 kB / 486.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01093/0.5209, allocations: 2.78 MB / 489.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.521, allocations: 0 / 489.2 MB, free: 10.65 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.521, allocations: 0 / 489.2 MB, free: 10.65 MB / 330.7 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.0006393/0.5217, allocations: 451.3 kB / 489.6 MB, free: 10.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.5217, allocations: 8.031 kB / 489.6 MB, free: 10.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.947e-05/0.5218, allocations: 42.25 kB / 489.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.5218, allocations: 7.906 kB / 489.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002124/0.522, allocations: 186.6 kB / 489.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.5221, allocations: 0 / 489.9 MB, free: 9.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.5221, allocations: 11.5 kB / 489.9 MB, free: 9.883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.5225, allocations: 103 kB / 490 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5225, allocations: 3.938 kB / 490 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/0.5226, allocations: 0 / 490 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5226, allocations: 4 kB / 490 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.5231, allocations: 92.44 kB / 490.1 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000372/0.5235, allocations: 299.7 kB / 490.4 MB, free: 9.375 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.5238, allocations: 82.09 kB / 490.5 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.5239, allocations: 4 kB / 490.5 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.853e-05/0.5239, allocations: 42.36 kB / 490.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.463e-06/0.5239, allocations: 0 / 490.5 MB, free: 9.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.002576/0.5265, allocations: 461.5 kB / 490.9 MB, free: 8.828 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.5266, allocations: 81.06 kB / 491 MB, free: 8.73 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.5267, allocations: 121.6 kB / 491.1 MB, free: 8.613 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.5267, allocations: 32.89 kB / 491.2 MB, free: 8.578 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.871e-05/0.5268, allocations: 90.89 kB / 491.3 MB, free: 8.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.5268, allocations: 34.8 kB / 491.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.5268, allocations: 0 / 491.3 MB, free: 8.457 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.5269, allocations: 317.3 kB / 491.6 MB, free: 8.141 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005026/0.5274, allocations: 91.11 kB / 491.7 MB, free: 8.062 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/0.5279, allocations: 108.7 kB / 491.8 MB, free: 7.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.5285, allocations: 126.7 kB / 491.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5285, allocations: 0 / 491.9 MB, free: 7.848 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001127/0.5296, allocations: 263.6 kB / 492.2 MB, free: 7.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/0.5297, allocations: 29.7 kB / 492.2 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.5297, allocations: 0 / 492.2 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5297, allocations: 4 kB / 492.2 MB, free: 7.562 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003702/0.5301, allocations: 47.95 kB / 492.3 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.5301, allocations: 0 / 492.3 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/0.5304, allocations: 39.92 kB / 492.3 MB, free: 7.477 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.768e-05/0.5304, allocations: 7.25 kB / 492.3 MB, free: 7.473 MB / 330.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 (9): * Single equations (assignments): 8 * 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 9.569e-05/0.5305, allocations: 114.1 kB / 492.4 MB, free: 7.355 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.405e-05/0.5306, allocations: 7.906 kB / 492.4 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.5317, allocations: 248.2 kB / 492.7 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.5318, allocations: 0 / 492.7 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.5318, allocations: 0 / 492.7 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.5318, allocations: 0 / 492.7 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00133/0.5331, allocations: 0.5045 MB / 493.2 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.5331, allocations: 3.25 kB / 493.2 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003297/0.5335, allocations: 55.88 kB / 493.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.5335, allocations: 0 / 493.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.5335, allocations: 3.062 kB / 493.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.306e-06/0.5335, allocations: 1.5 kB / 493.2 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5335, allocations: 7.953 kB / 493.2 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001097/0.5346, allocations: 319.4 kB / 493.6 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.917e-05/0.5347, allocations: 85 kB / 493.6 MB, free: 6.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.846e-05/0.5347, allocations: 4 kB / 493.6 MB, free: 6.141 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.5351, allocations: 35.03 kB / 493.7 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.464e-05/0.5351, allocations: 15.94 kB / 493.7 MB, free: 6.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.5352, allocations: 0 / 493.7 MB, free: 6.094 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.974e-05/0.5353, allocations: 101.6 kB / 493.8 MB, free: 6.004 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.5353, allocations: 0 / 493.8 MB, free: 6.004 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003598/0.5356, allocations: 43.17 kB / 493.8 MB, free: 5.965 MB / 330.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 (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.002001/0.5376, allocations: 1.082 MB / 494.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00113/0.5388, allocations: 259.2 kB / 495.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5388, allocations: 0 / 495.2 MB, free: 4.727 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005226/0.5393, allocations: 100.3 kB / 495.3 MB, free: 4.641 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.5396, allocations: 4 kB / 495.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.5404, allocations: 437 kB / 495.7 MB, free: 4.191 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.5406, allocations: 0.6945 MB / 496.4 MB, free: 3.473 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.5407, allocations: 20.12 kB / 496.4 MB, free: 3.453 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.663e-05/0.5408, allocations: 21.5 kB / 496.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of SimCode: time 1.132e-06/0.5408, allocations: 0 / 496.4 MB, free: 3.441 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.5646, allocations: 2.627 MB / 499.1 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.5649, allocations: 233.2 kB / 499.3 MB, free: 0.6055 MB / 330.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/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226: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/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_includes.h:4: /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+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. : recipe for target 'ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o] Error 1