Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable2D.Test18_usertab.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test18_usertab,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.009916/0.009916, allocations: 176.5 kB / 15.12 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.049/2.049, allocations: 194.5 MB / 210.3 MB, free: 7.621 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002003/0.002002, allocations: 120.6 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2773/0.2773, allocations: 40.01 MB / 340.8 MB, free: 11.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006331/0.0006331, allocations: 11.84 kB / 406.3 MB, free: 51.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1034, allocations: 54.87 MB / 461.1 MB, free: 3.195 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.2492, allocations: 81.13 MB / 0.5296 GB, free: 1.957 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002884/0.2496, allocations: 71.97 kB / 0.5296 GB, free: 1.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3166/0.5662, allocations: 2.916 MB / 0.5325 GB, free: 80.88 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.5663, allocations: 4 kB / 0.5325 GB, free: 80.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.397e-05/0.5663, allocations: 0.6875 kB / 0.5325 GB, free: 80.87 MB / 378.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.0007092/0.567, allocations: 442.9 kB / 0.5329 GB, free: 80.46 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5671, allocations: 7.969 kB / 0.5329 GB, free: 80.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.618e-05/0.5671, allocations: 36.33 kB / 0.5329 GB, free: 80.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.618e-05/0.5672, allocations: 16.83 kB / 0.533 GB, free: 80.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002318/0.5674, allocations: 181.2 kB / 0.5331 GB, free: 80.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.5675, allocations: 5.656 kB / 0.5331 GB, free: 80.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.5675, allocations: 2.031 kB / 0.5331 GB, free: 80.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.568, allocations: 107.5 kB / 0.5332 GB, free: 80.17 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.568, allocations: 0 / 0.5332 GB, free: 80.17 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.568, allocations: 2.094 kB / 0.5332 GB, free: 80.17 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.568, allocations: 5.016 kB / 0.5332 GB, free: 80.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005853/0.5686, allocations: 99.72 kB / 0.5333 GB, free: 80.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.5692, allocations: 294.6 kB / 0.5336 GB, free: 79.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003934/0.5696, allocations: 85.12 kB / 0.5337 GB, free: 79.87 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.5696, allocations: 1.031 kB / 0.5337 GB, free: 79.87 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.5697, allocations: 36.42 kB / 0.5337 GB, free: 79.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.054e-06/0.5697, allocations: 4 kB / 0.5337 GB, free: 79.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.002803/0.5725, allocations: 471.6 kB / 0.5342 GB, free: 79.76 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.5726, allocations: 79.2 kB / 0.5343 GB, free: 79.66 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.5727, allocations: 114.3 kB / 0.5344 GB, free: 79.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.5727, allocations: 31.08 kB / 0.5344 GB, free: 79.54 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.5728, allocations: 89.36 kB / 0.5345 GB, free: 79.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.905e-05/0.5729, allocations: 35.89 kB / 0.5345 GB, free: 79.44 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.242e-05/0.5729, allocations: 2.156 kB / 0.5345 GB, free: 79.44 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.542e-05/0.573, allocations: 320 kB / 0.5348 GB, free: 79.12 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005525/0.5735, allocations: 91.45 kB / 0.5349 GB, free: 79.12 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.5741, allocations: 109 kB / 0.535 GB, free: 79.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005295/0.5746, allocations: 119.2 kB / 0.5351 GB, free: 79.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.5746, allocations: 3.938 kB / 0.5351 GB, free: 79.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.001158/0.5758, allocations: 262.8 kB / 0.5354 GB, free: 78.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.5759, allocations: 31.23 kB / 0.5354 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.5759, allocations: 0 / 0.5354 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.5759, allocations: 2.719 kB / 0.5354 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003716/0.5763, allocations: 51.2 kB / 0.5355 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.5763, allocations: 0 / 0.5355 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002873/0.5766, allocations: 41.55 kB / 0.5355 GB, free: 78.95 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.5766, allocations: 4.125 kB / 0.5355 GB, free: 78.95 MB / 378.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 0.0001015/0.5768, allocations: 113.3 kB / 0.5356 GB, free: 78.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.777e-05/0.5768, allocations: 11.23 kB / 0.5356 GB, free: 78.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001248/0.5781, allocations: 246.3 kB / 0.5359 GB, free: 78.77 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.5781, allocations: 1.438 kB / 0.5359 GB, free: 78.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5781, allocations: 1.562 kB / 0.5359 GB, free: 78.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.5781, allocations: 0 / 0.5359 GB, free: 78.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001502/0.5797, allocations: 0.5073 MB / 0.5364 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/0.5797, allocations: 5.562 kB / 0.5364 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003604/0.5801, allocations: 43.86 kB / 0.5364 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.5801, allocations: 1.438 kB / 0.5364 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.5801, allocations: 3.5 kB / 0.5364 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.5801, allocations: 1.188 kB / 0.5364 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5801, allocations: 4 kB / 0.5364 GB, free: 78.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.5814, allocations: 321.7 kB / 0.5367 GB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.5815, allocations: 89.59 kB / 0.5368 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.779e-05/0.5816, allocations: 2.328 kB / 0.5368 GB, free: 78.22 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003297/0.5819, allocations: 41.03 kB / 0.5369 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.582, allocations: 10.12 kB / 0.5369 GB, free: 78.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.582, allocations: 2.422 kB / 0.5369 GB, free: 78.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001061/0.5822, allocations: 102 kB / 0.537 GB, free: 78.14 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5822, allocations: 0 / 0.537 GB, free: 78.14 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004024/0.5826, allocations: 37.17 kB / 0.537 GB, free: 78.13 MB / 378.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.002546/0.5852, allocations: 1.139 MB / 0.5381 GB, free: 77.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001337/0.5865, allocations: 254.4 kB / 0.5384 GB, free: 77.25 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.381e-06/0.5866, allocations: 0 / 0.5384 GB, free: 77.25 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005857/0.5872, allocations: 101.6 kB / 0.5385 GB, free: 77.25 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.5875, allocations: 15.08 kB / 0.5385 GB, free: 77.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009414/0.5885, allocations: 430.2 kB / 0.5389 GB, free: 76.88 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001577/0.5887, allocations: 0.6974 MB / 0.5396 GB, free: 76.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001368/0.5888, allocations: 16.77 kB / 0.5396 GB, free: 76.17 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.998e-05/0.5889, allocations: 23.62 kB / 0.5396 GB, free: 76.16 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.589, allocations: 0 / 0.5396 GB, free: 76.16 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03165/0.6206, allocations: 2.655 MB / 0.5422 GB, free: 75.77 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/0.6209, allocations: 220.5 kB / 0.5424 GB, free: 75.53 MB / 378.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.2+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab.c:7: In file included from ./ModelicaTest_3_2_2_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.2+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_2_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_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_includes.h:4: /var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+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_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable2D_Test18_usertab_functions.o] Error 1