Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTable1Ds.Test25_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.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/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009244/0.009244, allocations: 165.9 kB / 15.11 MB, free: 5.984 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.579/1.579, allocations: 170.8 MB / 186.6 MB, free: 1.125 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.00192/0.00192, allocations: 106.1 kB / 226.2 MB, free: 10.11 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.4286/0.4286, allocations: 38.05 MB / 303.7 MB, free: 42.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004398/0.00044, allocations: 8 kB / 363 MB, free: 5.539 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09775/0.09822, allocations: 48.71 MB / 411.7 MB, free: 4.754 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3722/0.4705, allocations: 74.63 MB / 486.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002331/0.4707, allocations: 74.58 kB / 486.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01025/0.481, allocations: 2.801 MB / 489.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.481, allocations: 0 / 489.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.4811, allocations: 4 kB / 489.2 MB, free: 10.43 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003736/0.4815, allocations: 402.5 kB / 489.6 MB, free: 9.988 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.4815, allocations: 12.03 kB / 489.6 MB, free: 9.977 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.4815, allocations: 37.88 kB / 489.6 MB, free: 9.934 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.67e-05/0.4816, allocations: 12.77 kB / 489.7 MB, free: 9.922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.4818, allocations: 188.7 kB / 489.8 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.4818, allocations: 3.938 kB / 489.8 MB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.499e-05/0.4818, allocations: 4 kB / 489.8 MB, free: 9.699 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001981/0.482, allocations: 74.12 kB / 489.9 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4821, allocations: 8 kB / 489.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.4821, allocations: 0 / 489.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.4821, allocations: 0 / 489.9 MB, free: 9.617 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.4823, allocations: 39.22 kB / 490 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003591/0.4827, allocations: 296.8 kB / 490.3 MB, free: 9.27 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.4828, allocations: 65.11 kB / 490.3 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.4829, allocations: 3.938 kB / 490.3 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.911e-05/0.4829, allocations: 34.44 kB / 490.4 MB, free: 9.164 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.543e-06/0.4829, allocations: 0 / 490.4 MB, free: 9.164 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008134/0.4837, allocations: 190.2 kB / 490.5 MB, free: 9 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.4838, allocations: 77.11 kB / 490.6 MB, free: 8.906 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.4839, allocations: 127.1 kB / 490.7 MB, free: 8.785 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.4839, allocations: 25.7 kB / 490.8 MB, free: 8.754 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.36e-05/0.484, allocations: 94.95 kB / 490.9 MB, free: 8.664 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.359e-05/0.484, allocations: 19.7 kB / 490.9 MB, free: 8.645 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.484, allocations: 3.625 kB / 490.9 MB, free: 8.645 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.526e-05/0.4841, allocations: 316.7 kB / 491.2 MB, free: 8.328 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.4842, allocations: 29.61 kB / 491.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.4844, allocations: 55.84 kB / 491.3 MB, free: 8.254 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.4846, allocations: 63.5 kB / 491.3 MB, free: 8.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4846, allocations: 0 / 491.3 MB, free: 8.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003542/0.4849, allocations: 145 kB / 491.5 MB, free: 8.059 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.485, allocations: 29.7 kB / 491.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.485, allocations: 0 / 491.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.485, allocations: 0 / 491.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.4852, allocations: 22.23 kB / 491.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.4852, allocations: 0 / 491.5 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.544e-05/0.4853, allocations: 15.25 kB / 491.5 MB, free: 7.992 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.4853, allocations: 3.984 kB / 491.5 MB, free: 7.988 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 (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 7.822e-05/0.4854, allocations: 130.4 kB / 491.7 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.4854, allocations: 3.906 kB / 491.7 MB, free: 7.852 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.4858, allocations: 122.2 kB / 491.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.4858, allocations: 0 / 491.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.4859, allocations: 0 / 491.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4859, allocations: 4 kB / 491.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005396/0.4864, allocations: 382 kB / 492.2 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.4864, allocations: 3.938 kB / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.4866, allocations: 16 kB / 492.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4866, allocations: 7.984 kB / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.4866, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4866, allocations: 0 / 492.2 MB, free: 7.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4866, allocations: 4 kB / 492.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.4869, allocations: 205.5 kB / 492.4 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.127e-05/0.487, allocations: 85.02 kB / 492.5 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.487, allocations: 4.625 kB / 492.5 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.4871, allocations: 7.984 kB / 492.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.4872, allocations: 6.938 kB / 492.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.4872, allocations: 0 / 492.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.113e-05/0.4873, allocations: 98.08 kB / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.4873, allocations: 0 / 492.6 MB, free: 6.914 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003349/0.4877, allocations: 39.41 kB / 492.6 MB, free: 6.879 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 (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.001223/0.4889, allocations: 0.966 MB / 493.6 MB, free: 5.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003407/0.4892, allocations: 128.7 kB / 493.7 MB, free: 5.852 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.4893, allocations: 0 / 493.7 MB, free: 5.852 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.4894, allocations: 38.05 kB / 493.8 MB, free: 5.82 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002234/0.4896, allocations: 7.984 kB / 493.8 MB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006451/0.4903, allocations: 421.8 kB / 494.2 MB, free: 5.379 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.4905, allocations: 0.6926 MB / 494.9 MB, free: 4.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 9.129e-05/0.4906, allocations: 16.3 kB / 494.9 MB, free: 4.645 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.602e-05/0.4906, allocations: 21.92 kB / 494.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.4906, allocations: 0 / 494.9 MB, free: 4.629 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01992/0.5106, allocations: 2.274 MB / 497.2 MB, free: 2.395 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001278/0.5107, allocations: 226.9 kB / 497.4 MB, free: 2.152 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_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: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_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: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_CombiTable1Ds_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test25_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_CombiTable1Ds_Test25_usertab_functions.o' failed make: *** [ModelicaTest_3_2_1_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.o] Error 1