Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1Ds.Test25_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.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_2_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.2+maint.om/package.mo): time 0.0131/0.0131, allocations: 173.8 kB / 15.12 MB, free: 5.93 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 1.882/1.882, allocations: 194.5 MB / 210.3 MB, free: 7.605 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.002057/0.002057, 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.244/0.244, allocations: 40 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004832/0.0004831, allocations: 14.75 kB / 406.3 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09823/0.09875, allocations: 54.88 MB / 461.1 MB, free: 3.211 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.2456, allocations: 81.09 MB / 0.5295 GB, free: 2.008 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/0.2459, allocations: 75.95 kB / 0.5296 GB, free: 1.934 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3274/0.5733, allocations: 2.947 MB / 0.5325 GB, free: 82.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5734, allocations: 0 / 0.5325 GB, free: 82.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.5734, allocations: 2.312 kB / 0.5325 GB, free: 82.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004845/0.5739, allocations: 410.6 kB / 0.5329 GB, free: 82.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.574, allocations: 10.03 kB / 0.5329 GB, free: 82.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.366e-05/0.574, allocations: 35.62 kB / 0.5329 GB, free: 82.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.315e-05/0.5741, allocations: 14.86 kB / 0.5329 GB, free: 82.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002334/0.5743, allocations: 189.1 kB / 0.5331 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5744, allocations: 3.375 kB / 0.5331 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.5744, allocations: 4.281 kB / 0.5331 GB, free: 81.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002364/0.5746, allocations: 75.67 kB / 0.5332 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.419e-05/0.5747, allocations: 0 / 0.5332 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.496e-05/0.5747, allocations: 3.531 kB / 0.5332 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.938e-06/0.5747, allocations: 3.953 kB / 0.5332 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002155/0.5749, allocations: 39.91 kB / 0.5332 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004531/0.5754, allocations: 289.7 kB / 0.5335 GB, free: 81.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.5756, allocations: 64.86 kB / 0.5336 GB, free: 81.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.5757, allocations: 5.562 kB / 0.5336 GB, free: 81.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.5757, allocations: 32.55 kB / 0.5336 GB, free: 81.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.144e-06/0.5757, allocations: 4 kB / 0.5336 GB, free: 81.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0009342/0.5767, allocations: 187.8 kB / 0.5338 GB, free: 81.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.359e-05/0.5767, allocations: 86.17 kB / 0.5339 GB, free: 81.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.5769, allocations: 120.1 kB / 0.534 GB, free: 81.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.587e-05/0.5769, allocations: 25.7 kB / 0.534 GB, free: 81.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.869e-05/0.5769, allocations: 94.81 kB / 0.5341 GB, free: 81.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.779e-05/0.577, allocations: 18.27 kB / 0.5341 GB, free: 81.16 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.857e-06/0.577, allocations: 2.5 kB / 0.5341 GB, free: 81.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.498e-05/0.5771, allocations: 318.9 kB / 0.5344 GB, free: 80.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.5772, allocations: 34.53 kB / 0.5345 GB, free: 80.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.5774, allocations: 44.48 kB / 0.5345 GB, free: 80.82 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.5776, allocations: 63 kB / 0.5346 GB, free: 80.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5776, allocations: 0 / 0.5346 GB, free: 80.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004274/0.578, allocations: 143.5 kB / 0.5347 GB, free: 80.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/0.5781, allocations: 32.12 kB / 0.5347 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.5781, allocations: 7.312 kB / 0.5347 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.5781, allocations: 0 / 0.5347 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001637/0.5783, allocations: 17.73 kB / 0.5348 GB, free: 80.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5783, allocations: 7.531 kB / 0.5348 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.242e-05/0.5784, allocations: 8.344 kB / 0.5348 GB, free: 80.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.5785, allocations: 3.938 kB / 0.5348 GB, free: 80.68 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 (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 9.718e-05/0.5786, allocations: 120.2 kB / 0.5349 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.361e-05/0.5786, allocations: 8.219 kB / 0.5349 GB, free: 80.57 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/0.5791, allocations: 124.5 kB / 0.535 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/0.5791, allocations: 6.438 kB / 0.535 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5791, allocations: 0.6094 kB / 0.535 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.5791, allocations: 1.094 kB / 0.535 GB, free: 80.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.5798, allocations: 382.6 kB / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.5798, allocations: 4.938 kB / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.58, allocations: 16.78 kB / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.58, allocations: 4.984 kB / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.58, allocations: 5.266 kB / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.58, allocations: 1.031 kB / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.58, allocations: 0 / 0.5354 GB, free: 80.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.5804, allocations: 204.1 kB / 0.5356 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.266e-05/0.5805, allocations: 87.97 kB / 0.5357 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.602e-05/0.5805, allocations: 5.969 kB / 0.5357 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5806, allocations: 7.344 kB / 0.5357 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.5807, allocations: 4.188 kB / 0.5357 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.5807, allocations: 11.84 kB / 0.5357 GB, free: 79.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.014e-05/0.5808, allocations: 105.4 kB / 0.5358 GB, free: 79.88 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.3e-07/0.5808, allocations: 0 / 0.5358 GB, free: 79.88 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003961/0.5812, allocations: 32.33 kB / 0.5359 GB, free: 79.88 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 (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.001533/0.5828, allocations: 1.011 MB / 0.5368 GB, free: 79.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000459/0.5833, allocations: 126.7 kB / 0.537 GB, free: 79.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.5833, allocations: 0 / 0.537 GB, free: 79.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001511/0.5834, allocations: 40.08 kB / 0.537 GB, free: 79.03 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.5837, allocations: 19.95 kB / 0.537 GB, free: 79.02 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007766/0.5845, allocations: 412.5 kB / 0.5374 GB, free: 78.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.5847, allocations: 0.697 MB / 0.5381 GB, free: 77.95 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001128/0.5848, allocations: 20 kB / 0.5381 GB, free: 77.95 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.691e-05/0.5849, allocations: 23.47 kB / 0.5381 GB, free: 77.94 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.5849, allocations: 0 / 0.5381 GB, free: 77.94 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02488/0.6098, allocations: 2.267 MB / 0.5404 GB, free: 77.57 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002758/0.6101, allocations: 222.6 kB / 0.5406 GB, free: 77.33 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_CombiTable1Ds_Test25_usertab.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_2_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.2+maint.om/Resources/Data/Tables" -c -o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_2_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_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_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_CombiTable1Ds_Test25_usertab_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab_functions.o] Error 1