Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTable1D.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.CombiTable1D.Test25_usertab,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_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.009964/0.009963, allocations: 175.5 kB / 15.12 MB, free: 5.934 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.992/1.992, allocations: 194.5 MB / 210.3 MB, free: 7.809 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.001982/0.001982, allocations: 116.7 kB / 255.6 MB, free: 10.43 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.2512/0.2512, allocations: 40.01 MB / 340.8 MB, free: 11.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000478/0.0004781, allocations: 12.69 kB / 406.3 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09948/0.09999, allocations: 54.87 MB / 461.1 MB, free: 3.223 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.2446, allocations: 81.09 MB / 0.5295 GB, free: 2.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.245, allocations: 75.91 kB / 0.5296 GB, free: 1.941 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3068/0.5517, allocations: 2.777 MB / 0.5323 GB, free: 82.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.552e-06/0.5518, allocations: 0.8438 kB / 0.5323 GB, free: 82.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.5518, allocations: 3.5 kB / 0.5323 GB, free: 82.29 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000448/0.5523, allocations: 403.3 kB / 0.5327 GB, free: 81.9 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.5523, allocations: 9.844 kB / 0.5327 GB, free: 81.9 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.5524, allocations: 37.78 kB / 0.5327 GB, free: 81.86 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.827e-05/0.5524, allocations: 12.42 kB / 0.5328 GB, free: 81.85 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002039/0.5526, allocations: 179 kB / 0.5329 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.5527, allocations: 4.078 kB / 0.5329 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.5527, allocations: 3.688 kB / 0.5329 GB, free: 81.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002252/0.5529, allocations: 68.83 kB / 0.533 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.553, allocations: 3.172 kB / 0.533 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.553, allocations: 6.562 kB / 0.533 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.353e-06/0.553, allocations: 6.672 kB / 0.533 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001608/0.5532, allocations: 31.27 kB / 0.533 GB, free: 81.61 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004405/0.5536, allocations: 290.7 kB / 0.5333 GB, free: 81.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.5538, allocations: 44.61 kB / 0.5334 GB, free: 81.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.5538, allocations: 1.641 kB / 0.5334 GB, free: 81.31 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/0.5539, allocations: 33.06 kB / 0.5334 GB, free: 81.27 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.5539, allocations: 1.781 kB / 0.5334 GB, free: 81.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0008884/0.5548, allocations: 178.9 kB / 0.5336 GB, free: 81.22 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.5548, allocations: 81.05 kB / 0.5336 GB, free: 81.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.555, allocations: 118.7 kB / 0.5338 GB, free: 81.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.424e-05/0.555, allocations: 25.7 kB / 0.5338 GB, free: 81 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.784e-05/0.555, allocations: 89.25 kB / 0.5339 GB, free: 80.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.5551, allocations: 18.56 kB / 0.5339 GB, free: 80.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.5551, allocations: 0 / 0.5339 GB, free: 80.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.5552, allocations: 319.1 kB / 0.5342 GB, free: 80.6 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001389/0.5553, allocations: 27.88 kB / 0.5342 GB, free: 80.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000156/0.5555, allocations: 46.48 kB / 0.5343 GB, free: 80.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.5556, allocations: 62.61 kB / 0.5343 GB, free: 80.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.5557, allocations: 0 / 0.5343 GB, free: 80.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000381/0.556, allocations: 133.4 kB / 0.5344 GB, free: 80.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.567e-05/0.5561, allocations: 34.53 kB / 0.5345 GB, free: 80.45 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.5561, allocations: 5.328 kB / 0.5345 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.5561, allocations: 2.641 kB / 0.5345 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001484/0.5563, allocations: 15.92 kB / 0.5345 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.5563, allocations: 0.9688 kB / 0.5345 GB, free: 80.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.118e-05/0.5564, allocations: 20.22 kB / 0.5345 GB, free: 80.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.5564, allocations: 2.875 kB / 0.5345 GB, free: 80.43 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 (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 8.857e-05/0.5565, allocations: 118.7 kB / 0.5346 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.5566, allocations: 2.719 kB / 0.5346 GB, free: 80.32 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.557, allocations: 116.8 kB / 0.5348 GB, free: 80.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5571, allocations: 9.172 kB / 0.5348 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.95e-06/0.5571, allocations: 0.5625 kB / 0.5348 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5571, allocations: 1.906 kB / 0.5348 GB, free: 80.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000607/0.5577, allocations: 367.5 kB / 0.5351 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.5577, allocations: 1.344 kB / 0.5351 GB, free: 79.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000118/0.5579, allocations: 24.27 kB / 0.5351 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.5579, allocations: 5.016 kB / 0.5351 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.5579, allocations: 1.094 kB / 0.5351 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.5579, allocations: 0.7969 kB / 0.5351 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.5579, allocations: 2.812 kB / 0.5351 GB, free: 79.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.5583, allocations: 193.6 kB / 0.5353 GB, free: 79.83 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.828e-05/0.5583, allocations: 86.78 kB / 0.5354 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.5584, allocations: 6.859 kB / 0.5354 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.5585, allocations: 8.875 kB / 0.5354 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.985e-05/0.5586, allocations: 8.688 kB / 0.5354 GB, free: 79.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.5586, allocations: 3.062 kB / 0.5354 GB, free: 79.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.775e-05/0.5587, allocations: 94.55 kB / 0.5355 GB, free: 79.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.5587, allocations: 4 kB / 0.5355 GB, free: 79.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003702/0.5591, allocations: 33.98 kB / 0.5356 GB, free: 79.64 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 (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.001505/0.5606, allocations: 1.009 MB / 0.5366 GB, free: 78.84 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004241/0.561, allocations: 128 kB / 0.5367 GB, free: 78.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.117e-06/0.5611, allocations: 3.938 kB / 0.5367 GB, free: 78.77 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.5612, allocations: 37.34 kB / 0.5367 GB, free: 78.76 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.5615, allocations: 8.703 kB / 0.5367 GB, free: 78.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.5623, allocations: 401.7 kB / 0.5371 GB, free: 78.4 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002003/0.5626, allocations: 0.6911 MB / 0.5378 GB, free: 77.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001272/0.5627, allocations: 25.09 kB / 0.5378 GB, free: 77.69 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.087e-05/0.5628, allocations: 21.31 kB / 0.5378 GB, free: 77.68 MB / 378.7 MB Notification: Performance of SimCode: time 1.492e-06/0.5628, allocations: 7.656 kB / 0.5378 GB, free: 77.68 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02478/0.5876, allocations: 2.193 MB / 0.54 GB, free: 77.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002008/0.5879, allocations: 219.1 kB / 0.5402 GB, free: 77.08 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_CombiTable1D_Test25_usertab.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab.c:7: In file included from ./ModelicaTest_3_2_2_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: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_CombiTable1D_Test25_usertab_functions.o ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c In file included from ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.c:2: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test25_usertab_functions.c:7: In file included from ./ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_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_CombiTable1D_Test25_usertab_functions.o' failed make: *** [ModelicaTest_3_2_2_ModelicaTest_Tables_CombiTable1D_Test25_usertab_functions.o] Error 1